|
外扩65535作为外部ram 同时外部接口还接at29040a 和128*64液晶 都通过当作内存地址访问
在线汇编
void mapping_init(void)
{
asm(
".area memory(abs)
"
".org 0x8000
"
" _at29high_add:: .blkb 1
"
".org 0x9000
"
" _at29low_add:: .blkb 2048
" ///at29c040a
".org 0xb000
"
" _lcd_data_add:: .blkb 1
"
".org 0xd000
"
" _lcd_order_add:: .blkb 1
"//液晶
".text
"
);
}
我用仿真器调试时 运行到这个函数老出现这样的问题
Error reading memory : IO Address:0 Size:64
Error reading memory : REGISTERS Address:0 Size:32
Error reading memory : SRAM Address:96 Size:160
断电重现调试几次 又出现这样的问题
JTAG ICE: Warning: A problem occured while executing this debug command! Please check the connections, the voltage, and the clock system of the target application!
那位能帮小弟分析一下 |
阿莫论坛20周年了!感谢大家的支持与爱护!!
知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)
|