The IAR EWARM debugger hangs in __rom_data_init.
I am trying to learn Zigbee by studying the example MyStarNetwork Demo (Coordinator) that came with my Freescale 1322NSK Network Starter Kit. The solution is created with ARM7 MAC Codebase 1.1.4. The solution is imported into IAR Embedded Workbench IDE 5.20. The solution is compiled and linked without warnings or errors.
I am trying to step through the code starting in Init-IAR.S, the debugger is with Simulator driver. In line 151 BL __rom_data_init the program hangs. The Break button is lighting up and in the Windows Task Manager I can see that IarIdePM.exe is using around 40% of the processor, almost all of one kernel. When I click the Break and Go buttons, the PC stops at different addresses, but never returns from the __rom_data_init routine.
From the comments above the call to __rom_data_init it seems that ROM variables should not be initialized when using simulation debugging. However I don't find a way to set the variables Region_ROM_Table_ROM_Base and Region_ROM_Table_ROM_Limit that are used. They seem to be declared in the library LLC_MC13224.a