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.

TMS320F28027F-Q1: Jump into the Bootloader sequenze from a running application and downlload a new appplication.

Part Number: TMS320F28027F-Q1
Other Parts Discussed in Thread: TMS320F28027F, C2000WARE

Tool/software:

Hello,
I am using the TMS320F28027F, and I would now like to download software via the UART interface from a running application. Normally, you would use the external pins to set the boot mode (here UART) and execute a reset so that the CPU goes into boot mode. Can I initiate a bootload from the serial interface from a running application (is it even possible without setting an external boot vector)?

best regards 

Thomas

  • Hi Thomas,

    You can't bypass the external boot pins (on newer devices it's possible), but have you considered implementing an LFU with reset with a dual-image application?  

    You can keep a factory image programmed image as a backup and an active image that is overwritten during LFU. During that time, ISRs/Flash API/code that waits in loop for the Flash APIs to execute (this is part of the LFU flash kernel) will need to run from RAM. Once the image is updated successfully, a device reset can activate the new image. If it fails for some reason, the factory image can be activated.

    A portion of the Flash (typically 1-2 sectors) will need to be allocated for the LFU Flash kernel. This kernel will also need to contain logic that selects whether to branch to the factory image or the latest image.

    You can refer to the F2802x flash kernel in your C2000ware root at: device_support\f2802x\examples\structs\f28027_flash_kernel

    Best,

    Matt