No Debugging when running from external DDR RAM (MQX 4.0.1, CW10.4)

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

No Debugging when running from external DDR RAM (MQX 4.0.1, CW10.4)

2,514 次查看
friederschrempf
Contributor IV

Because my application on the TWR-K70 needs a lot of RAM, I wanted to switch from internal SRAM to external DDR-RAM by using the predefined build and debug configurations. No matter what project I run, it works correctly, but I can't use any debug utilities. The watched variables all contain "0xbabababa" and the TAD plugin only gives me the error in the attachment.

Can somebody tell what might be wrong?

Thank you!

3 回复数

2,096 次查看
friederschrempf
Contributor IV

Ok, I found the solution myself. In the memory map file (PROJ_DIR/Debugger/MK70FN1M0.map) I replaced

reserved     0x60000000 0xDFFFFFFF          // Flexbus for external memory

with

range          0x60000000 0xDFFFFFFF 4 ReadWrite          // Flexbus for external memory

to enable DDR memory.

2,096 次查看
santiago
Contributor II

Hi. Frieder,

thank you very much for your solution that it has helped me a lot. Only a clarification: the correct file name of the memory map file is K70FN1M0.mem.

Best regards

Santiago

0 项奖励
回复

2,096 次查看
soledad
NXP Employee
NXP Employee

Hi Frieder,

I am glad that you resolved your issue, thank you for share your solution. :smileywink:

Regards

Sol

0 项奖励
回复