Debugging problem with LPC2468

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

Debugging problem with LPC2468

1,345 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Italia on Tue Jul 15 09:06:41 MST 2014
Hi,

i'm tring to debug an easly program by LPC-Link and LPCXpresso IDE. I made an easy
program just created by the wizard. When i try to debug i have the following message:

"No source available for "0x7fffe154""

The processor is an LPC2468.


Labels (1)
0 Kudos
5 Replies

1,205 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Italia on Wed Jul 16 03:41:19 MST 2014
I found the way. Just release in pull up the ISP resistor later than the degub start and found the device.
Can you explane the reason?
0 Kudos

1,205 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Italia on Wed Jul 16 01:40:28 MST 2014
I do this:

1) Pulled Down ISP PIN
2) Reset the BOard
3) Pulled UP ISP
4) Debug the program.

I have the following error showed in picture_3.
0 Kudos

1,205 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Jul 16 01:24:38 MST 2014

Quote: Italia

The ISP Pin is already in pull-down like you request to me.



You should have a pull-up on this, and only pull it down as you power up the board!

Regards,
LPCXpresso Support

0 Kudos

1,205 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Italia on Wed Jul 16 00:54:19 MST 2014
I'm using LPCXpresso IDE version is 7.1.1.

The board i'm using is a custom board with JTAG 20pin Interface that i already program and debug by JLink and emIDE, so i'm already sure
that the problem is not on the board.

The ISP Pin is already in pull-down like you request to me.

The debug log is the following:

LPCXpresso Debug Driver v0.0 (Mar 18 2014 16:49:52 - crt_emu_a7_nxp build 7)
Looked for chip XML file in C:/nxp/LPCXpresso_7.1.1_125/lpcxpresso/bin/LPC2468.xml
Looked for vendor directory XML file in C:/nxp/LPCXpresso_7.1.1_125/lpcxpresso/bin/nxp_directory.xml
Found generic directory XML file in C:/nxp/LPCXpresso_7.1.1_125/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: 4F1F0F0F. Info: WIN64HS12
JTAG Frequency: 250 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.
NXP: LPC2468  Part ID: 0x1600FF35
Connected: was_reset=false. was_stopped=true
v LPCXpresso Free License - Download limit is 256K
Writing 512 bytes to 0000 in Flash (assumed clock: 14.748MHz)
Verified-same page 0-0 with 512 bytes in 148msec
Flash write Done
Stopped



I take the screenshot that show the program in debug mode with th error (picture_1). Seem however that the debug in running cause if i put the program in pause it stop in position 7fffe156 (screenshot in picture_2)
0 Kudos

1,205 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Jul 15 23:28:12 MST 2014
I would first of all suggest booting the board into ISP mode before starting the debug connection. Does that  make any difference?

http://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access

If that doesn't help, then please post the contents of the debug log:

http://www.lpcware.com/content/faq/lpcxpresso/debug-log

Please also confirm:
[list]
  [*]What version of LPCXpresso IDE are you using (and on what host OS)?
  [*]What board are you using?
[/list]

Regards,
LPCXpresso Support
0 Kudos