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 / 82
81  |  83
Subject: 
Re: Alternate NXT-Firmware flashing tools
Newsgroups: 
lugnet.robotics.nxt.nxthacking
Date: 
Sun, 29 Jul 2007 09:24:39 GMT
Viewed: 
25775 times
  
In lugnet.robotics.nxt.nxthacking, Juergen Stuber wrote:
> Hi Christian,
> 
> "Christian Mock" <chrimo-@-moccy.xdsnet.de> writes:
> > 
> > yes this is a trivial job, but what should I learn from this packets ?
> 
> if you have an endianness problem it should be visible.
> The easiest would be to compare it with a little-endian machine.
> 
> > fwflash returns no error back to commandline ...
> > 
> > Does this mean fwflash works blindly and returns no
> > protocol or packet errors ?
> 
> It uses the SAM-BA protocol, which is rather simple and without
> error checking, more like what a human would type on a command line,
> except that some parts are in binary.
> It is documented in the AT91SAM7S data sheet.
> Basically it allows to access memory and start programs on the device.
> 
> Flashing is done by loading a small program into memory
> for flashing a page, then for each page the data is loaded
> and the routine for flashing is executed on the data.
> 
> > Why is the result "success" ???
> 
> As far as I remember there is no error checking,
> which explains why error sometimes go undetected
> and the NXT doesn't boot.
> Error checking could be added, though.
> 
> > I hoped that anybody of the "creators" have done this
> > before, or is nobody using fwflash with the NXT ?
> 
> I used the version in NXJ successfully both for the NXT and
> for an AT91SAM7S-EK evaluation board, which uses the same processor.
> 
> But you could be the first to use it on a big endian machine ...
> 
> 
> Jürgen

Hi Jürgen,

just for information:
nxjflash has the same problems at PPC and SPARC ;-(
Next week I try to get a little endian machine and try it again...

Thanx for your detailed informations
Bye
Christian



Message is in Reply To:
  Re: Alternate NXT-Firmware flashing tools
 
Hi Christian, (...) if you have an endianness problem it should be visible. The easiest would be to compare it with a little-endian machine. (...) It uses the SAM-BA protocol, which is rather simple and without error checking, more like what a human (...) (19 years ago, 28-Jul-07, to lugnet.robotics.nxt.nxthacking)

9 Messages in This Thread:


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

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