In Windows 7:
http://www.reddit.com/r/FTC/comments/1vvwq9/for_those_who_have_or_have_had_a_clicking_nxt/
I strongly recommend you to read this article, which really saves my life / 300 Euro!
The critical point is that Windows 7 will automatically recognize the usb plug-in as bossa program, which is not available to excess as a NXT.
All you have to do is to break down your internet and follow the steps in the article.
[Quote]
If you follow the nxtOSEK page accordingly, i.e., http://lejos-osek.sourceforge.net/installation_linux.htm, I think you will feel that everything is designed for Windows essentially...
However, if you are a geek as me, you probably suffer yourself with the honor.
That's why I write this quest.
Let's follow the tutorial to upgrade the firmware on NXT with Linux:
-> Install the Enhanced NXT firmware on NXT
The part b will have some issue on libnxt-0.3 as I mention later on.
In part a you will notice that NeXTTool can do everything!!
(Then, why not use it in Linux?)
The way to build up is already mentioned in part 4:
Setup nxtOSEK program upload software with enhanced firmware
In fact, I stuck here whole the day. And finally I figure out how to get rid of it.
(At the meantime, I rage and adopt Windows to handle it, but now I come back)
I have two different path to start:
I take the reference from a Japanese blog: (Unfortunately, I find this page very end...)
http://sat0yu.hatenablog.jp/entry/20130318/1363507031
Nowadays, there is no more information about the upgrading of nxtOSEK or even ev3OSEK...
If you are also trying this dirty work, here is some advices:
Don't forget to extract this http://www.toppers.jp/download.cgi/osek_os-1.1.lzh to the OSEK source tree http://sourceforge.net/projects/lejos-osek/files/nxtOSEK/nxtOSEK_v218.zip/download.
After all, you can compile a specific OSEK example and execute:
sudo nextool /COM=usb -download=RMS.rxe Then you can use NxT standard operations to open the file and see the LOGO and example.
I hope this quest is useful to the one who also concerns the same issues...
Reference:
http://www.legomindstormsrobots.com/lego-minstorms/bricxcc-running-linux-2/
http://lejos-osek.sourceforge.net/installation_linux.htm
http://www.lejos.org/nxt/nxj/tutorial/Preliminaries/GettingStartedLinux.htm
http://www.reddit.com/r/FTC/comments/1vvwq9/for_those_who_have_or_have_had_a_clicking_nxt/
I strongly recommend you to read this article, which really saves my life / 300 Euro!
The critical point is that Windows 7 will automatically recognize the usb plug-in as bossa program, which is not available to excess as a NXT.
All you have to do is to break down your internet and follow the steps in the article.
[Quote]
- Plug in clicking nxt to computer
- Disable internet connection(very important)
- Open Device manager
- Under ports you should see Bossa program port, right click on it
- uninstall driver, on popup make sure to select delete from system (Don't forget to check the box that deleting all the installed driver)
- after uninstalling driver plug nxt into another port
- Because bossa driver is missing it should register as nxt brick
- Now you can reload Robotc firmware (with offical NXT software or NxTTool whatever)
- After firware installed reconnect internet
Option B:
1. Make sure the NXT brick is still connected to the computer.
2. Open an elevated CMD.
3. Type "cd c:\Windows\inf"
4. Type "findstr Bossa *.inf"
5. Note the INF file name in the form of oemxx.inf
6. Type "rename oemxx.inf oemxx.inf.bak" (Note: please substitute xx with the actual number reported by findstr)
7. Open Control Panel/Device Manager.
8. Find the Bossa Program Port device.
9. Right click the device and select "Uninstall".
10. Disconnect the NXT brick from the computer, wait a few seconds.
11. Reconnect the NXT brick to the computer and wait a minute or two for the system to find and install the correct NXT firmware update driver for it.
12. Open RobotC and proceed with the firmware update.
13. After the firmware update is done, go back to the CMD and type "rename oemxx.inf.bak oemxx.inf" (Again please substitute xx correspondingly).
If you follow the nxtOSEK page accordingly, i.e., http://lejos-osek.sourceforge.net/installation_linux.htm, I think you will feel that everything is designed for Windows essentially...
However, if you are a geek as me, you probably suffer yourself with the honor.
That's why I write this quest.
Let's follow the tutorial to upgrade the firmware on NXT with Linux:
-> Install the Enhanced NXT firmware on NXT
The part b will have some issue on libnxt-0.3 as I mention later on.
In part a you will notice that NeXTTool can do everything!!
(Then, why not use it in Linux?)
The way to build up is already mentioned in part 4:
Setup nxtOSEK program upload software with enhanced firmware
In fact, I stuck here whole the day. And finally I figure out how to get rid of it.
(At the meantime, I rage and adopt Windows to handle it, but now I come back)
I have two different path to start:
- libnxt-0.3 to handle the Firmware update (X)
You may have some issues on the library of usb currently. gcc -o fwflash main_fwflash.o -L. -lusb-1.0 -lnxt ./libnxt.a(lowlevel.o): In function `nxt_init': /home/khchen/development/nxtOSEK/libnxt-0.3/lowlevel.c:49: undefined reference to `usb_init' ... - NeXTTool to handle everything for NxT connection.
At first I cannot connect to NXT by NeXTTool, I thought there must be some driver issues...
To test this, please use "lsusb" commend to find a line like:
Bus 003 Device 064: ID 0694:0002 Lego Group Mindstorms NXT
If you are stuck in ticking mode so called Samba mode, you will also notice that.
I take the reference from a Japanese blog: (Unfortunately, I find this page very end...)
http://sat0yu.hatenablog.jp/entry/20130318/1363507031
Nowadays, there is no more information about the upgrading of nxtOSEK or even ev3OSEK...
If you are also trying this dirty work, here is some advices:
- Checkout the latest versions of bricxcc from here: (You may notice that most of tutorial are not suitable any more.)
svn co https://bricxcc.svn.sourceforge.net/svnroot/bricxcc/ bricxcc_new - Please use i386 libusb-dev to pass the compilation of "make -f ./nexttool.mak"
sudo apt-get install libusb-dev:i386 libusb-0.1-4 subversion fpc - The easiest way to test whether you are able to access NXT. sudo nextool /COM=usb -getname
NXT01 - If you like, you can generate an alias for the built nexttool.
sudo ln -s ~/development/nxtOSEK/bricxcc-code/nexttool nextool - Don't forget to use "sudo" to get rid of the permission problem, as NeXTTool allows the silent faults which is really fatal.
Don't forget to extract this http://www.toppers.jp/download.cgi/osek_os-1.1.lzh to the OSEK source tree http://sourceforge.net/projects/lejos-osek/files/nxtOSEK/nxtOSEK_v218.zip/download.
After all, you can compile a specific OSEK example and execute:
sudo nextool /COM=usb -download=RMS.rxe Then you can use NxT standard operations to open the file and see the LOGO and example.
I hope this quest is useful to the one who also concerns the same issues...
Reference:
http://www.legomindstormsrobots.com/lego-minstorms/bricxcc-running-linux-2/
http://lejos-osek.sourceforge.net/installation_linux.htm
http://www.lejos.org/nxt/nxj/tutorial/Preliminaries/GettingStartedLinux.htm
Comments
Post a Comment