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.

TMS320F28388D: Bootloader + Application1 + Application2

Part Number: TMS320F28388D

Tool/software:

Hello,

i have programmed a custom bootloader app (start flash address 0x80000) <=> for that i have programmed OTP via DCSM (5.4.3.1 Zero Boot Mode Select Pins) and startaddress 0x80000.

Memory dump:

0x78008: FF FF 1F 03 FF FF FF FF 7F FF FF FF FF FF FF

In the bootloader application i read a defined memory area where i store update data <=> which application is active app1 or app2.

After that i set the entryaddress to 0x88000 or 0xA8000 and then do the codeline "((void (*)(void))entryAddressApp)();

Software actual app1/2: init => spi sd card write logging => swtich active app => end

Test debugger bootloader app:

start debugger bootloader app => read stored data (active app1) => start app1 0x88000  => change active app to app2 in the stored data (via Fapi) (end) 

start debugger bootloader app => read stored data (active app2) => start ap2p 0xA8000 => change active app to app1 in the stored data (via Fapi) (end)

Test without debugger. Power on hardware => app1 start => power off => power on => app1 start  

Any help?

Bset regards Daniel