Hi,
To boot the TMS320F28388D from different sectors of flash, I know that I should change the OTP and EMU registers and of course I did it. I loaded two different applications in two different sectors of flash (Sector 0 and Sector 8) and I could successfully boot the DSP from these two sectors using one GPIO which has been assigned to a BSMP.
My question here is that, in the case of corrupted application written on the designated boot sector (e.g. Sector 0), can the DSP automatically change its own boot entry point to that of the next entry point (e.g. Sector 8) without changing the GPIOs or any hardware changes?
Here is the scenario that I want to implement:
- I build Application 1 with entry point of sector 0.
- I build Application 2 with entry point of sector 8.
- I copy the hex version of the Application 1 and 2 in the corresponding sectors using Flash API.
- I program the OTP register to include boot entry points on sectors 0 and 8.
- I set the GPIOs so that DSP boots from sector 0.
- If the Application 1 (on sector 0) is corrupted, would (is there a way that) the DSP automatically switches to boot from Sector 8 instead?
Best,
Alex