Re: Seeking JTAG emulator for Atmel AT91 ARM Cores on Linux



On 19.8.10 8:13 , Johnson wrote:
Good point and than you for your reply.

We designed our own board, JTAG and USB ports are in the board, No
Serial Port or Ethernet. I am going to run GDB server on the board, and
use GDB for debugging. The USB has to be connected to a peripheral
during the debug process, so basically only JTAG is available for
debugging, which is the main reason that I am asking around about the
possibility to debug the firmware with JTAG.

Do you have any idea for my trouble? Thanks a lot.



Frank Buss wrote:
Johnson wrote:

We are porting a windows application from desktop into embedded Linux
on Atmel AT91 ARM Cores, thus we need JTAG to debug the firmware
under a Linux environment.

Why do you need JTAG to debug the firmware at all? Besides using
printf for
debugging, you can use gdbserver on your platform (if you have a spare
serial port or over TCP/IP) and e.g. Insight on your development machine,
if you are not comfortable with gdb (but Insight is a bit buggy, so
most of
the time I use the raw gdb command line interface, when using a debugger,
which I don't need very often).

I've used this even for Linux kernel and driver level debugging for an
AT91
system, but usually debugging this level is better with GPIO test
signals,
a scope and some syslogs.


This looks pretty much tha same situation I was in.

If you run JTAG via OpenOCD, it can serve as a GDB server,
so there is no need to have the server on target board.

I used Amontec USB dongle for JTAG and OpenOCD for ARM7TDMI (AT91R40008).

--

Tauno Voipio
tauno voipio (at) iki fi

.



Relevant Pages

  • Re: USB as standard debug interface
    ... debugging regardless of using a serial port or a USB VCP. ... number of JTAG adapters for various MCUs. ... Works pretty well and you can double up a serial port on the same device. ...
    (comp.arch.embedded)
  • Re: Arm, gdb and jtag
    ... > I am somewhat confused about debugging arm processors through the jtag ... > integrated to provide jtag debug access, ... > that with arm. ... Raven or Wiggler can works over GNU GDB or all other popular Debugger ...
    (comp.arch.embedded)
  • Re: Seeking JTAG emulator for Atmel AT91 ARM Cores on Linux
    ... We designed our own board, JTAG and USB ports are in the board, No Serial Port or Ethernet. ... I am going to run GDB server on the board, ... The USB has to be connected to a peripheral during the debug process, so basically only JTAG is available for debugging, which is the main reason that I am asking around about the possibility to debug the firmware with JTAG. ...
    (comp.arch.embedded)
  • Re: Arm7 or Freescale Coldfire?
    ... have a BDM interface for debugging, and a JTAG interface for boundary ... None of the newer ones have separate BDM, all ... Some people do get enough data to make debugging equipment. ...
    (comp.arch.embedded)
  • Re: Seeking JTAG emulator for Atmel AT91 ARM Cores on Linux
    ... debugging, and application debugging. ... I'd recommend using the bootloader for firmware download. ... JTAG is not useful for application debugging. ...
    (comp.arch.embedded)