OpenOCD / Yagarto / Eclipse / GDB / JTAG Problem

Guest #1172136
Rate this post
• ▲ useful
▼ not useful
Hi,

I use a full Yagarto Toolchain (OpenOCD, arm-elf-gcc, arm-elf-gdb,
Eclipse) in conjunction with the Amontec JTAGKey (JTAG device). I want
to debug code on an Olimex LPC-P2129 Evaluation Board.

Things work fine as long as I don't try to step over blocks of code and
as long as I keep my debug sessions short. However, whenever I try to
step over large blocks of code (like a long while-loop) or whenever I
let the target run for long sections of code, the whole thing hangs up,
that is, OpenOCD quits with an error message, JTAGKey hangs up
completely and must be restarted by unplugging from USB and arm-elf-gdb
also crashes.

Has anyone any idea what might go wrong?

I use a standard configuration file for OpenOCD and a standard GDB
configuration script at startup. JTAG Speed is 2 (6 MHz / (2 + 1) = 2
MHz. Clock Speed is 14,745,600 Hz.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

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.