Hello,
On 2 different computer with 2 different j-link compact plus, we got 2 different behavior when we connect to a STM32 and the STM32 has the active read protection activated.
Behavior 1: J-Link Commander automatically disable read protection
Display All
Behavior 2: unsecure step is skipped
Display All
We would like to have the same behavior on all our PC: skip unsecure step.
Log indicated that some default behavior is executed: "Executing default behavior previously saved in the registry"
Is it possible to update the default behavior?
Thanks
On 2 different computer with 2 different j-link compact plus, we got 2 different behavior when we connect to a STM32 and the STM32 has the active read protection activated.
Behavior 1: J-Link Commander automatically disable read protection
Source Code
- SEGGER J-Link Commander V7.52b (Compiled Aug 3 2021 16:59:02)
- DLL version V7.52b, compiled Aug 3 2021 16:57:43
- J-Link Command File read successfully.
- Processing script file...
- J-Link connection not established yet but required for command.
- Connecting to J-Link via USB...O.K.
- Firmware: J-Link V10 compiled Jul 28 2021 10:07:03
- Hardware version: V10.10
- S/N: 850100385
- License(s): RDI, FlashBP, FlashDL, JFlash, GDB
- VTref=1.786V
- Target connection not established yet but required for command.
- Device "STM32L443RC" selected.
- Connecting to target via SWD
- Found SW-DP with ID 0x2BA01477
- Active read protected STM32 device detected.
- This could cause problems during flash download.
- Note: Unsecuring will trigger a mass erase of the internal flash.
- Executing default behavior previously saved in the registry.
- Device will be unsecured now.
Source Code
- SEGGER J-Link Commander V6.86f (Compiled Oct 23 2020 18:01:48)
- DLL version V6.86f, compiled Oct 23 2020 18:00:13
- J-Link Command File read successfully.
- Processing script file...
- J-Link connection not established yet but required for command.
- Connecting to J-Link via USB...O.K.
- Firmware: J-Link V10 compiled Nov 12 2020 10:06:35
- Hardware version: V10.10
- S/N: 850100261
- License(s): RDI, FlashBP, FlashDL, JFlash, GDB
- VTref=1.791V
- Target connection not established yet but required for command.
- Device STM32L443RC selected.
- Connecting to target via SWD
- Found SW-DP with ID 0x2BA01477
- Active read protected STM32 device detected.
- This could cause problems during flash download.
- Note: Unsecuring will trigger a mass erase of the internal flash.
- Executing default behavior previously saved in the registry.
- Skipping unsecure.
We would like to have the same behavior on all our PC: skip unsecure step.
Log indicated that some default behavior is executed: "Executing default behavior previously saved in the registry"
Is it possible to update the default behavior?
Thanks