2023-04-25 04: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?
2023-04-25 05:14 AM
If you change over I2C option bytes RDP then NO. Only power cycle.
2023-04-25 09: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