cancel
Showing results for 
Search instead for 
Did you mean: 

Debug the application from external memory interface.

srikanth
Associate III

hi

we want to debug from the external memory interface.

Actually my code size is more than internal RAM memory, so we want use external memory jtag debugging. is this external memory debugging possible?

if possible what is procedure ?

6 REPLIES 6
Radosław
Senior II

IDE? In this ram you wonna store code or data?

The processor, and by extension the debugger, can see all available memory within the address space.

A​t reset the pins and configuration of external memories will not have been done. You either need to do this with Debugger Scripts, or by executing BSP code to bring up those memories to a usable state, and break point after that.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

IDE: Seggar Studio, CubeIDE, Keil uVision. we want to store code and data both from external memory

Check STM32CubeProgrammer User manual for creating a external memory loader, but still this is ram, volatile memory. For release version you will nedd non volatile momory to store program and data.

Thank you for reply,

Store the data to external memory has done.

Now my question is How to debug the code which is in external memory from jtag by using currenting running code in MCU flash

What of the memory can you see once you bring up the external interfaces? ​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..