Hello All,
Looking at the example code in directory:
/msp430/MSP430ware_1_97_00_47/boot_loader/Customizing_the_BSL/src/5xx_6xx_Example_BSL_Source/CCS_v5.5.0_BSL-5438A/BSL430_Low_Level_Init.asm
The listing is below:
BSL_Protect: CLR RET_low ;lock (keep JTAGLOCK_KEY state) BIS #SYSBSLPE+SYSBSLSIZE0+SYSBSLSIZE1 , &SYSBSLC ; protects BSL ;BIC #BSL_REQ_JTAG_OPEN, RET_low ;lock (keep JTAGLOCK_KEY state) ;BIS #BSL_REQ_JTAG_OPEN, RET_low ;make sure it remains open for debugging bit #SYSBSLIND,&SYSCTL ; check for BSL start request jz BCC2BSL BIS.W #BSL_REQ_APP_CALL, RET_low BCC2BSL RETA .sect ".BSLSIG";
How does the compiler know to set the Reset Vector to this address? My Linker allocates the BSLSIGN:
BSLSIG : origin = 0x17F0, length = 0x000C
So does the compiler automatically look for label called BSL_Protect?