public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Alexandre <thekyz@gmail.com>
To: ecos-discuss <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] Re: eCos invalidating JTAG on ARM architecture ?
Date: Thu, 05 Jul 2007 14:33:00 -0000	[thread overview]
Message-ID: <d5aafeec0707050733h67301df3w8bdbd670f529e8a1@mail.gmail.com> (raw)
In-Reply-To: <d5aafeec0707050138x77899ec2j85d5896252ffe8b0@mail.gmail.com>

A little update on that, the problem does not occur if i use
cyg_usr_start instead of main as an entry point.

On 7/5/07, Alexandre <thekyz@gmail.com> wrote:
> 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

  reply	other threads:[~2007-07-05 14:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05  8:38 [ECOS] " Alexandre
2007-07-05 14:33 ` Alexandre [this message]
2007-07-05 20:54   ` [ECOS] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d5aafeec0707050733h67301df3w8bdbd670f529e8a1@mail.gmail.com \
    --to=thekyz@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).