打印

Processor halt in __libc_init_array assembler function

[复制链接]
377|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

粉丝