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.

TMS320F28P659DK-Q1: Custom bootloader and jump to application

Part Number: TMS320F28P659DK-Q1


Tool/software:

Hi,

I am developing the custom bootloader for  TMS320F28P659DK-Q1 in which the CAN A Peripheral  is enabled and others peripherals are disabled , even MCAN is disabled. 

So through CAN i will get all the application hex data and store it in the seperate flash bank area. After receiving all data's and checksum verification , how i can reset and jump to the

specific memory bank location?

In this case two .cmd file required one for bootloader and other for application. So whether .asm file also to be created for both of these?

If there is any example, can you provide me the path in C2000 ware installation directory.

  •  Hello,

    So whether .asm file also to be created for both of these?

    Are you referring to the codestartbranch.asm file? No, it does not need to be created for both.

    After receiving all data's and checksum verification , how i can reset and jump to the

    specific memory bank location?

    There are several methods to accomplish this. One way is to use the SysCtl_resetDevice() function in driverlib (sysctrl.h) to perform a watchdog reset. Then, you can configure the boot configuration registers in the OTP to have the device branch to a specific flash address on reset. If you want to boot the device to 0x80000, then programming the OTP is not necessary.

    Please see Section 4.2.1 in this bootloading user's guide for more details on how to configure the boot configuration registers. Please note the section is specific to F280015x devices, but the general flow can be applied to F28P65x easily.

    Best,

    Matt

  • Hi,

    As it's been a month without a reply, I will assume the issue is resolved and close this thread. Please open a new thread if you have further questions.

    Best,

    Matt