EmBitz
STM32L5/U5 Flash option restore - Printable Version

+- EmBitz (https://www.embitz.org/forum)
+-- Forum: EBlink (https://www.embitz.org/forum/forum-3.html)
+--- Forum: Using EBlink (https://www.embitz.org/forum/forum-6.html)
+--- Thread: STM32L5/U5 Flash option restore (/thread-177.html)



STM32L5/U5 Flash option restore - embitz - 03-01-2024

The STM32L5 and U5 devices have been added to the EBlink scripts. The scripts support both single- and dual-bank mode.

The ability to switch from bank mode to the EBlink command line has also been added to the flash script of these devices.

Code:
eblink -E setDualBank(0|1)  // 0 = single and 1 =  dual bank

If you lost access to your device due to wrong flash options (even Cube programmer is not working) then you can restore the factory default with


Code:
eblink -E restoreDualBankMode()