This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137: How much time is needed to burn the flash with data of 3MB ( Received over the CAN communication for TI reference example ) while using the Hardware adapter of National Instruments .

Part Number: TMS570LS3137

I understand the TMS570LS 3137 CAN Boot loader example is not fully optimized 

I have transferred file size of 36 kilo Bytes (.bin File) in a time of 34 seconds ( I am using PEAK CAN adapter at 125 Kbps baud rate ).

So in theory 3MB (3,000 kb) it will take 2822 seconds or 47 Minutes ( +/- 10 % ) .

How much time is needed to burn the flash with data of 3MB ( Received over the CAN communication for TI reference example ) while using the Hardware adapter of National Instruments .
From the datasheets, there are 2 banks (2x 1,5 MBs), the erasing of one bank takes 4 secs, so in total 8 secs for both banks.

Writing into the FLASH takes about 32 seconds for 3 MB but only 8 bytes are received over CAN frame.

There are other constrains as the FLASH wait time and CAN bus at 125 Kbps speed (current example sends 8 bytes over CAN frame)  .

  • Hello Chandre,

    The example code is not optimized for speed. It programs the flash for every received 8 bytes data. It initializes the flash bank and activate the sectors before every 8-bytes write.

    You can modify the code to program the data every 64bytes or 1kbytes.