SLAA450G April 2010 – April 2020
For reference purposes, a blink LED example is provided.
This program, as well as any other user application, can be downloaded and debugged without modifying the BSL.
There is no interaction between the BSL and the user application, except for the program start position. This is because the BSL jumps to this position and assumes that it is code. The user application fails to start correctly if, for example, data is stored at this location. The start position depends on the device and programming language (see Table 6).
CCS | IAR |
---|---|
Assembly | |
User Application start right after label | |
.text | RSEG CODE |
Example code | |
mainApp_CCS.asm | mainApp_IAR .asm |
C | |
User Application starts with main() function. Compiler and linker take care of location, as the actual main start position depends on cinit() function. | |
Example Code | |
mainApp.c |