Hi,
I am starting to work with a CC2530ZDK. I have some codes developed by someone else (GenericApp.c, GenericApp.h, OSAL_GenericApp.c, Serial.c and Serial.h) for the CC2430.
I replaced the corresponding files of GenericApp project (that I had downloaded from TI website) for these codes.
I tried to build it with the IAR Embedded Workench IDE 8.11, but I did not get success.
"Fatal Error[Pe1696]: cannot open source file "OSAL_Custom.h" C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\Samples\Test\Source\OSAL_GenericApp.c 17"
"Fatal Error[Pe1696]: cannot open source file "MTEL.h" C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\Samples\Test\Source\Serial.c 15"
So, I commented both lines: GenericApp.c 17 and Serial.c 15.
Now, I can build the coordinator, but another problem has happen with end-devices and router:
Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment XDATA_N. Unable to place 2 block(s) (0x802 byte(s) total) in
0x1e5 byte(s) of memory. The problem occurred while processing the segment placement command
"-P(XDATA)XDATA_N=_XDATA_START-_XDATA_END", where at the moment of placement the available memory ranges were "XDATA:1d1b-1eff"
Error while running Linker
Could someone help me? If necessary, I can send you the files that I am trying to build.
Regards,
Victor Farias.