public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] eCos invalidating JTAG on ARM architecture ?
@ 2007-07-05  8:38 Alexandre
  2007-07-05 14:33 ` [ECOS] " Alexandre
  2007-07-05 16:04 ` [ECOS] " Paul D. DeRocco
  0 siblings, 2 replies; 21+ messages in thread
From: Alexandre @ 2007-07-05  8:38 UTC (permalink / raw)
  To: ecos-discuss

Hi everyone,

I finally manage to run eCos on my eval board (yipee!) thanks to all
of you guys but i have a slight debugging problem (again i know, I'm a
problem maker -.-).

After I upload my eCos code to my board via JTAG (code which is fully
functioning by the way), I can't by any mean reach it again via JTAG.
OpenOCD just says it can't communicate with my board. Seems like eCos
just disable my JTAG. The only way I can access my micro controller
again is by UART, erasing the flash using ISP, and then reflashing it
by JTAG works anew. So it works, but I can't debug the thing.

I lurked through the mailing list to see if anything like that
happened to someone and couldn't find anything so my first guess is I
did something wrong (I'm a pessimistic person).

There are two JTAGs available on my micro controller, one is supposed
to be always enabled when a definite input is pulled to LOW by
hardware means (which I've done, this is the way I manage to upload
the eCos code in the first ways). The second JTAG is enabled by
registry means.

I tried to upload a dummy code without ecos and the first JTAG (the
hardware enabled) works perfectly without any init. The second one
(the software enabled) works also if I input the correct init (which I
did, I mean I managed to make it work ^^).

But with eCos, neither works :(
I tried to put my init code from the dummy software in the eCos init
but I can't make the second JTAG work and the first one isn't working
either.

I was guessing maybe eCos init for ARM (or maybe the olimex lpc2106
port) may have a thing which disable JTAG. Is it possible or did I do
something wrong and JTAG should work with eCos ?

For reference I use an LPC2106 ARM7 micro controller.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2007-07-12  7:16 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-05  8:38 [ECOS] eCos invalidating JTAG on ARM architecture ? Alexandre
2007-07-05 14:33 ` [ECOS] " Alexandre
2007-07-05 20:54   ` Sergei Gavrikov
2007-07-05 21:00     ` Alexandre
2007-07-06 10:44       ` Sergei Gavrikov
     [not found]         ` <d5aafeec0707060446s14079f3crfa90914e187833a3@mail.gmail.com>
2007-07-06 16:49           ` Sergei Gavrikov
2007-07-06 17:24             ` Sergei Gavrikov
2007-07-10  9:56               ` Alexandre
2007-07-10 10:15                 ` Andrew Lunn
2007-07-10 15:02                   ` Alexandre
2007-07-10 15:14                     ` Andrew Lunn
2007-07-10 15:52                       ` Andy Jackson
2007-07-10 18:25                         ` Alexandre
2007-07-11 11:12                           ` [ECOS] IPMI driver for KCS interface jerzy dyrda
2007-07-11 11:38                             ` Laurie Gellatly
2007-07-11 12:33                               ` jerzy dyrda
2007-07-12  7:16                                 ` David Fernandez
2007-07-11 11:46                             ` Andrew Lunn
2007-07-10 15:59                       ` [ECOS] Re: eCos invalidating JTAG on ARM architecture ? Alexandre
2007-07-05 16:04 ` [ECOS] " Paul D. DeRocco
2007-07-05 16:25   ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).