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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,545 Views
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 Replies

1,127 Views
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.

1,127 Views
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 Kudos
Reply

1,127 Views
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 Kudos
Reply