cancel
Showing results for 
Search instead for 
Did you mean: 

How to fill RAM locations during debug

MHoop.1
Senior

I need to fill certain RAM (buffer) locations with known values (i.e. compressed audio) during a CubeIDE debug session. I thought there was a way to load values into RAM while the program was stopped at a breakpoint. But I can't seem to find this tool. Seems like it existed in Atollic, but can't find it in CubeIDE. Any thoughts?

Thx,

MikeH

1 ACCEPTED SOLUTION

Accepted Solutions
KnarfB
Principal III

In the Debugger Console view you can enter a command

restore mydatafile.bin binary 0x20001000

to load it to the address specified.

hth

KnarfB

View solution in original post

2 REPLIES 2
KnarfB
Principal III

In the Debugger Console view you can enter a command

restore mydatafile.bin binary 0x20001000

to load it to the address specified.

hth

KnarfB

MHoop.1
Senior

Thanks KnarfB Found it.

0693W00000aJhUGQA0.png