Processor halt in __libc_init_array assembler function

[复制链接]
469|0
 楼主| 肉坨坨 发表于 2018-9-9 10:14 | 显示全部楼层 |阅读模式
Hi,
I\'m working with dual ARM Corte-A9 in FPGA Zynq7000. I have three diferents hw with same software ( .elf and same files configuration linker script ). My problem is that SW works fine only in one hw (1 of 3). In other case, the processor halt in __libc_init_array function.
The application runs in DDR PS memory (1023 MB)The aplication baseaddr is 0x100000In linker script, the stack size is 100 MBThe content of the __libc_init_array function is:
void
__libc_init_array (void)
{
size_t count;
sixe_t i;
count = __preinit_array_end - __preinit_array_start;
for(i=0; i < count;i++)
__preinit_array_start();
_init();
coun = __init_array_end - __init_array_start;
for(i=0; i < count; i++)
__init_array_start();    // The ARM halt here when I = 10.
}
Can someone help me?
How can I debug this issue?
Why only works in one HW?
Thanks a lot.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

419

主题

431

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部