This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Using JTAG on a EB40a
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: "'Sven Rehfuss'" <rehfuss at item dot uni-bremen dot de>, <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 25 Sep 2003 09:08:29 +0200
- Subject: [ECOS] RE: Using JTAG on a EB40a
>I need both serial ports for my application. Is it possible
>to send the printf-output of my application to the JTAG?
>Can I use the gdb to display the text?
I'm pretty sure on yes to both questions. I don't think it
is difficult, but I haven't done it.
>If I have a board which has to angel, redboot etc. programmed
>into flash, how do I manage to program the flash using JTAG?
The easiest alternative is a flash programmer. A piece of software
that will write to the flash chip via JTAG. We bought one
for wiggler for ~$400.
Alternatively:
- W.r.t. Angel. Most comments that I've seen is that its
not worth the bother.
- Compile a Redboot which can upload applications directly to
flash. I wrote a patch to modify Redboot to do so, but it
was not accepted(long story, and I'm happy with the outcome).
http://sources.redhat.com/ml/ecos-patches/2003-07/msg00023.html
http://sources.redhat.com/ml/ecos-patches/2003-07/msg00075.html
These days we use our home cooked bootloader
to upload applications to flash via the serial port. Since
this bootloader will ship to the customer, we want to give
it as much testing as possible.
Øyvind
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss