To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxt.nxthackingOpen lugnet.robotics.nxt.nxthacking in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / NXT Firmware Hacking / 68
67  |  69
Subject: 
Re: Adding a JTAG port?
Newsgroups: 
lugnet.robotics.nxt.nxthacking
Date: 
Fri, 29 Jun 2007 11:21:24 GMT
Viewed: 
15615 times
  
In lugnet.robotics.nxt.nxthacking, Matt Jadud wrote:
Hi all,

Do I need to add a JTAG port to develop an alternative runtime for the
NXT? We did the RCX without this level of debugging, and the NXT is
far more open. Is it necessary, nice to have, or simply not necessary
at all?
I used a JTAG tool in the beginning by glueing a JTAG connector manually. You
could do that and perhaps have a look at section 4.3 in
http://nxtgcc.sourceforge.net/nxtgcc.pdf
However it is easier to use libnxt. I am using it in this project:
http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x-contrib/nxtmote/misc/docs/html/tutorial/lesson-a.html?revision=1.1
You can download libnxt source from (or of course from the Google code site),
but then you have to correct one or two things ourself that I have corrected:
http://sourceforge.net/project/showfiles.php?group_id=174093
The NXTGCC project has some sources that compile on GCC:
http://sourceforge.net/projects/nxtgcc
It is an easy point of departure for custom firmware builds.
If you look at my post from yesterday, you can look at the simple binary
debugger using the light sensor:-) But if you did RCX stuff, I am sure this is
quite trivial for you.


Given that our VM is, at its core, strictly ANSI C, we've had no
problems running it on new hardware (eg. the H8300 in the RCX, the
MSP430, and an ARM9 on the Surveyor SRV-1). For this reason, I'm not
overly concerned about having hardware-level debugging. But, I thought
I'd ask.
Good luck. Perhaps you can post a link to the project home page later...
Best,
Rasmus

Cheers,
Matt



Message is in Reply To:
  Adding a JTAG port?
 
Hi all, Do I need to add a JTAG port to develop an alternative runtime for the NXT? We did the RCX without this level of debugging, and the NXT is far more open. Is it necessary, nice to have, or simply not necessary at all? Given that our VM is, at (...) (17 years ago, 29-Jun-07, to lugnet.robotics.nxt.nxthacking)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR