Hi,
I am migrating my project from CW 5.7 in a XP windows machine to a CW 7.2 in a W8 machine. When I try to compile I got exactly the same error reported by schildt :
"Link error : Unexpected relocation R_68K_SDA16: __SDA_BASE not set in file xcp_usb.c"
"Link error : Illegal 16-bit small data area relative reference to symbol '_xcp_daq_dto_buffer_status'
from address 0x20004F0 in section '.text' of file 'xcp_usb.c'.
This type of reference has a range from 4294934528 to 32767 bytes."
I have tried with all the solutions suggested above:
- I have changed in Standard Settings-> Coldfire Processor-> Core Model to Smart (16/32)
- I haved changed the Coldfire Processor" panel for the "use .sdata /.sbss for" area to "All data smaller than" to "0"
- By last I have done Project/Remove Object code to force a rebuilt.
Any of those worked for me. Has someone found another solution?
Thanks a lot in advance!!
I had this problem opening a CFV1 proyect from CW MCU v6.2 in CW MCU v6.3, I solved it this way:
Edit > Standard Settings
then under the target setting panel called Coldfire Processor
change the Core Model to Smart (16/32 bit)
or try other options under that combobox.
I had the same errors (hundreds of them) when converting from CW6.2 to 6.3. I changed the setting to Smart(16/32 bit) and it worked. Thanks for making your solution available.
I've tried each of the above mentioned suggestions with no luck. Are there any updates to this issue?
Hi,
Try going to ColdFire Compiler->Processor and clear the textbox near "Use .sdata/.sbiss for..... "
Alex