MPC5566 EBI And Debugger Issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5566 EBI And Debugger Issue

1,928 次查看
MattAEE
Contributor II

I am using the MPC5566 Demo board from freescale.  When I am debugging, I can write and read external memory.  When I disconnect the debugger and reset the board, the MPC5566 appears to stay in reset.

 

If I do not link any variables to external memory(i.e. 0x20000000), I have no problems when I disconnect the debugger.

 

Is the debugger doing something to the chip selects or MMU that I need to do in my application code?

 

Thanks in advance,

Matt 

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,203 次查看
martinw
Contributor III

The debugger will be running an initialisation script which sets up memory so the program code can be downloaded, and also sets up basic things like cpu clocks, disabling watchdog etc.

 

It may also be setting up chip select etc for the external sram.

 

You should find the scipt file being used in the project settings on one of the debugger pages.

 

Once you have located the file have a look through it to see what it is setting up for you.

 

Cheers

 

Martin

 

0 项奖励
回复