cancel
Showing results for 
Search instead for 
Did you mean: 

unlock internal flash memory (readout protected) of STM32W108

w23
Associate II
Posted on September 19, 2011 at 18:09

Hi,

I tried to flash an stm32w108 with JLINK but i get an error:

Error: Wrong AHB ID (15:3). Expected 0x04770001 (Mask 0x0FFFFFCF), Found

0x00000000

i want to know how could I solve this problem.

Sure my microcontroler is locked so how could I make the internal flash memory read unprotected?

and what's the source of this problem? I think it's a hardware problem.

In my board, I connected:

- NRST to a bottun that connect it to GND.

-all VDD and GND are connected, even VDDA (related the ADC)

-SWCLK

-PC4 related to JTMS

-PA4, PA6 and PA7 connected as outputs.

waiting for your answers.

thanks

:(
1 REPLY 1
Posted on September 19, 2011 at 20:51

Well it's more probable you are putting the device to sleep, or otherwise preventing the JTAG from breaking in during reset.

You could play with the J-Link reset method options.

You could try changing the BOOTx pins so the device starts in the system rom rather than your user code.

You could also presumably try the serial mode connectivity, if the device permits such access.

The ROP does not preclude the use of JTAG on STM32F1 devices.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..