本人新手用的Starerware 和BBB裸跑 用的是iar,现在有两个问题请教一下
一个是uart工程根据论坛的资料编译之后
Error[Lp049]: there was no reference to __iar_data_init3, but it is needed to initialize section .bss (uartEcho.o #9)
Error[Lp048]: the init table "Table" is needed to initialize some variables, but there are no references to it
两个错误,我修改了.icf文件 把do not initialize { section .noinit }; 改成了 do not initialize { section .bss };
能编译成功
第二个是程序下载下去之后 运行到复制向量表CopyVectorTable的时候,把向量表向0x4030FC00写入时发生了错误,从调试看起来像是无法访问
查了资料0x4030FC00这个地址好像是在片内RAM,但是就是写不进去.
请帮忙指点一下,DDR3挂在地址0xC0000000 512MB