Part Number: TMS320F28069
Hello from Ubstadt, Germany,
currently, I'm developing a bootloader which, after doing its job, shall
branch to the actual customer application.
Both the boot loader and the application initially shall be downloaded by
the manufacturer, using JTAG.
Later on, the customer shall be able to install updates on his own,
using the boot loader which reads the application update from an SD card.
Both the bootloader and the application are separately compiled and built, so that
both come with their own startup code as well as their own vector table, initialization etc. ...
The bootloader shall reside at flash start address (0x003F 7FF8), so is reached first
when the µC starts up in the "run to flash" mode.
The application code shall start from the first flash sector which is not used by
the bootloader.
If no SD card is recognized by the bootloader, or the card is invalid,
the bootloader shall branch directly to the appl.
If an SD is present and functional the bootloader first shall read and flash
the new application, then immediately shall branch to it.
Can somebody tell me how (i.e. in detail) such a "long branch" can be achieved properly?
Thanks and best regards
Goetz