2018-04-12 8:18 AM
When I try to change option bytes, the device gets reset but the app keeps waiting forever: only a manual device reset in DFU mode will make it continue and exit normally.
For example running:
STM32_Programmer_CLI.exe -c port=usb1 -ob BOR_LEV=4
Gets this output:
-------------------------------------------------------------------
STM32CubeProgrammer v1.0.0 -------------------------------------------------------------------USB speed : Full Speed (12MBit/s)
Manufacturer ID : STMicroelectronicsProduct ID : STM32 BOOTLOADERSerial number : 2076339B5636Firmware version : 0x011aDevice ID : 0x0435AREA NAME SECT.NBR ADDRESS SIZE TYPE
Option Bytes 0000 0x1fff7800 0040 B RWOTP Memory 0000 0x1fff7000 0001 KB RW
Device Feature 0000 0xffff0000 0004 B RW
Device name: STM32L43xxx/STM32L44xxx
Device type: MCUDevice CPU : Cortex_M4UPLOADING OPTION BYTES DATA ...
Bank : 0x00
Address : 0x1fff7800 Size : 36 Bytes?????????????????????????????????????????????????? 100%
PROGRAMMING OPTION BYTES AREA ...Bank : 0x00
Address : 0x1fff7800 Size : 36 Bytes?????????????????????????????????????????????????? 100%
UPLOADING OPTION BYTES DATA ...
Bank : 0x00
Address : 0x1fff7800 Size : 36 BytesHanging here until reset in DFU mode again:
?????????????????????????????????????????????????? 100%
OPTION BYTE PROGRAMMING VERIFICATION:
Option Bytes successfully programmed
If programming Option Bytes leads to automatic device reset, then the app should not wait for verification, or at least it should have a command line (and GUI) option to skip verification step and exit immediately
#option-bytes #dfu #stm32cube-programmer2018-04-12 9:29 AM
Hi
Messina.Paolo
,I shared your use case with our STM32CubeProgrammer experts to check deeply the case and may be apply some enhancements .
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.