Target connection Failed

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

Target connection Failed

856件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by espirit on Thu Jul 14 05:18:20 MST 2011
I'm using board LPCXpresso LPC1114 (target+link)
I configured some special pins sush as RESET (pin 0.0), SWCLK(pin 0.10), SWDIO (pin 1.3) as PIO function. Then I use them as output pin to connect to my peripherals.

Code: [I]LPC_IOCON->RESET_PIO0_0=0x1;
      GPIOSetDir(0,0,1);
      GPIOSetValue(0,0,0);
[/I]
When I debug, I have this message:

Error launching Debug\project130711.axf
02:Failed on connect: Ee(07). Bad ACK returned from status - wire erorr.:

Help me solve this problem,please!
0 件の賞賛
返信
3 返答(返信)

844件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_USA on Thu Jul 14 11:28:45 MST 2011
It can also be useful to make sure that the ISP pin is left accessible, at least early in the design. It is possible to disable the debug port via software either via PLL settings or by reprogramming the debug pins. If the ISP pin is available then the application code can be intercepted before it starts and then the debugger can be used to erase and recover the part.
0 件の賞賛
返信

844件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Jul 14 05:25:36 MST 2011
If you change SWD pin functions to GPIO, no further debugging / programming with SWD is possible :eek::eek:
(unless you switch to ISP http://support.code-red-tech.com/CodeRedWiki/DebugAccessChip) :)
0 件の賞賛
返信

844件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jul 14 05:25:09 MST 2011
Yes, if you want to be able to debug your application, don't use the debug connection (pins labeled SWD*) for some other function! It's also a good idea to leave Reset for debugger use too.
0 件の賞賛
返信