LPC1224/121 : System rejected access at location 0xFFFFFFFF

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

LPC1224/121 : System rejected access at location 0xFFFFFFFF

2,592 Views
christophesicot
Contributor I

I use my own board with LPC1224/121. I have been using severall copy of this board since 2013 successfully.
debug connection : SWDIO on PIO0_25, SWCLK on PIO0_26 -> default SWD at reset.
reset with pull up on port 0_13
For the first time I can't use it with my LPCXpresso board (LPC-link).
error message while trying to enter in debug mode :
15: Target error from Comment Flash write
System rejected access at location 0xFFFFFFFF - verify Population of memory and peripherals

when I try to program *.axf file through SWD interface :

__________________________________________________________________________

Nc: Probe Firmware: LPC-Link Probe v1.3 (NXP - LPC-Link)
Nc: Serial Number: WIN64HS12
Nc: VID:PID: 1FC9:0009
Nc: USB Path:
Pc: ( 30) Emulator Connected
Xc:
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu(0): Connected&Reset. DpID: 0BB11477. CpuID: 410CC200. Info: <None>
Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Nc: inspected v.2 On-chip Flash Memory /usr/local/lpcxpresso_8.1.4_606/lpcxpresso/bin/Flash/LPC11_12_13_48K_4K.cfx
Nc: image 'LPC11_12_13 (48K Flash, min 4K RAM) Feb 16 2016 09:19:04'
Nc: NXP: LPC1224/121 Part ID: 0x00000000
Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=true. was_stopped=true
Cr:v LPCXpresso Free License - Download limit is 256K
Pc: ( 70) License Check Complete
Nt: Loading 'tstUlpc12.axf' ELF 0x00000000 len 0x3B4
Nc: Flash Driver V.2 startup failed - rc Em(12). System rejected access at location 0xFFFFFFFF - verify Population of memory and peripherals
Pb: (100) Writing Flash ended with an error.
Ed:05: File 'tstUlpc12.axf' load failure: Em(12). System rejected access at location 0xFFFFFFFF - verify Population of memory and peripherals
Pc: (100) Target Connection Failed

____________________________________________________________________

if I try again without removing and reconnecting board :

____________________________________________________________________
Wc: LPC12XX Connect Script
Wc: No probes found
Wc: DpID = 0BB11477
Wc: Wire Ack Fault - target connected?
Wc: Wire Ack Fault - target connected?
Wc: Wire Ack Fault - target connected?
Wc: Wire Ack Fault - target connected?
Wc: Wire Ack Fault - target connected?
Wc: ============= END SCRIPT =============================
Xe:
Nc: Probe Firmware: LPC-Link Probe v1.3 (NXP - LPC-Link)
Nc: Serial Number: WIN64HS12
Nc: VID:PID: 1FC9:0009
Nc: USB Path:
Nc: non-Cortex debug bus (DP 0xFFFFFFFF MemAP[0] 0x04770001) SWD connection failed - 'Em(01). Cannot find selected MEM-AP (chec
Nc: connection failed - Ep(01). Target marked as not debuggable. - retrying
Nc: non-Cortex debug bus (DP 0xFFFFFFFF MemAP[0] 0x04770001) SWD connection failed - 'Em(01). Cannot find selected MEM-AP (chec
Ed:02: Failed on connect: Ep(01). Target marked as not debuggable.
Et: Emu(0): Connected&Reset. Was: NotConnected. DpID: 00000000. CpuID: 00000000. Info: <None>
Nc: Error 0: OK
Nc: Last sticky error: 0x0 AIndex: 0
Nc: No debug bus (MemAp) selected
Nc: DAP Speed test unexecuted or failed
Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Pc: (100) Target Connection Failed

____________________________________________________________________________________

So, I try to change the LPCXpresso board : same error
I try to change the LPC1224 target board : same error
I try to put an external supply on the target board : same error.
I try another USB cable (shorter) : same error
I try to change cable beetween lpcXpresso 8 pin connector 2,54mm and my board : same error
I add 47k pull up on SWDIO, and pull down on SWCLK : same error
I try another target board with another program with LPC1115 : Debug OK
I try another target board with just 5V regu and the LPC1224 : same error
To be sure I haven't active watchdog on the board, I use flashMagic through UART to erase all flash and I put a very simple code without the watchdog (ISP mode). Verification OK, I come back to debug mode with LPC-link : same errors.
I use a USB switch with 3A 5A external supply : same errors
I try to create a new project with a simple loop, and launch the debug : same errors

tools version :
LPC-Link Probe v1.3
LPCXpresso v8.1.4 [Build 606][2016-03-14]

what happening ?, an why adress location 0xFFFFFFFF ?

thanks

0 Kudos
8 Replies

1,559 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Thanks for the confirmation, we'll look at rolling the fix into the next MCUXpresso IDE release - expected next month.

Regards,

LPCXpresso Support

0 Kudos

1,559 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Looks like you could be correct about this being an issue with the flash programming use of RAM on this specific part. Please unzip the attached flash driver file and place it into the /lpcxpresso/bin/Flash (or /ide/bin/Flash for MCUXpresso IDE) subdirectory of your IDE installation. You might to back up the original first.

Then try programming again. Please let us know how you get on with this (we don't have this specific part available to test against).

Regards,

LPCXpresso Support.

0 Kudos

1,558 Views
christophesicot
Contributor I

it works !!!!

thanks a lot.

0 Kudos

1,558 Views
lpcxpresso_supp
NXP Employee
NXP Employee

I can't spot anything obvious. It might be worth trying LPCXpresso IDE v8.2.2 instead of your LPCXpresso IDE v8.1.4 installation, or even trying the current MCUXpresso IDE v10.0.0 (http://www.nxp.com/mcuxpresso/ide).

Regards,

LPCXpresso Support

0 Kudos

1,558 Views
christophesicot
Contributor I

I install MCUXpresso IDE v10.0.0 and linux and windows.

the error message change ....

15: Traget error from Commit Flash write
Target rejected debug access at location 0x10001438

same error in windows and linux.

The adress 0x10001438 exist only for LPC1225/6/7, but not for LPC1224. (SRAM)
So is it a configuration problem. (wrong cpu ?)

all linker option :
-nostdlib -L"C:\Users\sicotc\Documents\MCUXpressoIDE_10.0.0_344\workspace\CMSISv2p00_LPC12xx\Debug" -Xlinker -Map="tstUlpc12.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "tstUlpc12_Debug.ld"
Script is on Debug directory : tstUlpc12_Debug.ld , 

run the builder trace :
arm-none-eabi-gcc -nostdlib -L"C:\Users\sicotc\Documents\MCUXpressoIDE_10.0.0_344\workspace\CMSISv2p00_LPC12xx\Debug" -Xlinker -Map="tstUlpc12.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "tstUlpc12_Debug.ld" -o "tstUlpc12.axf" ./src/aeabi_romdiv_patch.o ./src/cr_startup_lpc12xx.o ./src/crp.o ./src/tstUlpc12.o -lCMSISv2p00_LPC12xx

in the .ld file :

MEMORY
{
/* Define each memory region */
MFlash48 (rx) : ORIGIN = 0x0, LENGTH = 0xc000 /* 48K bytes (alias Flash) */
RamLoc4 (rwx) : ORIGIN = 0x10000000, LENGTH = 0x1000 /* 4K bytes (alias RAM) */
}


in the .map file : I don't see bad adress, stack top location is 0x10001000

So why trying to write in 0x10001438 adr ?

0 Kudos

1,559 Views
christophesicot
Contributor I

more information with following configuration :

I made a now workspace, and create a new blinking project with CMSIS 2.00.

I program the board with the generated .hex file in ISD mode with flash magic and uart interface. (no watchdog). 

I disconnect UART cable.

I put external supply on the board with the LPC1224/121. The led blink OK.

I connect the swd cable.

I lanch the debug session : I see reset on the board, and always flash error.

redlink server trace :

[Started server]
[Connected on port 3025]
redlink>ProbeList
No probes found
redlink>ProbeList
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
redlink>ProbeStatus
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 512
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = WINUSB
Probe Reference Count = 0
redlink>ProbeIsOpen 1
FALSE
redlink>ProbeOpenByIndex 1
Probe Handle 1 Open
redlink>WireIspReset 1
Unsupported with current settings
redlink>ProbeStatus
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 512
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = WINUSB
Probe Reference Count = 0
redlink>quit
[Closed]
[Started server]
[Connected on port 3025]
redlink>ProbeList
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
redlink>ProbeStatus
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 512
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = WINUSB
Probe Reference Count = 0
redlink>ProbeIsOpen 1
FALSE
redlink>ProbeOpenByIndex 1
Probe Handle 1 Open
redlink>WireIspReset 1
Unsupported with current settings
redlink>ProbeStatus
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 512
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = WINUSB
Probe Reference Count = 0
redlink>quit
[Closed]
[Started server]
[Connected on port 3025]
redlink>ProbeList
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
redlink>ProbeStatus
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 512
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = WINUSB
Probe Reference Count = 0
redlink>ProbeIsOpen 1
FALSE
redlink>ProbeOpenByIndex 1
Probe Handle 1 Open
redlink>WireIspReset 1
Unsupported with current settings
redlink>ProbeStatus
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 512
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = WINUSB
Probe Reference Count = 0
redlink>quit
[Closed]
[Started server]
[Connected on port 3025]
redlink>ProbeList
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
redlink>ProbeStatus
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 512
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = WINUSB
Probe Reference Count = 0
redlink>ProbeIsOpen 1
FALSE
redlink>ProbeOpenByIndex 1
Probe Handle 1 Open
redlink>WireIspReset 1
Unsupported with current settings
redlink>ProbeStatus
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 512
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = WINUSB
Probe Reference Count = 0
redlink>quit
[Closed]
[Started server]
[Connected on port 3025]
redlink>ProbeList
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
redlink>ProbeStatus
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 512
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = WINUSB
Probe Reference Count = 0
redlink>ProbeIsOpen 1
FALSE
redlink>ProbeOpenByIndex 1
Probe Handle 1 Open
redlink>WireIspReset 1
Unsupported with current settings
redlink>ProbeStatus
Index = 1
Manufacturer = NXP - LPC-Link
Description = LPC-Link Probe v1.3
Serial Number = WIN64HS12
VID:PID = 1FC9:0009
Path =
IsOpen = FALSE
WireInitialized = FALSE
WireProtocol = JTAG
CoresConfigured = FALSE
PacketSize = 512
Reference Count = 0
HasSWV = FALSE
HasETM = FALSE
HasJTAG = TRUE
HasSWD = TRUE
Probe Type = WINUSB
Probe Reference Count = 0
redlink>quit
[Closed]

-------------------------------------------------

GDB trace : 

753,514 2-gdb-version
753,515 ~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20151217-cvs-LPCXpresso001\n"
753,516 ~"Copyright (C) 2015 Free Software Foundation, Inc.\n"
753,516 ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is fre\
e software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitt\
ed by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
753,516 ~"This GDB was configured as \"--host=i686-linux-gnu --target=arm-none-eabi\".\nType \"show \
configuration\" for configuration details."
753,516 ~"\nFor bug reporting instructions, please see:\n"
753,516 ~"<http://www.gnu.org/software/gdb/bugs/>.\n"
753,516 ~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/soft\
ware/gdb/documentation/>.\n"
753,516 ~"For help, type \"help\".\n"
753,516 ~"Type \"apropos word\" to search for commands related to \"word\".\n"
753,516 2^done
753,517 (gdb)
753,517 3-environment-cd /media/partage/wsLangageC/NXP/wsLPC12_text/tstUlpc12
753,518 3^done
753,518 (gdb)
753,519 4-gdb-set breakpoint pending on
753,519 4^done
753,519 (gdb)
753,520 5-enable-pretty-printing
753,520 5^done
753,521 (gdb)
753,521 6-gdb-set python print-stack none
753,522 6^done
753,522 (gdb)
753,523 7-gdb-set print object on
753,523 7^done
753,523 (gdb)
753,524 8-gdb-set print sevenbit-strings on
753,524 8^done
753,525 (gdb)
753,525 9-gdb-set charset ISO-8859-1
753,526 9^done
753,526 (gdb)
753,527 10-gdb-set auto-solib-add on
753,528 10^done
753,528 (gdb)
753,531 11-file-exec-and-symbols --thread-group i1 /media/partage/wsLangageC/NXP/wsLPC12_text/tstUlp\
c12/Debug/tstUlpc12.axf
753,536 11^done
753,536 (gdb)
753,539 12-interpreter-exec console "set remotetimeout 60000"
753,540 =cmd-param-changed,param="remotetimeout",value="60000"
753,540 12^done
753,540 (gdb)
753,679 13-target-select extended-remote | crt_emu_cm_redlink -msg-port=36774 -g -mi -2 -pLPC1224/12\
1 -vendor=NXP -ConnectScript=LPC12XXConnect.scp -ResetScript=LPC12XXReset.scp -reset= -ProbeHandle=1\
-CoreIndex=0 -flash-driver=LPC11_12_13_48K_4K.cfx
753,991 =thread-group-started,id="i1",pid="42000"
753,992 =thread-created,id="1",group-id="i1"
753,993 14-list-thread-groups --available
754,011 ~"0x1fff0aaa in ?? ()\n"
754,011 *stopped,frame={addr="0x1fff0aaa",func="??",args=[]},thread-id="1",stopped-threads="all"
754,011 13^connected
754,011 (gdb)
754,011 14^error,msg="Can not fetch data now."
754,011 (gdb)
754,022 15-interpreter-exec console "set mem inaccessible-by-default off"
754,022 =cmd-param-changed,param="mem inaccessible-by-default",value="off"
754,022 15^done
754,022 (gdb)
754,024 16-interpreter-exec console "mon ondisconnect cont"
754,025 16^done
754,025 (gdb)
754,026 17-interpreter-exec console "set arm force-mode thumb"
754,027 =cmd-param-changed,param="arm force-mode",value="thumb"
754,027 17^done
754,027 (gdb)
754,029 18-interpreter-exec console "mon capabilities"
754,030 18^done
754,030 (gdb)
754,033 19-interpreter-exec console "set remote hardware-breakpoint-limit 4"
754,033 =cmd-param-changed,param="remote hardware-breakpoint-limit",value="4"
754,033 19^done
754,033 (gdb)
754,035 20-interpreter-exec console "mon semihost enable"
754,036 20^done
754,036 (gdb)
754,038 21-interpreter-exec console "mon info,all"
754,038 21^done
754,041 (gdb)
754,170 22-data-list-register-names
754,170 22^done,register-names=["r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12",\
"sp","lr","pc","","","","","","","","","","xpsr","","","","","","","","","","","","","","","","","",\
"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\
","","","","","","","","","","","","","","","cycles"]
754,171 (gdb)
754,174 23-target-download
754,175 23+download,{section=".text",section-size="1288",total-size="42552"}
754,326 23^error,msg="Error finishing flash operation"
754,326 (gdb)
754,333 24-target-disconnect
754,333 25-gdb-exit
754,383 =thread-group-exited,id="i1"
754,383 24^done
754,384 (gdb)
754,384 25^exit

--------------------------------------------------------

Debug messages :

LPCXpresso RedlinkMulti Driver v8.1 (Mar 11 2016 13:35:29 - crt_emu_cm_redlink build 672)
============= SCRIPT: LPC12XXConnect.scp =============
LPC12XX Connect Script
No probes found
DpID = 0BB11477
AP_ID = 0x04770021
============= END SCRIPT =============================
Probe Firmware: LPC-Link Probe v1.3 (NXP - LPC-Link)
Serial Number: WIN64HS12
VID:PID: 1FC9:0009
USB Path:
Emu(0): Connected&Reset. DpID: 0BB11477. CpuID: 410CC200. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
inspected v.2 On-chip Flash Memory /usr/local/lpcxpresso_8.1.4_606/lpcxpresso/bin/Flash/LPC11_12_13_48K_4K.cfx
image 'LPC11_12_13 (48K Flash, min 4K RAM) Feb 16 2016 09:19:04'
NXP: LPC1224/121 Part ID: 0x00000000
( 65) Chip Setup Complete
Connected: was_reset=true. was_stopped=true
LPCXpresso Free License - Download limit is 256K
Flash Driver V.2 startup failed - rc Em(12). System rejected access at location 0xFFFFFFFF - verify Population of memory and peripherals
(100) Writing Flash ended with an error.
Target error from Commit Flash write: Em(12). System rejected access at location 0xFFFFFFFF - verify Population of memory and peripherals
(crt_emu_cm_redlink) terminating on communication loss: Pipe has been closed by GDB.

0 Kudos

1,559 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Make sure you compare your board design against:

https://community.nxp.com/message/630601 

Try booting your LPC12 into ISP mode before starting your debug session:

Regaining debug access to target MCU 

Try booting your LPC-Link1 manually, and follow the trouble shooting section :

Booting LPC-Link 

Make sure your application has been configured to disable the watchdog:

LPC12 Watchdog 

It also looks like you are running the IDE on Linux. Can you confirm the exact OS you are using and also that you have followed the installation notes for Linux, as detailed in the IDE documentation and at:

Installing LPCXpresso on Linux 

Regards,

LPCXpresso Support

0 Kudos

1,559 Views
christophesicot
Contributor I

thanks a lot for your answer.

Make sure you compare your board design against :
I put 47k pull down on SWCLK
I put 47k pull up on SWDIO
I don't know what is SWV.
I have a 10k pull up on ISD pin.

see schematic on the uploaded pdf file

Try booting your LPC12 into ISP mode before starting your debug session:
I put ISD to GND and make a Reset. Led go to White color indicate ISD mode.
I launch DEBUG session : same error.

Try booting your LPC-Link1 manually, and follow the trouble shooting section :
:/usr/local/lpcxpresso_8.1.4_606/lpcxpresso/bin$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 0471:df55 Philips (or NXP) LPCXpresso LPC-Link
Bus 001 Device 004: ID 13fe:4100 Kingston Technology Company Inc. Flash drive
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 002: ID 5986:055c Acer, Inc
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
christophe@portableLDLC:/usr/local/lpcxpresso_8.1.4_606/lpcxpresso/bin$ ./dfu-util -d 0x471:0xdf55 -c 0 -t 2048 -R -D LPCXpressoWIN.enc
dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x0471:0xdf55...
Claiming USB DFU Runtime Interface...
Determining device status: state = dfuIDLE, status = 0
WARNING: Runtime device already in DFU state ?!?
Found Runtime: [0x0471:0xdf55] devnum=7, cfg=0, intf=0, alt=0, name="UNDEFINED"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x0800
bytes_per_hash=583
Starting download: [##################################################] finished!
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!
can't detach: error sending control message: Broken pipe
Resetting USB to switch back to runtime mode

Make sure your application has been configured to disable the watchdog :
I m sure, see source code attached.I uploaded my project 

defined symbol : _DISABLE_WATCHDOG

no wdt refresh on the main loop, and the blinking is OK (no reset to disturb led color sequence)

It also looks like you are running the IDE on Linux. Can you confirm the exact OS you are using and also that you have followed the installation notes for Linux, as detailed in the IDE documentation and at:....
I use Ubuntu 16.04 : works ok with LPC1115 personal board.

I also try on windows on 2 differents PC : same error, 

0 Kudos