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.

TMS320F28069: CAN boot loader PC host application

Part Number: TMS320F28069
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Hi,

I have been trying to implement a CAN boot loader (the one provided by TI). I followed multiple e2e community posts related to the topic and implemented a bootloader similar to the one in serial flash kernel i.e. the one which is available in ControlSuite/c2000Ware. The only difference is I have decided to put my Bootloader in FLASH A and the main application in FLASH B(with two different projects and separate codestartbranch,asm) .

But in order to test the bootloader, I would need a PC host application (just like one supplied for serial programming utility) . Is there any application available in controlSuite or one supplied by TI which I am not aware of. If not are there any third party software which you can recommend .

And lastly can I modify the serial programmer flash utility stock TI application, using visual studio to make it work via CAN instead of SCI ?If yes could is there any document or any e2e post which can help me through it ?

Thank you

Rajesh 

  • Hi Rajesh, 

    The PC Application: serial_flash_programmer described in Section 6.2 of this document:  http://www.ti.com/lit/pdf/sprabv4  is what we have available.  It looks like you are already familiar with that.  We do not have one available in controlSuite.  

    There is no document that has been written to help specifically with what you are trying to do, but sure you can modify the utility provided in C2000Ware.  The main thing is to define the requirements for the host PC side, so that it is compatible with the command/response in your target's Bootloader in Flash A.  

    One suggestion...There are several USB to CAN interfaces available in the market.  You could use a USB to CAN interface from National Instruments for example and use LabView to create your host application to communicate with you target.    

    Hope this helps! 

    Cheers!

    Krishna 

  • Krishna,

    Thank you for your response. Certainly , LabView can help.

    But do you think it would be easier to use a USB to CAN adapter and write a script(C or python) to parse the binary(or hex) data,build and transmit packets using hyperterminal? Or do you think It would rather be easy modifying the Serial Flash utility which comes with c2000Ware using Visual Studio ?

    Rajesh.

  • Hi Rajesh, 

    It should be easier to modify the Serial Flash utility which comes with c2000Ware using Visual Studio.  

    On a side note, you will need to get the USB to CAN adapter driver from NI, if that is the route you choose.  

    I suggest we close this issue.  Feel free to re-open or submit another one if you have further questions. 

    Cheers!

    Krishna