Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

CC2540: Bootloader cc254x_f256_sbl.xcl does not compile with IAR 10.40

Part Number: CC2540

Tool/software:

BLE-CC254x-1.5.2.0

Update 6/19/2024 - When I comment out these lines, the error went away. Question - Why would these codes cause linking error?

//-Z(CODE)ALIGNED_CODE|2=_CODE_BEG-_CODE_END,_BANK1_BEG-_BANK1_END,_BANK2_BEG-_BANK2_END,\
//_BANK3_BEG-_BANK3_END,_BANK4_BEG-_BANK4_END,_BANK5_BEG-_BANK5_END,_BANK6_BEG-_BANK6_END,\
//_BANK7_BEG-_BANK7_END

6/18/2024

I am seeing following error during linking when I use this linker configuration file: cc254x_f256_sbl.xcl. 

Linking

Tool Internal Error:

Internal Error: In function: unknown

Diagnostic: unexpected exception

P0:1 P1:0

Error when running linker.

I don't see this error when I compile using IAR10.30.

I also don't see error when linking my project with other XCL file, for example ti_51ew_cc2540b.xcl.

Any idea how to fix this? Thanks.