forked from auracaster/openocd
flash/stm32l4x: introduce flash programming without loader
this capability permits to program the flash if we cannot reserve a workarea. the introduction the command 'stm32l4x flashloader <bank_id> [enable|disable]' helps to automatically skip using the flashloader if needed. Change-Id: Id29213c85ee5c7c487cfee21554f5a7ea50db6c9 Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6273 Reviewed-by: Oleksij Rempel <linux@rempel-privat.de> Tested-by: jenkins
This commit is contained in:
committed by
Oleksij Rempel
parent
e609d5a5de
commit
1247eee4e6
@@ -7344,6 +7344,13 @@ Unlocks the entire stm32 device.
|
||||
The @var{num} parameter is a value shown by @command{flash banks}.
|
||||
@end deffn
|
||||
|
||||
@deffn Command {stm32l4x flashloader} num [@option{enable} | @option{disable}]
|
||||
Enables or disables the flashloader usage (enabled by default),
|
||||
when disabled it will fall back to direct memory access to program the Flash or OTP memories.
|
||||
if neither @option{enabled} nor @option{disable} are specified, the command will display
|
||||
the current configuration.
|
||||
@end deffn
|
||||
|
||||
@deffn {Command} {stm32l4x mass_erase} num
|
||||
Mass erases the entire stm32l4x device.
|
||||
The @var{num} parameter is a value shown by @command{flash banks}.
|
||||
|
||||
Reference in New Issue
Block a user