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.

TMS320F280025C-Q1: Cleaning after custom bootloader & before jumping to application

Part Number: TMS320F280025C-Q1
Other Parts Discussed in Thread: C2000WARE

Hello support team,

I have a custom bootloader SW at flash sector 0-2.

After doing some tasks I want to jump to an application SW at flash sector 3-7 (same BANK0) without RESET

Should I simply jump to the code BEGIN of application SW

asm("    LB 0x83000");

like the example in C2000Ware_3_04_00_00\driverlib\f28004x\examples\flash\flashapi_ex5_lfu_no_reset.c:

...
// Turn off LED 1
CPUTimer_disableInterrupt(CPUTIMER0_BASE);
GPIO_writePin(DEVICE_GPIO_PIN_LED1, 1);

asm("    NOP");
asm("    NOP");
asm("    NOP");
asm("    NOP");

// Jump to Bank 1 Image
asm("    LB 0x9EFF0");

or before the jump, should I also clean the used RAM of bootloader SW, reset interrupt table, set up stack pointer or some other cleaning tasks?

What do the 4 asm("  NOP") command before the jump in the example do?

Regards,

Quy