LPC1769 debugging fault

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

LPC1769 debugging fault

1,239件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sasha75 on Mon Oct 24 05:13:43 MST 2011
Hello!
I failed to debug program "step-by-step" on LPCXpresso LPC1769 board.
When pressing on "Debug" button the code is being downloaded, but debugging session fails with the next message:
"10: Could not start execution from stop
  10: Could not start execution from stop
  Bad ACK returned from status - wire error.
  15: Target error from Register access
  Cannot access core regs when target running."
Flash programming ("burn-and-run") ability is still working well.
I have bought an another LPC1769 board, but the result is the same.
Can anyone help me?
Alex
0 件の賞賛
返信
5 返答(返信)

1,180件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Mon Nov 21 04:20:48 MST 2011

Quote: sasha75
But why erratic system clock/PLL programming should cause to chip fault???



Simply any combination that results in an invalid (e.g. too high) or not running (e.g. PLL switched as clock source but not running/locked/powered) will result in a non-functional CPU. There are warnings with a lot of the examples dealing with clock switching and PLL configuration about this.

To fix this, you can just pull the ISP pin (P2.10 on the 17xx) low and then connect/download with the LPC-Link module directly from the LPCXpresso tools.

Please note that before starting your application you need to make P2.10 high again, otherwise the ISP bootloader will start running instead of your code.

Cheers,
[INDENT]Rob
[/INDENT]
0 件の賞賛
返信

1,180件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sasha75 on Mon Nov 21 02:38:06 MST 2011
As I understood, the problem is in wrong system clock configuration. The solution is (the answer from local NXP support) to enter the chip in ISP mode and erase the flash using FlashMagic application. But why erratic system clock/PLL programming should cause to chip fault???
0 件の賞賛
返信

1,180件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Tue Oct 25 01:22:45 MST 2011
Hi Alex,
If you already re-installed LPCXpresso IDE than first run a few examples on your board then try your own code. If you still have same problem then do mention your configuration settings of IDE in next post.

Kind Regards,
0 件の賞賛
返信

1,180件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sasha75 on Mon Oct 24 08:28:07 MST 2011
"Are you using a standard example?" - no, I am using my project, based on standard example.
"Did you try to use another PC?" - no.
"Did you try to use another USB cable" - I tryed, it did not help.
Now I am re-installing LPCXpresso, also, I've found some tips in this thread:
http://knowledgebase.nxp.com/showthread.php?t=1589  May be, it will help...
0 件の賞賛
返信

1,180件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Oct 24 05:54:15 MST 2011
Are you using a standard example?

Did you try to use another PC?

Did you try to use another USB cable?
0 件の賞賛
返信