求问
在cmd文件中,.text>DRAM时可正常加载程序,但在 作.text > DDR2的设置,编译连接后,在Load Program时失败,并有如下提示信息:
Trouble Removing Breakpoint with the Action "Terminate Program Execution" at 0x80000740: Error 0x80000008/-1066 Fatal Error during: Break Point, Cannot set/verify breakpoint at 0x80000740 Sequence ID: 8 Error Code: -1066 Error Class: 0x80000008
Failed to remove the debug state from the target before disconnecting. There may still be breakpoint opcodes embedded in program memory.
请问是什么原因?谢谢
noaming:
DRAM ,DRR2,在CMD文件中是怎么配置的,芯片用的是哪一款?在你的板子上,DDR2有没有调通过一些简单的程序,先换个简单的程序试试。
Duffin Zhang:
回复 noaming:
用的芯片是 DM6446,在ARM端,DRAM和DDR2配置如下:
DRAM: o = 0x00008000 l = 0x00004000
DDR2: o = 0x80000000 l = 0x10000000
在程序中对DDR2地址读写数据可以加载程序运行,但.text >DDR2时 Load Program就会出错。
程序已经很简单了。
谢谢
noaming:
回复 Duffin Zhang:
目前怀疑是你板子硬件的问题,最好的办法是用开发板来做这个实验,验证一下。
Duffin Zhang:
回复 noaming:
开发板做过这个实验,没有问题。我也怀疑是硬件问题,但可能是哪一部分的问题呢?
bomer:
你是否对DDR2进程初始化,我遇到类似的问题是没有对DDR3进程初始化。用gel文件对DDR2进行初始化一下看看。