2015-08-26 05:02 PM
Hi, I am running a small program on my nucleo board and it would be very helpful to read back the RAM contents during processing. The IRAM is set in Keil to start @ 0x20000000. But if I set a breakpoint in my code and try to look at the memory, i get an error saying, cannot read memory!
I also tried with the ST Visual Programmer tool, but that only allows me to read program memory ( starting @80000000 ). Is there a quick way for me to read back my RAM? I've been using UART but its very slow and painful to go between ASCII ( which is what my UART tool outputs ) and HEX ( which is what I need to see! )thank you! #stm32 #ram2015-08-26 09:40 PM
The RAM should be at 0x20000000 and FLASH at 0x08000000, not sure why Keil would not allow you to look at the memory when halted.
Keil's debugger has a SAVE command that can store memory content to a file.The serial port would allow you to output in a number of forms, you could increase the speed significantly, and use protocols like X-MODEM to transfer large blocks of data to a file. Check you Terminal software to see what it supports.2015-08-27 05:04 PM
Thanks, Clive. I'll take a look at Keil's SAVE command. The UART was just becoming a big overhead to move data back and forth quickly.