Can't debug my project: DALI slave LPC1114

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

Can't debug my project: DALI slave LPC1114

1,369 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by SvenBexPXL on Tue Apr 01 03:08:35 MST 2014
Hello everyone, this is my first time working with LPCXpresso and I have solved several of the issues I have had.

But I have a issue I can't resolve right now, Everytime I try to debug the DALI_Slave_LPC111x onto my Dali demo board, the progress bar of "Launching DALI_Slave_LPC111x" gets stuck at 94% then after a few minutes I get the following error:

Target reported errors

Reason:
15: Target error from Commit Flash write


Here is how I set it up:

- A NXP LPC-LINK board connected by USB to the PC (the LPCXpresso board is still attached)
- OM13026 DALI slave board connected to a 3v3 50mA power supply
- These two are connected to eachother by a 10 pin Jtag cable

I have tried changing the USB cable, the USB port, both LPCXpresso v5.2.6_2137 and v7.0.2_102.

It has done something since the default program is no longer loaded in the DALI slave board, but not the new program.

Any help would be usefull, thx in advance  :)
0 Kudos
Reply
5 Replies

1,303 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by SvenBexPXL on Wed Apr 02 00:08:36 MST 2014
It works now.

Thank you for your quick responce and helping me with my rookie mistake.

Greetings Sven
0 Kudos
Reply

1,303 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by SvenBexPXL on Tue Apr 01 03:44:51 MST 2014

Quote: lpcxpresso-support
Have you separated the LPC target from the LPC-Link board? You MUST do this if you are trying to do this with LPC-Link as a standalone debug probe.

See this document for details on how to create a standalone LPC-Link.

http://www.embeddedartists.com/sites/default/files/docs/HowToCreateAnLPC-LINK.pdf



No, I have not. I thought this wouldn't cause any problems.

I will desolder them when I get home and try again tomorrow, and see if it works.

Thank you for the advice :)
0 Kudos
Reply

1,303 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by SvenBexPXL on Tue Apr 01 03:36:11 MST 2014
If you count the target board then I have 2 targets on 1 LPC-Link yes (Target board + NXP DALI slave)
0 Kudos
Reply

1,303 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Apr 01 03:34:48 MST 2014
Have you separated the LPC target from the LPC-Link board? You MUST do this if you are trying to do this with LPC-Link as a standalone debug probe.

See this document for details on how to create a standalone LPC-Link.

http://www.embeddedartists.com/sites/default/files/docs/HowToCreateAnLPC-LINK.pdf
0 Kudos
Reply

1,303 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Tue Apr 01 03:29:57 MST 2014

Quote: SvenBexPXL

- A NXP LPC-LINK board connected by USB to the PC (the LPCXpresso board is still attached)



:quest:

So your LPCXpresso (= LPC-LINK board + target board) is not separated and you have connected 2 targets to 1 LPC-Link?
0 Kudos
Reply