TCP/IP ColdFire_Lite_CW6.4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TCP/IP ColdFire_Lite_CW6.4

1,347 Views
juasago
Contributor I
Hi all,
I downloaded de TCP/IP Nichelite stack and I was trying to compile and link for m5223x_evb on the Code Warrior 6.4, but there are many errors, 1002, but there are two kinds of errors:

Link Error   : Unexpected relocation R_68K_SDA32: __SDA_BASE not set
in file iuart.c
  
Link Error   : Illegal 16-bit small data area relative reference to symbol '_utxbytedrop'           
from address 0x0000113C in section '.text' of file 'iuart.c '.        
This type of reference has a range from 4294934528 to 32767 bytes.

I have 'mcf5223evb_iflash.lcf', which is in cpu folder project, for linking the project.

Thanks and best regards.

Labels (1)
0 Kudos
1 Reply

290 Views
DrSeuss
Contributor I
This is an error in how CW62 converts to 6.4.
 
In the project setting panel go to code generation and then coldfire processor panel
On this panel set the "Use .sdata/.sbss for "
to All data smaller than 0 bytes.
 
This will fix the use.
 
Also there is a newer version on the freescale MCF52235 product pages that does not have this issue.
or search for ColdFire_Lite_CW6.4_Rev2.0.
0 Kudos