|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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 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 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. |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
||||
|
||||
|
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 so i'll play around with it a little more and will look into changing the baud rate. Last edited by Iseekknowledge : 12-02-2006 at 22:29. |
|
#4
|
||||
|
||||
|
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.
|
|
#5
|
||||
|
||||
|
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.
|
|
#6
|
|||
|
|||
|
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 Code:
make run |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |