This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SRAM Programing

Hi guys! I want to program SRAM only at stm cortex-M7 core controller. May I do this without wasting my program flash cycles? If yes so what should I do at keil properties before programming?

  • 100K cycles for debugging code is pretty high, if you're likely to approach that reconsider your programming/debugging technique.

    To program RAM you'd want to uncheck the programming options/algorithms, and write a debugging script (.INI) to LOAD your code into RAM when you start the debugging session.

    Suggested search terms
    Keil Debugger Scripts
    Keil LOAD Command

  • You need to first check if this is happening, try commenting out or shortening the strings or other data structures in your sketch without changing the code. If it then runs successfully, it means you're probably running out of SRAM.