Lpc1114 Jtag problem ?

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

Lpc1114 Jtag problem ?

1,005 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Aurélien on Fri Sep 23 00:27:12 MST 2011
Hello,

I connected Jtag for use developpement of the lpc-link and when I try to test examples like blinky or adc, it doesn't work. Could you please help me ? :)

The program runs after the initialization without pushing run and nothing happen, LED is not blinking.
0 Kudos
Reply
9 Replies

960 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tsdcr on Thu Nov 22 05:36:48 MST 2012
i have a linux system
with ubuntu 12.10
it shows error when i try to debug the blinky example program.
The error log is as follows

LPCXpresso Debug Driver v4.0 (May 22 2012 15:05:52)
Looked for chip XML file in /usr/local/lpcxpresso_4.2.3_255/lpcxpresso/bin/LPC1347.xml
Looked for vendor directory XML file in /usr/local/lpcxpresso_4.2.3_255/lpcxpresso/bin/nxp_directory.xml
Found generic directory XML file in /usr/local/lpcxpresso_4.2.3_255/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: 2BA01477. Info: LPCLINK_1_1
SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.
NXP: LPC1347  Part ID: 0x08020543
Connected: was_reset=false. was_stopped=false
v Registered license, download limit of 128K
Writing 2288 bytes to 0000 in Flash (assumed clock: 12.0MHz)
Erased/Wrote page  0-0 with 2288 bytes in 1413msec
Flash write Done
nSRST assert (if available)
Executing in user flash.
Stopped: Halt
(crt_emu_lpc11_13_nxp) terminating on communication loss: Pipe has been closed by GDB.


,,Assistance requried>
Thank U..:)
0 Kudos
Reply

960 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Aurélien on Fri Sep 23 02:03:59 MST 2011
Ok thanks for everything, it was a great help. ;)

Best regards,
Aurélien
0 Kudos
Reply

960 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Sep 23 01:34:21 MST 2011
ISP Pin is P0.1 :eek::eek:

http://support.code-red-tech.com/CodeRedWiki/DebugAccessChip?highlight=%28isp%29
0 Kudos
Reply

960 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Aurélien on Fri Sep 23 01:27:08 MST 2011
I followed instructions in LPCXpresso getting started page 35. ISP is connected to pin 3, PIO0_0/Reset.

No problem with downloading.



Quote: Zero
Your program is starting in bootloader :eek:

There's no initial breakpoint, so it's  starting after programming :)

Why is it starting in bootloader?

#1 ISP Pin low?

#2 Downloaded program is not valid?

0 Kudos
Reply

960 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Sep 23 01:13:06 MST 2011
Your program is starting in bootloader :eek:


Quote:

[B][COLOR=Red]Executing in bootloader.[/COLOR][/B]

There's no initial breakpoint, so it's  starting after programming :)

Why is it starting in bootloader?

#1 ISP Pin low?

#2 Downloaded program is not valid?
0 Kudos
Reply

960 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Aurélien on Fri Sep 23 01:05:33 MST 2011
The Debug Log  gave me this :

LPCXpresso Debug Driver v4.0 (Jun 21 2011 23:10:27)
Looked for chip XML file in C:/nxp/LPCXpresso_4.0.5_123/lpcxpresso/bin/LPC1114/301.xml
Looked for vendor directory XML file in C:/nxp/LPCXpresso_4.0.5_123/lpcxpresso/bin/nxp_directory.xml
Found generic directory XML file in C:/nxp/LPCXpresso_4.0.5_123/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID:  BB11477. Info: T1S6RGRIA
SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.
NXP: LPC1114/301  Part ID: 0x0444102B
Connected: was_reset=false. was_stopped=false
v Registered license, download limit of 128K
Writing 2380 bytes to 0000 in Flash (assumed clock: 12.0MHz)
Erased/Wrote page  0-0 with 2380 bytes in 1138msec
Flash write Done
nSRST assert (if available)
Executing in bootloader.
GDB trying to set entry point of 0x0300, but correct entry is 0x1FFF0F10
Stopped: Halt
(crt_emu_lpc11_13_nxp) terminating on communication loss: Pipe has been closed by GDB.
LPCXpresso Debug Driver v4.0 (Jun 21 2011 23:10:27)
Looked for chip XML file in C:/nxp/LPCXpresso_4.0.5_123/lpcxpresso/bin/LPC1114/301.xml
Looked for vendor directory XML file in C:/nxp/LPCXpresso_4.0.5_123/lpcxpresso/bin/nxp_directory.xml
Found generic directory XML file in C:/nxp/LPCXpresso_4.0.5_123/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID:  BB11477. Info: T1S6RGRIA
SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.
NXP: LPC1114/301  Part ID: 0x0444102B
Connected: was_reset=false. was_stopped=false
v Registered license, download limit of 128K
Writing 2380 bytes to 0000 in Flash (assumed clock: 12.0MHz)
Verified-same page 0-0 with 2380 bytes in 509msec
Flash write Done
nSRST assert (if available)
Executing in bootloader.
GDB trying to set entry point of 0x0300, but correct entry is 0x1FFF0F12
0 Kudos
Reply

960 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Aurélien on Fri Sep 23 00:42:16 MST 2011
No I have already used LPCXpresso, but after using debug mode, I can't click on run button, only pause or stop.

LPClink Driver, what do you mean ?

Regards,
Aurélien


Quote: NXP_Europe
Hi,

Did you check following things for LPC Link?
LPCLink Driver properly installed.
You are using debug mode and click run button

Are you running LPCXpresso for the first time?
Kind Regards,
Hassan

0 Kudos
Reply

960 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Sep 23 00:39:19 MST 2011
Please provide more information like

http://support.code-red-tech.com/CodeRedWiki/DebugLog


Quote:

...I try to lunch...

...and don't eat it :eek:
0 Kudos
Reply

960 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Fri Sep 23 00:34:03 MST 2011
Hi,

Did you check following things for LPC Link?
LPCLink Driver properly installed.
You are using debug mode and click run button

Are you running LPCXpresso for the first time?
Kind Regards,
Hassan



Quote: Aurélien
Hello,

I connected Jtag for use developpement of the lpc-link and when I try to lunch examples like blinky or adc, it doesn't work. Could you please help me ? :)

The program runs after the initialization without pushing run and nothing happen, LED is not blinking.

0 Kudos
Reply