Go to Post Due to risk of unforseeable consequences, teams may not initiate a wormhole for the purpose of scoring ringers from past or future matches. - Richard Wallace [more]
Home
Go Back   Chief Delphi > Other > FIRST Lego League
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-02-2006, 23:35
Iseekknowledge's Avatar
Iseekknowledge Iseekknowledge is offline
Registered User
no team
 
Join Date: Feb 2006
Location: Colorado
Posts: 3
Iseekknowledge is an unknown quantity at this point
BrickOS problems

Hey, i don't know if this is the right spot for this so if it is feel free to move it. but heres my delima. i'm operating off of a linux system (Ubuntu 5.04 Hoary Hedgehog) and i downloaded BrickOS-0.9.0 and all of the stuff it needs (gcc-h8300-hms-2.95.2.2.1) and i was able to download the firmware using
Code:
$ firmdl3 /usr/local/lib/brickos/brickOS.srec
but then i try to use dll and it doesn't work, so heres everything that i typed and the result from dll in verbose mode

Code:
$ cd /programs/BrickOS/brickos-0.9.0/demo
$ make
$ dll -v helloworld.lx

C.P. Chan & Tyler Akins - USB IR Tower Mode for Linux.
opening tty...

LNP Initialized...
loader hostaddr=0x00 hostmask=0xf0 portmask=0x00

delete
#time 2939359759 00 try 0: ack:0
try 1: ack:0
try 2: ack:0
try 3: ack:0
try 4: ack:0
error deleting program
when i do this the light turns on on the IR tower but i don't see anything happening on the RCX. and i was able to download the firmware so i know that it isn't a hardware problem

i've looked all over the forums and haven't found my answer, so i decided to post one. i would greatly appriciate your input.
__________________
"True knowledge is to know the extent of ones ignorance." Confucious
"The more we learn, the more we realize how little we actually know." Unknown
"Ignorance is the only enemy in this war, the war of cyberspace" Iseekknowledge
"Those who are willing to work hard often lap those who don't" Iseekknowledge
"Knowledge; without it this wouldn't exist" Iseekknowldege
  #2   Spotlight this post!  
Unread 12-02-2006, 01:43
dk5sm5luigi's Avatar
dk5sm5luigi dk5sm5luigi is offline
Registered User
AKA: Nick Galotti
FRC #1735 (Green Reapers)
Team Role: Mentor
 
Join Date: Nov 2001
Rookie Year: 1997
Location: Worcester
Posts: 293
dk5sm5luigi has much to be proud ofdk5sm5luigi has much to be proud ofdk5sm5luigi has much to be proud ofdk5sm5luigi has much to be proud ofdk5sm5luigi has much to be proud ofdk5sm5luigi has much to be proud ofdk5sm5luigi has much to be proud ofdk5sm5luigi has much to be proud ofdk5sm5luigi has much to be proud ofdk5sm5luigi has much to be proud of
Send a message via AIM to dk5sm5luigi
Re: BrickOS problems

It has been a year since I have worked with BrickOS so I don't know the exact details. You may want to check the flags you can set on the dll program there may be some options there which can help. I noticed you already use the -v flag which is helpful. Another flag I remember helping us was the speed or rate of transer. Sometimes the baud rate you are running at could cause a problem if you are running too fast for your tower.

Another issue I barely remember has something to do with BrickOS and when you install it if the options are slightly wrong you won't be able to communicate with it through the tower. I hope this information helps.
-Nick
__________________
Team 1735 Green Reapers: 2005-Present
Team 190 Gompei: 2001-2005
Team 155 Technonuts: 1997-2001
http://www.first-a-holics.com/
http://www.findrobotparts.com/
  #3   Spotlight this post!  
Unread 12-02-2006, 21:59
Iseekknowledge's Avatar
Iseekknowledge Iseekknowledge is offline
Registered User
no team
 
Join Date: Feb 2006
Location: Colorado
Posts: 3
Iseekknowledge is an unknown quantity at this point
Re: BrickOS problems

ok thanks for the input, i also followed the instructions in the readme.usb file and entered in

Code:
$ sudo mknod /dev/usb/legotower0 c 180 160
$ sudo chmod 666 /dev/usb/legotower0
and it made it so that the time was there (#time 2939359759 00 try 0: ack:0) before i used those commands all i got was #deletetry 0: ack:0 but the system recognized the tower it said that it was /dev/usb/legousbtower0 where as after i typed in $ sudo mknod /dev/usb.... then i had two legotower0 and legousbtower0

so i'll play around with it a little more and will look into changing the baud rate.
__________________
"True knowledge is to know the extent of ones ignorance." Confucious
"The more we learn, the more we realize how little we actually know." Unknown
"Ignorance is the only enemy in this war, the war of cyberspace" Iseekknowledge
"Those who are willing to work hard often lap those who don't" Iseekknowledge
"Knowledge; without it this wouldn't exist" Iseekknowldege

Last edited by Iseekknowledge : 12-02-2006 at 22:29.
  #4   Spotlight this post!  
Unread 02-03-2006, 23:41
PIRATECAPTIN's Avatar
PIRATECAPTIN PIRATECAPTIN is offline
Logo desigenr
AKA: Jim aka Paul Bunyan
FRC #1732 (Hilltopper Robotics)
Team Role: Marketing
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Oak Creek
Posts: 13
PIRATECAPTIN is on a distinguished road
Re: BrickOS problems

Man I wish you could help you out here. But my knowledge is center more on the design of a lego bot. Have you tried Robo lab by any chance? I may not be a programer but I have heard many recomendations on Robolab.
__________________
Yo ho! Yo ho! A Pirate's Life for me!

-Pirates of the Carribean
  #5   Spotlight this post!  
Unread 03-03-2006, 00:08
Iseekknowledge's Avatar
Iseekknowledge Iseekknowledge is offline
Registered User
no team
 
Join Date: Feb 2006
Location: Colorado
Posts: 3
Iseekknowledge is an unknown quantity at this point
Re: BrickOS problems

ya i looked into that, but my problem is that i need an OS that can support decimals, and i'm pretty sure that robolab doesn't. BrickOS was the only one i could find taht supported decimals. you see, i need decimals because i'm trying to make the robot ballance an inverted pendulum, and to do this you need to find velocitys, which most of the time are decimals. and i just can't multiply the velocity by 100 because once it devides D/T it already rounds it. so thats why i need to go with BrickOS.
__________________
"True knowledge is to know the extent of ones ignorance." Confucious
"The more we learn, the more we realize how little we actually know." Unknown
"Ignorance is the only enemy in this war, the war of cyberspace" Iseekknowledge
"Those who are willing to work hard often lap those who don't" Iseekknowledge
"Knowledge; without it this wouldn't exist" Iseekknowldege
  #6   Spotlight this post!  
Unread 12-11-2006, 15:20
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: BrickOS problems

Brickos works great for me. Attached is the makefile that I use to compile and download. To download the code, I type:
Code:
make load
To download and run the code, I type:
Code:
make run
Attached Files
File Type: txt Makefile.txt (3.4 KB, 87 views)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone Else Having Problems with Q&A on FIRST? Windwarrior General Forum 6 25-01-2006 10:54
Labview problems and code problems ajsetter Programming 25 18-01-2006 17:07
Vanilla ice cream == car problems?? Ken Leung General Forum 16 22-11-2005 11:07
Joystick problems archiver 2001 3 24-06-2002 02:40


All times are GMT -5. The time now is 15:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi