Hello!
I try to use J-Flash to unsecure STM32F303CC in my hardware.
In my project i secure chip on power up with code:
When i try to read back entire chip J-Flash Says:
Display All
Then i try to unsecure chip :
Display All
It seems unsecure was successfull?
But then i try to read back entire chip again
And
Display All
In addition - I tried to reconnect the power and i tried to use J-Link STM32 Unlock utility - all the same.
Please help to understand
I try to use J-Flash to unsecure STM32F303CC in my hardware.
In my project i secure chip on power up with code:
When i try to read back entire chip J-Flash Says:
Brainfuck Source Code
- Application log started
- - J-Flash ARM V4.54 (J-Flash compiled Sep 11 2012 18:33:38)
- - JLinkARM.dll V4.54 (DLL compiled Sep 11 2012 18:32:59)
- Reading flash device list [C:\Program Files (x86)\SEGGER\JLinkARM_V454\ETC\JFlash\Flash.csv] ...
- - List of flash devices read successfully (1476 Devices)
- Reading MCU device list [C:\Program Files (x86)\SEGGER\JLinkARM_V454\ETC\JFlash\MCU.csv] ...
- - List of MCU devices read successfully (1720 Devices)
- Opening project file [C:\Program Files (x86)\SEGGER\JLinkARM_V454\Default.jflash] ...
- - Project opened successfully
- Connecting ...
- - Connecting via USB to J-Link device 0
- - J-Link firmware: V1.20 (J-Link ARM V6 compiled Jun 20 2012 19:43:26)
- - JTAG speed: 5 kHz (Fixed)
- - Initializing CPU core (Init sequence) ...
- - Initialized successfully
- - JTAG speed: 2000 kHz (Auto)
- - Connected successfully
- Reading entire flash chip ...
- - 128 sectors, 1 range, 0x8000000 - 0x803FFFF
- - RAM tested O.K.
- - ERROR: PC of target system has unexpected value after blank checking. (PC = 0x200000E2)!
- ---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------
- PC = 200000E2
- Current: R0 = 00007BB8, R1 = 08000000, R2 = 00008000, R3 = 00007BB8
- R4 = 20000000, R5 = 00007BB4, R6 = 000000FF, R7 = 20000147
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- - ERROR: Failed to read back target memory
- Disconnecting ...
- - Disconnected
Then i try to unsecure chip :
Source Code
- Connecting ...
- - Connecting via USB to J-Link device 0
- - J-Link firmware: V1.20 (J-Link ARM V6 compiled Jun 20 2012 19:43:26)
- - JTAG speed: 5 kHz (Fixed)
- - Initializing CPU core (Init sequence) ...
- - Initialized successfully
- - JTAG speed: 2000 kHz (Auto)
- - Connected successfully
- Unsecure chip ...
- - Disconnecting ...
- - Disconnected
- - Connecting via USB to J-Link device 0
- - Chip unsecured successfully - Completed after 0.557 sec
It seems unsecure was successfull?
But then i try to read back entire chip again
And
Brainfuck Source Code
- Reading entire flash chip ...
- - Connecting ...
- - Connected successfully
- - 128 sectors, 1 range, 0x8000000 - 0x803FFFF
- - RAM tested O.K.
- - ERROR: PC of target system has unexpected value after blank checking. (PC = 0x200000E2)!
- ---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------
- PC = 200000E2
- Current: R0 = 00007BB8, R1 = 08000000, R2 = 00008000, R3 = 00007BB8
- R4 = 20000000, R5 = 00007BB4, R6 = 000000FF, R7 = 20000147
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- - ERROR: Failed to read back target memory
- Disconnecting ...
- - Disconnected
In addition - I tried to reconnect the power and i tried to use J-Link STM32 Unlock utility - all the same.
Please help to understand