Other Parts Discussed in Thread: MSP430BT5190, MSP430F5438A
I'm trying to use an example program, the SPPDemo from Stonestreet One for the MSP430F5438a on the MSP430BT5190. I'm told that should be no problem, they're the same silicon, but I've run into some issues - I'm not sure if they're related to the upgrade to CCS 5.2, but I've read other posts where people have similar problems after upgrading.
If I use legacy COFF instead of eabi (ELF) and TI v4.0.0 and edit the linker for the MSP430BT5190 as described here:
http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/MSP430/10030
I get 337 warnings (but no errors) - most are type #17003-D. I'm still using unedited sample code (except for the linker). Most of the warnings are pretty much the same:
"C:/ti/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.1/CC256x+MSP430_Applications/Source/MSP430_Experimentor/Bluetopia/btpskrnl/BTPSKRNL.c", line 616: warning #17003-D:
relocation from function "BTPS_FreeMemory" to symbol "$C$SL3" overflowed;
the 18-bit relocated address 0x29d28 is too large to encode in the 16-bit
field (type = 'R_MSP_REL16' (161), file = "./BTPSKRNL.obj", offset =
0x00000014, section = ".text:BTPS_FreeMemory")
In the problems section, I have:
Description Resource Path Location Type
#10015-D output file "SPPLEDemo.out" cannot be loaded and run on a SPPLEDemo C/C++ Problem
#10247-D creating output section ".patch" without a SECTIONS SPPLEDemo C/C++ Problem
Then the rest are #17003-D with a line number.