LPC55S28 Bricked after low power try!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55S28 Bricked after low power try!

92 Views
MarcoGiammarini
Contributor III

Hi, 

I am trying to develop with LPC55S28 into a custom board. Yesterday I wrote into a RTC register without initilialization and after that I can't reprogram the microcontroller anymore.

I don't know why... I read a lot of threads and article on the web like this: https://mcuoneclipse.com/2022/03/10/recovering-bricked-lpc55sxx-evk-boards/  but nothing works...

The error message when I try to erase the microcontroller is: 

Executing flash operation 'Erase' (Erase flash) - Thu Aug 01 14:46:50 CEST 2024
Checking MCU info...
Scanning for targets...
Executing flash action...
SEGGER J-Link Commander V7.84a (Compiled Dec 22 2022 16:13:07)
DLL version V7.84a, compiled Dec 22 2022 16:11:39
J-Link Command File read successfully.
Processing script file...
J-Link>ExitOnError 1
J-Link Commander will now exit on Error
J-Link>r
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Link V12 compiled Jan 24 2024 12:06:13
Hardware version: V12.00
J-Link uptime (since boot): 0d 00h 21m 25s
S/N: 602004828
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
USB speed mode: High speed (480 MBit/s)
VTref=3.606V
Target connection not established yet but required for command.
Device "LPC55S28" selected.
Connecting to target via SWD
ConfigTargetSettings() start
Disabling flash programming optimizations: Compare, SkipBlankDataOnProg
ConfigTargetSettings() end
InitTarget() start
InitTarget() end
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
Scanning AP map to find all available APs
AP[1]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x84770001)
Iterating through AP map to find AHB-AP to use
AP[0]: Skipped. Could not read CPUID register
Attach to CPU failed. Executing connect under reset.
Failed to power up DAP
ConfigTargetSettings() start
Disabling flash programming optimizations: Compare, SkipBlankDataOnProg
ConfigTargetSettings() end
InitTarget() start
ERROR: Wrong DM-AP IDCODE detected: 0xFFFFFFFF
InitTarget() end
Cannot connect to target.
Script processing completed.
Unable to perform operation!
Command failed with exit code 1

 What can I do to fix this issue?!

Best

Marco

Labels (1)
0 Kudos
Reply
1 Reply

74 Views
ErichStyger
Specialist I

Hi Marco,

I don't have that board, but the LPC should have some kind of 'ISP' jumper or way to put it into bootloader mode. Have you tried that and load a 'blinky' or something similer from there?

 

Erich

0 Kudos
Reply