9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Gorka Guardiola <paurea@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] first steps with the jtag...
Date: Fri, 26 Nov 2010 11:09:31 +0100	[thread overview]
Message-ID: <AANLkTi=PnT4CvTCaA7JO3BL9O_BjsoUgD5n5rNP0S0Fs@mail.gmail.com> (raw)

As there seemed to be a lot of interest here on the jtag front,
I´ll report my progress to this moment.

I added some minimal endpoint initialization support to
usb/serial (patch now on sources). I have written a
small tap state machine mover and mpsse assembler that now
seem to work. I have written some code to do mainly
three things:

1) reset the machine by asserting the trst signal through the jtag
This now works, so if anyone needs a remote usb  resetter, I have one :-).
The nice thing about this is that it is hw, it is equivalent of
pressing the button,
so if the machine is really frozen, it should still work.

2) initialize the mpsse. There is no visible outcome of this, so I don't know
if it works though the fact that 1) works may imply that it does.

3) shift either the IR or the DR. This does not work yet, I am unsure why
and I am debugging it now.

If you want to take a look at the unfinished thing as it is now, it is in
contrib/paurea/jtag.tgz. As I said, it is unfinished, so if it burns down
your plug, it is your fault...

Once 3 is there, most of the jtag support is done and the next step is
embedded ice.

G.



                 reply	other threads:[~2010-11-26 10:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='AANLkTi=PnT4CvTCaA7JO3BL9O_BjsoUgD5n5rNP0S0Fs@mail.gmail.com' \
    --to=paurea@gmail.com \
    --cc=9fans@9fans.net \
    /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 NNTP newsgroup(s).