Skip to main content
MHoop.1
Senior
March 23, 2023
Solved

How to fill RAM locations during debug

  • March 23, 2023
  • 2 replies
  • 1213 views

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

    This topic has been closed for replies.
    Best answer by KnarfB

    In the Debugger Console view you can enter a command

    restore mydatafile.bin binary 0x20001000

    to load it to the address specified.

    hth

    KnarfB

    2 replies

    KnarfB
    KnarfBBest answer
    Super User
    March 24, 2023

    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
    MHoop.1Author
    Senior
    March 25, 2023

    Thanks KnarfB Found it.

    0693W00000aJhUGQA0.png