How to run code without power cycle after programing a virgin STM32L4xx over i2c without touching reset or boot0 pin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-25 4:25 AM
The bootloader starts automatically on a virgin STM32L4xx MCU without putting boot0 as flash is empty. I can then flash it over the i2c bus but is unable to get the code running without power cycle.
I have tried, software reset, hardware reset and running the Readout Unprotect command to force a option bytes read.
Is it possible to get the new code up and running without power cycle the device?
- Labels:
-
I2C
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-25 5:14 AM
If you change over I2C option bytes RDP then NO. Only power cycle.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-25 9:55 AM
Maybe write a short program which performs OBL_LAUNCH and then a sfotware reset, into RAM, write it there using bootloader and run it using Go?
JW
