To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 20936
20935  |  20937
Subject: 
Re: RCX Boot
Newsgroups: 
lugnet.robotics
Date: 
Tue, 17 Jun 2003 17:51:34 GMT
Original-From: 
Fauze Valerio Polpeta <fauze@lisha.ufscANTISPAM.br>
Viewed: 
861 times
  
Allright but check if I'm right in my concepts!

Compiling a program, just text code, no data, and removing its elf reader
makes that we have instructions at the first byte. So if we upload this
file to RCX it should run. Allright?! (I have the key string in the code!)

At the same way I compiled the same program in srec format and changing
the code of the upload program I saved the image of the data that is
really uploaded to the rcx! (This code runs!!!)

Camparing the elf code and the saved image I see no diference at the start
of the files. Just at the end: the elf file has some bytes more than the
saved image?!

Can you understand me?! Both codes has the key string but I don't know why
the first dont run!!!


Regards

Fauze






On Tue, 17 Jun 2003, Dick Swan wrote:

"Fauze Valerio Polpeta" <lego-robotics@crynwr.com> wrote in message
news:Pine.LNX.4.44.0306170818020.10294-100000@sv2.lisha.ufsc.br...
However I'm in trouble with the RCX unlock. I thought that the key • string
"Do you byte, when I knock?" was just a string searched by a state
machine of the RCX firmware download protocol. Is it?! I'm starting • to
think not because compiling a program with the gcc, removing the its • elf header
and uploading this code to the RCX I've got unlock error. Must be • the
key string at the end of the file?

A quirk in the RCX ROM loader is that it only checks address range
0x8000 - 0xCC00 for the "Do you byte, when I knock" string. You will
get unlock failure (i.e. specifically a low buzz sound) if it is not
found. The download file checksum (sent in the "start firmware
download" message) is also only calculated for this range so you may
have to modify this as well.




Message is in Reply To:
  Re: RCX Boot
 
"Fauze Valerio Polpeta" <lego-robotics@crynwr.com> wrote in message news:Pine.LNX.4.44.0...ufsc.br... (...) string (...) to (...) elf header (...) the (...) A quirk in the RCX ROM loader is that it only checks address range 0x8000 - 0xCC00 for the (...) (21 years ago, 17-Jun-03, to lugnet.robotics)

4 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