To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 381
380  |  382
Subject: 
Re: Text Based Programming for NXT - pbLua is Available
Newsgroups: 
lugnet.robotics.nxt
Date: 
Sat, 20 Jan 2007 04:41:25 GMT
Viewed: 
13990 times
  
Tony Buser wrote:
Here are my notes on what I've been able to accomplish so far in OSX
on my MacBookPro.

Loading pbLua firmware on nxt running standard firmware:

1. plugin usb
2. rename nxt-lua.bin to nxt-lua.rfw
3. open NXT-G, goto Tools -> Update NXT Firmware.  Click Browse
button, select folder that contains nxt-lua.rfw.  Click Download
button.  It should eventually say it was successful.
4. reboot OSX (this is the only way I can figure out how to get it to
enumerate the usb device and make pbLua come to life, I was able to do
it once without rebooting, but was trying so many different things at
the same time so I don't know what did it and I'm unable to duplicate
it)

Tony, thanks for the work so far. What happens if, after the firmware
is loaded you do any of the following:

1. Reset the NXT (press  reset for less than 1 second)
2. Unplug the USB cable, wait 5 seconds, and plug it back in again

5. NXT should stop clicking and screen should now say "pbLua
07-01-14-0" (I don't know what the numbers mean)

Here's a hint: If I rebuild the firmware tomorrow, the numbers
will be 07-01-20-0, and if I release another version tomorrow
the numbers will be 07-01-20-1 :-)

6. From here, I don't know what to do next.  Need to figure out how to
tell OSX that this device is a serial port.  When I unplug usb and
plug it back in, console says:

AppleUSBCDC: start - initDevice failed

The USB Prober app from the xcode dev tools, gives the following info:

Full Speed device @ 2 (0x3D100000):
.............................................   Communication device
from Atmel Corporation
   Device Descriptor
       Descriptor Version Number:   0x0110
       Device Class:   2   (Communication)
       Device Subclass:   0
       Device Protocol:   0
       Device MaxPacketSize:   8
       Device VendorID/ProductID:   0x03EB/0x6125   (Atmel Corporation)

That's good - it's the correct info to this point. Device class 2 should
be a straight up serial port. CDC is communication Device Class I think.

Can anyone help? I'm going to borrow a Mac this weekend to see
what I can figure out...

Cheers, Ralph



Message has 1 Reply:
  Re: Text Based Programming for NXT - pbLua is Available
 
(...) Nothing, it restarts back to blank screen, samba clicking mode. (...) Same thing. I also tried pulling the batteries for a few seconds. Telling USB Probe to refresh. 100 different combinations of resetting with and without usb plugged in, (...) (18 years ago, 20-Jan-07, to lugnet.robotics.nxt)

Message is in Reply To:
  Re: Text Based Programming for NXT - pbLua is Available
 
Here are my notes on what I've been able to accomplish so far in OSX on my MacBookPro. Loading pbLua firmware on nxt running standard firmware: 1. plugin usb 2. rename nxt-lua.bin to nxt-lua.rfw 3. open NXT-G, goto Tools -> Update NXT Firmware. (...) (18 years ago, 20-Jan-07, to lugnet.robotics.nxt)

28 Messages in This Thread:










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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in NXT programmable brick

 
Verified and Trusted Team of Hackers
7 hours ago
Custom Search

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