2014-01-14 08:52 AM
Hi,
I was unhappy with the ST provided libraries for sleep modes for the stm32w108 so I decided to write my own. I have managed to brick two different boards while messing around with sleep registers. These are custom boards that haven't really had issues before. It seems directly related to trying to write my own sleep mode drivers.Anyway, I am unable to connect to the board any more. I'm using a j-link debugger and I've tried the following:Tried reflashing the part through IARs debug tools. This produces the following errors:''Failed to get CPU status after 4 retries''Tried to connect with jlink commander which gives these errors while trying to connect:''Could not power-up system power domain''Tried using STM32 ST-LINK Utility. Just can't connect to the device.Is there any way to unlock this device again?2014-01-14 09:00 AM
Not sure if it would work, but you could always try loading the original firmware into it using the bootloader?
2014-01-14 09:03 AM
The original firmware? This is a custom application I believe the original firmware was just a blank part. The problem seems to be that I just can't connect to the devices any longer. By the way, I just tried the jlink stm32 unlock tool and I get basically the same issue. ''Could not identify the stm32 device'' and ''Error identifying ARM Cortex-M core.''
2014-01-14 09:42 AM
Pull nBOOTMODE low at reset so it doesn't run your broken code.
2014-01-14 12:21 PM
This worked! Thanks.