I have been reading and struggling with this but am at a loss as to how to fix this error.
I am using CCSv5.5 w/ compiler 4.2.2. I'm programming on an MPS430F5659 in large code and large data models. I am using an unmodified linker command file. I have selected 'eabi' and 'mspx'.
I have about 67KB of code and about 32KB of data.
When I compile, I get a huge number of:
"../main.c", line 263: warning #17003-D: relocation from function "USCI_A0_ISR" to symbol "DBG_RxData" overflowed; the 20-bit relocated address 0xf45ca is too large to encode in the 16-bit field (type = 'R_MSP430X_ABS16' (15), file = "./main.obj", offset = 0x00000014, section = ".text:_isr:USCI_A0_ISR")
It seems that every variable, not just those in the isr's, are affected.
Nothing that I have read seems to address or help my particular situation.
Any suggestions would be welcome. Surely there is some simple setting that I am missing.
Thanks
UPDATE:
I've found that by reducing an array size down so that all data fits within a single 16KB boundary, all of the relocation errors disappear. If I allow the data size to grow to larger than 16KB, the relocation errors reappear.
I've verified that I am using large code and data models.
So, is large data model not working?