LPC1549 watchdog example program doesn't work

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1549 watchdog example program doesn't work

1,313 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bruno.vt on Wed Oct 15 02:32:06 MST 2014
Hello, I programmed the 1549 evaluation board with the example of the watchdog periph_wwdt.
When running the program an error message appears. Then I can't program anymore the uP!
Is there an error on the fw example? Why is not possible to program again?


This is the console output:

LPCXpresso RedlinkMulti Driver v7.4 (Sep 11 2014 00:18:29 - crt_emu_cm_redlink build 154)
============= SCRIPT: LPC15RunBootRomConnect.scp =============
DpID = 2BA01477
RedlinkAPI: Wire Ack Fault - target connected?
RedlinkAPI: Wire Ack Fault - target connected?
RedlinkAPI: Wire Ack Fault - target connected?
RedlinkAPI: Wire Ack Fault - target connected?
Halt on reset vector catch
RedlinkAPI: Wire Ack Fault - target connected?
RedlinkAPI: Wire Ack Fault - target connected?
RedlinkAPI: Wire Ack Fault - target connected?
RedlinkAPI: Wire Ack Fault - target connected?
Halt on watchpoint write of ROMWSCTRL register
RedlinkAPI: Wire Ack Fault - target connected?
RedlinkAPI: Wire Ack Fault - target connected?
============= END SCRIPT =====================================
标签 (1)
0 项奖励
回复
3 回复数

1,229 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bruno.vt on Wed Oct 15 05:34:17 MST 2014
I understand. This means that the watchdog must be disabled to use the debugger.
Thanks.
0 项奖励
回复

1,229 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Wed Oct 15 02:37:41 MST 2014

Quote:
It is possible to download an image into the flash on the target that will then prevent any further debug access or connections. The classic cases of this are:

    The image contains code that sets the MCU clocks up "incorrectly".
  [color=#f00]  The image contains code that enables a watchdog timer.[/color]
    The image contains code that puts the MCU into a very low power mode.
    The image contains code that "switches off" some, or all of the multiplexed debug pins (JTAG/SWD).



See http://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access
0 项奖励
回复

1,229 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Oct 15 02:36:31 MST 2014
Boot your board into ISP mode before starting your debug connection:

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

Regards,
LPCXpresso Support
0 项奖励
回复