EmbDev.net

Forum: ARM programming with GCC/GNU tools DBGACK set, but the target did not end up in the halted stat


Author: Nils Soderman (nilswed)
Posted on:

Rate this post
0 useful
not useful
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

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.