cancel
Showing results for 
Search instead for 
Did you mean: 

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

netstv
Associate II
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

1 REPLY 1
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
Up vote any posts that you find helpful, it shows what's working..