fl2440裸机调试需要注意的问题

来源:互联网 发布:知乎 华科副教授 编辑:程序博客网 时间:2024/05/18 03:36

1.JLINK

     JILNK仿真器会使fl2440开发板复位,所以插上JLINK后,bootloader不能启动,而且LCD白屏,这是正常现象

2.关于Processor ARM79_0 raised an exception.Cause: Undefined instruction 问题的解决办法

    在AXD->options ->configure interface 中的session file 中选择Run Configuration Script载入初始化文件,例如命名为init.ini,具体内如如下

Setmem 0x53000000 0x00000000 32   Setmem 0x4A000008 0xFFFFFFFF 32   Setmem 0x4A00001C 0x000007FF 32  Setmem 0x56000050 0x000055AA 32 Setmem 0x4C000014 0x00000007 32 Setmem 0x4C000000 0x00FFFFFF 32 Setmem 0x4C000004 0x00061012 32 Setmem 0x4C000008 0x00040042 32 Setmem 0x48000000 0x22111120 32 Setmem 0x48000004 0x00002F50 32 Setmem 0x48000008 0x00000700 32 Setmem 0x4800000C 0x00000700 32 Setmem 0x48000010 0x00000700 32 Setmem 0x48000014 0x00000700 32 Setmem 0x48000018 0x0007FFFC 32 Setmem 0x4800001C 0x00018005 32 Setmem 0x48000020 0x00018005 32 Setmem 0x48000024 0x008E0459 32 Setmem 0x48000028 0x00000032 32 Setmem 0x4800002C 0x00000030 32 Setmem 0x48000030 0x00000030 32 
    这样每次进入AXD就会自动初始化内存,就可以进行裸机调试啦

原创粉丝点击