[SOLVED] Indirect external flash programming over STM32F4 mcu using RAMCODE

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Indirect external flash programming over STM32F4 mcu using RAMCODE

    Hello,
    I'm building a board where I'll have an access to a STM32F4 mcu using SWD. The mcu is connected to an external, standard SPI NOR flash.
    I'd like to be able to erase/program the external flash without burning the mcu with a unique binary that does that.
    As I understand from this wiki post, there should be a way to write RAMCODE that communicates with the external flash, thus allowing me to access the external flash without burning the mcu. Is that right?
    If so, I couldn't find any example or reference of how to write such code (not specifically to the STM32F4 but to any other mcu).
    If I understand correctly, such RAMCODE should implement driver to the external flash and some standard Segger API?
    I would appreciate any guidance here.
    Thanks!

    The post was edited 1 time, last by chipopolm ().

  • wiki.segger.com/J-Link_Device_Support_Kit#DSK_availability

    If performance does not matter and you do not need examples + support, you may go with the CMSIS alternative that is also mentioned there.
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.