Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing CAN baud rate during a Diagnostic session (Automotive Toolkit)

I'm using the Automotive toolkit and LabView 15 communicating to a ECU. Current baud rate for the TCU communications is 500Kbd but the ECU can go to speeds of 1.6Mbs. 500 is required to start the communicaitons but can be switched via a CAN message to the ECU. How do I with the toolkit change the CAN0 device baud rate to the new value without loosing the CAN diag session? or can you stop sessions and start a new one with the ECU still in diagnostices without it leaving the sesssion.

Bill Lewis
0 Kudos
Message 1 of 3
(4,729 Views)

I need to do this because i have 2MB of data to dowload from the EEprom. it take for ever with 500Kbd

Bill Lewis
0 Kudos
Message 2 of 3
(4,724 Views)

Hi bill_lewis,

 

Open/Close Diagnostics.vi do not actually do any communication (for ISO TP), the create and setup the underlying XNET sessions required for communication. As such, we can call Close then Open Diagnostics with a different baud rate.

 

For example, assume we Open Diagnostics with a baud rate of X, setup the ECU, and then Close Diagnostics. We can then call Open Diagnostics again with baud rate Y and should then be able to proceed with the memory dump at the customer desires

 

------------------

Aaron F.

Applications Engineering

National Instruments

0 Kudos
Message 3 of 3
(4,654 Views)