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.

TMS320F280041: Live firmware device update

Part Number: TMS320F280041
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
Hi,
I am trying to implement Live firmware update for TMS320F280041 using SCIB port as my SCIA port is already used by other peripherals. I see sci kernel project (flashapi_ex2_sci_kernel) uses SCIA port for live firmware update. As per My initial analysis if i re-configure sci kernel project to use SCIB port instead of SCIA it should work. Can you please let me know any other changes to be made?

I was confused since TRM section 4.6.9 and table 4-28 points to only SCIA port is there any hardware pin changes also required to be made to make sci kernel to work for SCIB port? Can you please shed some light on the same?
Thanks and Regards,
Suhail.B
  • Hello,

    Thank you for your question! To load the firmware through the boot configuration pins, the SCI port must be SCIA. This is because the firmware load occurs through the SCIA port as you noted in the TRM section 4.6.9. Given this, would it be possible to utilize the GPIO Muxed Pins table (Table 8-5 in the TRM) to re-route the existing peripherals to other pins? Our Sysconfig Pinmux tool (bundled in C2000Ware) may be able to assist in finding the best mux options.

    Also, here are some additional guides regarding this to assist in further debug:

    Live Firmware Update with Device Reset on C2000 MCUs: https://www.ti.com/lit/ug/spruiu8/spruiu8.pdf

    C2000 Software Controlled Firmware Update Process: https://www.ti.com/lit/an/spracn1/spracn1.pdf

    Regards,

    Vince

  • Hi Vince,

    Thanks for your reply. I am totally new to this hence I could not understand about GPIO Muxed pins table. I would like to know whether live firmware update will work for SCIB port? what changes of pin configuration i need to make? one example code would help me in understanding. Also can you please shed some light on what is flash boot mode and how it is configured for SCIA port?

    Thanks and Regards,

    Suhail.B

  • Hi Vince,

    Also i wanted to know can live firmware update be implemented using Modbus protocol?

    Thanks and Regards,

    Suhail.B

  • Hello,

    Thanks for your follow up! Regarding the live firmware update working for the SCIB port, unfortunately this is not possible. as the live firmware is loaded through the SCIA port. Please see the note below table 4-4 in the F28004x TRM regarding the peripheral boot modes. However, if you are able to move your other peripheral to use SCIB instead, and then use the SCIA for firmware loading only, then you can use SCIA to properly load the firmware! Please let me know if you have any trouble with the Sysconfig utility to assist in doing this development!

    For the second question regarding the Modbus protocol, please see the following thread regarding C2000 devices and Modbus protocol:

    https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/859959

    Let me know if I was able to answer your questions!

    Regards,

    Vince

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

    If I was able to answer your question, please press the green "Verified" button below, thanks!

  • Hi Vince,

    Thanks for your reply. i am working on live firmware update using SCI-B port. will let you know if i get any luck.

    Thanks and Regards,

    Suhail.B