DBGACK set, but the target did not end up in the halted stat

OP #1174243
Hi,
trying to debug a 7S256-system, first flashing it. Getting the result
below. Can this be the reason the debugging initializing stops at
"continue" and the very irritating "27% loaded..."
Why, oh why...?
Can anybody give me a hint, please?
Console shows:

make program
Flash Programming with OpenOCD...
'c:/Program/openocd-r717/bin/'openocd-ftd2xx.exe -s
'c:/Program/openocd-r717/bin/' -f openocd_program.cfg  # program the
onchip FLASH here
Open On-Chip Debugger (2008-06-19 19:00) svn: 717
URL: http://svn.berlios.de/svnroot/repos/openocd/trunk
Info:    options.c:50 configuration_output_handler(): jtag_speed: 2, 2
Info:    options.c:50 configuration_output_handler(): Open On-Chip
Debugger (2008-06-19 19:00) svn: 717
Info:    jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x3f0f0f0f
(Manufacturer: 0x787, Part: 0xf0f0, Version: 0x3)
Info:    jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x3f0f0f0f
(Manufacturer: 0x787, Part: 0xf0f0, Version: 0x3)
Info:    target.c:237 target_init_handler(): executing reset script
'script.ocd'
Info:    options.c:50 configuration_output_handler(): core state: ARM
Info:    options.c:50 configuration_output_handler(): wrote 47976 byte
from file main.bin in 4.812500s (9.735390 kb/s)
Info:    jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x3f0f0f0f
(Manufacturer: 0x787, Part: 0xf0f0, Version: 0x3)
Warning: arm7_9_common.c:743 arm7_9_poll(): DBGACK set, but the target
did not end up in the halted stated 1
User:    target.c:436 target_process_reset(): Timed out waiting for halt
after reset
Flash Programming Finished.

Reply

A question of your own? This thread is over 18 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.