ARM79_0 raise an exption,cause:The processor was reset.
来源:互联网 发布:f35隐身性能知乎 编辑:程序博客网 时间:2024/05/16 14:18
ADS+JLINK 为什么在进入AXD下载了IMAGE 运行就提示
ARM79_0 raise an excption,cause:The processor was reset.
下面是在网上搜到的解决方法:
ARM Jtag调试时,默认AXD并不会初始化SDRAM(这也难怪,AXD并不知道板子的连线情况),因此在把代码下到SDRAM调试之前需要进行初始化。也可以让AXD通过JTAG配置2440的SDRAM控制寄存器实现对SDRAM的初始化,引用别人的;劳动成果:
通过axd命令行对目标板进行设置
因为sdram是在0x30000000地址的,所以需要先对存储器控制寄存器进行设置,在axd下设置方法是:选systems views->command lines interface,输入如下命令对寄存器设置
地址 值 长度
setmem 0x53000000, 0x00000000, 32
还可以将要设置的寄存器写入一个文件,在命令行用ob(obey) config.ini即可批量执行设置指令或在options->Configure Interface中做如下设置
我的config文件内容如下:
setmem 0x53000000, 0x00000000, 32
setmem 0x4a000008, 0xffffffff, 32
setmem 0x4a00001c, 0x00007fff, 32
setmem 0x48000000, 0x2212d110, 32
setmem 0x48000004, 0x00000f40, 32
setmem 0x48000008, 0x00002e50, 32
setmem 0x4800000c, 0x00002e50, 32
setmem 0x48000010, 0x00002e50, 32
setmem 0x48000014, 0x00002e50, 32
setmem 0x48000018, 0x00002e50, 32
setmem 0x4800001c, 0x00018005, 32
setmem 0x48000020, 0x00018005, 32
setmem 0x48000024, 0x00960542, 32
setmem 0x48000028, 0x00000032, 32
setmem 0x4800002c, 0x00000030, 32
setmem 0x48000030, 0x00000030, 32
如果设置正确则开发版的SDRAM生效,则可以加载目标代码了
确实可行,已经亲自证实可行!
- ARM79_0 raise an exption,cause:The processor was reset.
- processor ARM79_0 raised an exception.Cause: The processor was reset
- AXD Error:Processor ARM79_0 raised an exception. Cause: The processor was reset
- Processor ARM920T raised an exception.Cause:The processor was reset
- Processor ARM79_0 raised a exception. cause: unrecognised SWI
- Processor ARM920T raised an exception.Cause:The pr
- Processor ARM920T raised an exception.Cause:The pr
- An invalid character [34] was present in the Cookie value] with root cause
- Processor ARM7TDMI raised an exception.Cause:Undefined instruction
- Processor ARM7TDMI raised an exception.Cause:Undefined instruction(续)
- Processor ARM7TDMI raised an exception.Cause:Undefined instruction
- was aborted. Call getNextException to see the cause.异常问题
- Sql Server 中 Internal Query Processor Error:The query processor encountered an unexpected error
- The best solution I found was to raise the Heap of the Application.
- FTP——the connection with the server was reset
- The 1980's was an er
- There was a mismatch between the processor architecture of the project
- Let The Ballon Raise
- linux的rename命令
- RIPv1 与 RIPv2
- 女白领应避免的职场10蠢事
- 低收入女白领的7大特征
- CSS中Visibility和Display的区别
- ARM79_0 raise an exption,cause:The processor was reset.
- Adobe荐文:处理Flash视频里的元数据和录像暗点
- New Gingerbread API: StrictMode
- JFileChooser文件的选择与保存
- Studying note of GCC-3.4.6 source (131)
- 喜欢的书
- 使用Valgrind 查找内存泄露
- Jeff Dean的Stanford演讲 by 陈皓
- VS2008卡死无反映解决