For one of my project I am looking for a CAN Boot loader example. Where can I find the same? Also whether LMflash programmer support this with any tool?
Regards,
Ramesh
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.
For one of my project I am looking for a CAN Boot loader example. Where can I find the same? Also whether LMflash programmer support this with any tool?
Regards,
Ramesh
Hello Ramesh,
There is CAN boot loader capability as part of our Flash boot loader. You can use the Flash boot loader with the boot_serial project, and just change the bl_config.h file to use CAN over UART (a number of lines have to be commented/uncommented).
You can read details about the CAN boot loader in the Boot Loader User's Guide which is in the docs folder and is named SW-TM4C-BOOTLDR-UG-2.1.4.178.pdf
LM Flash Programmer does not support CAN boot loader operation.
Hi Ralph,
Thanks for the info. Since LM Flash programmer does not support, we need to write our own host application right?
Also I noticed the following in User guide. Could you give more details?
CAN_UART_BRIDGE Enables the UART to CAN bridging for use when the CAN
port is selected for communicating with the boot loader.
Regards,
Ramesh
Hello Ramesh,
The CAN_UART_BRIDGE does not look like a feature that is well explored. I found the following threads from our other experts: https://e2e.ti.com/support/microcontrollers/other/f/908/p/678509/2498842#2498842
And from our CAN expert: https://e2e.ti.com/support/microcontrollers/other/f/908/p/754865/2823862#2823862
I would recommend following Charles' advice and forego the CAN_UART_BRIDGE given that it has been confirmed it won't work with LM Flash Programmer. This is something we may be looking into once more now that we are closing on a TivaWare update, but I am not sure exactly when we'd have that figured out.
Regarding a tool or utility, we don't have one for the CAN Boot Loader in TivaWare right now. Perhaps if the CAN_UART_BRIDGE is figured out then something like sflash could be used... another area we can look into perhaps.