Hello @josefrval
Maybe the flash memory you erased is still used by project.
You can try to erase other memory that your flash not used.
BR
Alice
Hello @josefrval
It is works on LPCxpresso, so how about run project standalone without IDE?
How about send your project to me ? I help to check on my side.
BR
Alice
Hello @josefrval
Recommend you use this tool to erase to check whether the flash can erased, because you said "boot sector is protected", also we can eliminate hardware issue firstly.
BR
Alice
Hi @Alice_Yang , I checked but we didn't have any problem:
Executing flash operation 'Erase' (Erase flash) - Mon Mar 20 16:10:42 BRT 2023
Checking MCU info...
Scanning for targets...
Executing flash action...
MCUXpresso IDE RedlinkMulti Driver v11.6 (Oct 3 2022 08:09:13 - crt_emu_cm_redlink.exe build 9)
( 0) Reading remote configuration
Wc(03). No cache support.
Found chip XML file in C:/Desenvolvimento/Dankia/mcuxpresso/Workspace/fmw8gavstop/fmwdriverlpc82x/GavLaserScan-Release\LPC824.xml
( 5) Remote configuration complete
Reconnected to existing LinkServer process.
Probe Firmware: LPC-Link Probe v1.3 (NXP - LPC-Link)
Serial Number: WIN64HS12
VID:PID: 1FC9:0009
USB Path:
Using memory from core 0 after searching for a good core
On debug connection - reset using system reset
( 30) Emulator Connected
( 40) Debug Halt
( 50) CPU ID
debug interface type = CoreSight DP (DAP DP ID 0BC11477) over SWD TAP 0
processor type = Cortex-M0+ (CPU ID 00000C60) on DAP AP 0
number of h/w breakpoints = 4
number of flash patches = 0
number of h/w watchpoints = 2
Probe(0): Connected&Reset. DpID: 0BC11477. CpuID: 00000C60. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.
Content of CoreSight Debug ROM(s):
RBASE F0000000: CID B105100D PID 0500081000 ROM (type 0x1)
ROM 1 0x14000000: (dev #2) no valid device here - powered down?
ROM 1 E00FF000: CID B105100D PID 04000BB4C0 ROM (type 0x1)
ROM 3 E000E000: CID B105E00D PID 04000BB008 Gen SCS (type 0x0)
ROM 3 E0001000: CID B105E00D PID 04000BB00A Gen DWT (type 0x0)
ROM 3 E0002000: CID B105E00D PID 04000BB00B Gen FPB (type 0x0)
NXP: LPC824
DAP stride is 1024 bytes (256 words)
Inspected v.2 On-chip Flash Memory LPC800_32.cfx
Image 'LPC800 (32K) Sep 19 2022 09:11:41'
( 65) Chip Setup Complete
Connected: was_reset=false. was_stopped=true
( 70) License Check Complete
Opening flash driver LPC800_32.cfx
Sending SYSRESETREQ to run flash driver
Flash device supported (32KB = 32*1K at 0x0)
Mass Erase flash at 0x0
Closing flash driver LPC800_32.cfx
MassErase completed (in 136ms)