MC1322x demo project link error no "__iar_data_init"

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

MC1322x demo project link error no "__iar_data_init"

4,741 Views
solar
Contributor I
I am working on a project using MC1322x Evaluation Kit. I create two solutions. one for SMAC ARM7 codebase, One for MAC ARM7 codebase. When I use IAR EWARM 5.20 compiling MyStarNetwork demo (Coordinator). I got message like that.

Warning[Lt010]: Inconsistent enum container size
D:\Projects\Freescale\My Solution\Connectivity Test
RX\Debug\Obj\Display.o and 10 other objects uses smallest
possible
Init_Utils.o(MC1322x.a) uses word size
Error[Li005]: no definition for "__iar_data_init" [referenced from
D:\Projects\Freescale\My Solution\Connectivity Test
RX\Debug\Obj\Init-IAR.o]

Can anybody help me out?
0 Kudos
6 Replies

908 Views
Edrianocarlos
Contributor IV

Hello i was having the same issue, that i choose the IEE802.15.4 MAC 2006 instead of the 2003. and the project worked right.

Now my problem is with the zigbee stack2007. When i export the project the start vector seems to be wrong and i can not rum the program. the CPU get lost.

0 Kudos

908 Views
admin
Specialist II
I think that the revision number of the chip I use is the problem. I use the 2.0 revision but for Codebase Beestack 3.0.3 is revision 2.1 required.
0 Kudos

908 Views
conidea
Contributor I
I think so, but there would be an upgrade of firmware...I hope...
0 Kudos

908 Views
conidea
Contributor I
I can now use beestack 3.0.1 of beekit from my cd rom and updated iar 5.20 evaluation edition downloaded from site. It's ok
0 Kudos

908 Views
admin
Specialist II

This week I had received a 1322XNSK-DBG development kit. After some simple tests, I try to compile a ZigBee example project. The BeeKit within the development kit doens't have a ZigBee codebase so I had download the last version. (BeeKit Version 1.9.5) But now I get some errors in IAR. First I had tested IAR Embedded Workbench 5.11. When I compile the example code I get download the image to the platform I get a lot of verify errors:

 

Verify error at address 0x00401C99, target byte: 0x00, byte in file: 0xFA
Verify error at address 0x00401C9A, target byte: 0x00, byte in file: 0x01
Verify error at address 0x00401C9B, target byte: 0x00, byte in file: 0x21


Fri Mar 06 08:15:58 2009: Warning: Too many verify errors, only the first 200 are displayed

 

After reading the releases notes for the ARM7 BeeStack Codebase 3.0.3 I found that IAR Embedded Workbench 5.20 was required.  So I download the 30 days version (IAR 5.20.2) and do the same test. The verify errors are not solved so this was not the solution.  

 

I had also tested the last version of the IAR Embedded Workbench (IAR 5.3) but when I do this I get the same error as in the first post. MC1322x demo project link error no "__iar_data_init"

 

How can I fix this problems?

0 Kudos

908 Views
addiyi
NXP Employee
NXP Employee

Hello,

The MC1322x MAC ARM7 codebase require IAR EWARM version 5.11. You are using 5.20 which contains changes in the linker.

The 5.11 evaluation version of EWARM for Freescale:

browse to -- www.iar.com
click -- Products
click -- Compilers and debuggers
click (in left column) -- ARM
click (in left column) -- Version 5.11
click (in right column) -- Evaluation edition for Freescale ZigBee solutions

Regards,
Adrian

0 Kudos