Skip to main content
netstv
Associate II
May 4, 2017
Question

If I run from external flash, can I program internal flash

  • May 4, 2017
  • 1 reply
  • 574 views
Posted on May 04, 2017 at 05:14

If I have a program that is running from external flash, STM32F779xxx can I program the internal flash?

I have a bootloader 'app' that I want to fix a bug that is located on the internal flash.  What I thought I would do is have my bootloader (the bad one) that already loads an app and 'jumps' to it.  

Does this make sense?  

Thanks.

-stv

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    May 4, 2017
    Posted on May 04, 2017 at 05:25

    >>Does this make sense?

    Not really, seems a bit dyslexic to be honest.

    I'm not sure it is any more robust than running from SRAM, in either case the vector table would need to be pointed away from the internal FLASH. Suggest you experiment, the core programming code is going to be very similar regardless of how you approach it.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..