LPCXpresso debugger not working with Base Board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPCXpresso debugger not working with Base Board

667件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by digitalwiz on Mon Sep 08 18:10:49 MST 2014
I just received an LPCXpresso Base Board to go with my LPC1769.I downloaded and built the demo from Embedded Artists. When I try to debug the demo, I get the following two error windows:

Error reported by target

02: Failed on connect
MEM-AP is not selected.
Emu(0): Connected. Was: None. DpID:  EDB6.info: ID64HS12

Error while launching Debug\demo.axf

Failed to execute MI command:
-target-select extended-remote | crt_emu_cm3_nxp -msg-port=62907 -g -mi -2 -pLPC1769 -vendor=NXP -e0 -wire=hid -flash-driver=LPC175x_6x_512.cfx
Error message from debugger back end:
Remote communication error. Target disconnected.: No error.
Remote communication error. Target disconnected.: No error.

Oddly enough, after a few seconds the program starts running. All of the peripherals appear to respond correctly, but of course the debugger isn't running.

If I unplug the LPC1769 from the Base Board and start a debug session, the debugger will take control properly. I'm running LPCXpresso v7.3.0 [Build186].
0 件の賞賛
返信
2 返答(返信)

644件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by digitalwiz on Tue Sep 09 08:48:49 MST 2014
"When all else fails, read the instructions". Thanks LabRat, that was it.
0 件の賞賛
返信

644件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Mon Sep 08 20:05:20 MST 2014
User's Guide:

http://www.embeddedartists.com/sites/default/files/support/xpr/base/LPCXpresso_BaseBoard_rev_B_Users...


Quote:

3.3 Board Powering

The LPCXpresso Base Board shall be powered from a PC via the included USB cable (mini-B to A cable).Up to 500mA can be drawn from the USB port. Note that not all PC USB ports supply the specified top current (500 mA). This is especially true for laptops, but affects many desktop PCs too. If in doubt, use a powered USB hub to power the LPCXpresso Base Board.

Symptoms when insufficient power is supplied can exhibit itself in a number of ways:

- the board is always in reset; in this case also check section 8.1 for more information. J54 jumpers (see Figure 21 ) might need to be removed,

[color=#f00]- the board may appear to work, but:
- you mail fail to program the Flash on the device (as more power is drawn), or
- the debugger may not be able to find the target, or
- the debugger may disconnect unexpectedly, or
- a variety of other inexplicable errors[/color]

0 件の賞賛
返信