Programming external flash indirectly, bridging over the MCU, with the J-Link.

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

    • Programming external flash indirectly, bridging over the MCU, with the J-Link.

      New

      Hi there, I’m trying to program an external SPI flash (IS25LP032D) that is connected to a MCU STM32G474, but only the MCU can have a socket for plugging the J-Link to be programmed. Therefore, to program the external flash I need to use the MCU and do it in an indirect way, downloading a RAMCode to the RAM of the MCU using the J-Link.


      I have read several posts here and pages of the SEGGER Wiki about this topic, but I am still confused on how one has to proceed to achieve this. These two component are supposed to be supported by the J-Link, i.e., there is already a RAMCode for them. How do I get this RAMCode? How do I access the external flash form the J-Link? Is there any other information needed about the external flash?



      I would really appreciate some help on how to proceed step-by-step, like foolproof.



      Thanks in advance :)

      Francisco