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.
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?
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