uPLOADING nxt fIRMWARE

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

Postby lawrie » Sun Mar 02, 2008 11:22 pm

<quote>I have marked the CMD screen by rite clicking on the 'C' in the upper left corner, selecting 'Mark' and hitting 'Enter' </quote>

You should not hit Enter. You should select Edit and Mark, and select the area. Wiith the area still selected, you should then click on the "C:\" again and select Edit and Copy.

Or you can do Alt+PrtSc to copy the whole of the command window to the clipboard, and paste it in to your message as an image as PatrickLismore describes.
lawrie
leJOS Team Member
 
Posts: 929
Joined: Mon Feb 05, 2007 1:27 pm

Postby fnc » Mon Mar 03, 2008 1:31 am

[url][/url]
fnc
New User
 
Posts: 15
Joined: Mon Feb 25, 2008 5:28 am

Postby kirkpthompson » Mon Mar 03, 2008 1:37 pm

after you select" Mark", you need to left-click drag the mouse over the text you want to copy and then hit "enter" to copy the selected (marked) text..
User avatar
kirkpthompson
leJOS Team Member
 
Posts: 304
Joined: Wed Dec 05, 2007 1:27 am
Location: New Mexico, USA

Postby fnc » Mon Mar 03, 2008 2:02 pm

[/img][img]
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\FNC.FNCLAPTOP>nxjflash
'nxjflash' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\FNC.FNCLAPTOP>cd ..

C:\Documents and Settings>cd ..

C:\>cd java

C:\java>cd lejos_nxj

C:\java\lejos_nxj>cd bin

C:\java\lejos_nxj\bin>dir
Volume in drive C has no label.
Volume Serial Number is FCE5-550A

Directory of C:\java\lejos_nxj\bin

02/27/2008 09:34 PM <DIR> .
02/27/2008 09:34 PM <DIR> ..
01/08/2008 08:45 PM 30,949 jlibnxt.dll
01/08/2008 08:45 PM 408 lejosdl.bat
01/08/2008 08:45 PM 1,116 lejosfirmdl.bat
01/08/2008 08:45 PM 406 lejosjc.bat
01/08/2008 08:45 PM 29,968 lejos_nxt_rom.bin
01/08/2008 08:45 PM 29,968 lejos_nxt_samba_ram.bin
01/08/2008 08:45 PM 535 nxj.bat
01/08/2008 08:45 PM 431 nxjbrowse.bat
01/08/2008 08:45 PM 189 nxjc.bat
01/08/2008 08:45 PM 58,894 nxjflash.exe
01/08/2008 08:45 PM 402 nxjlink.bat
01/08/2008 08:45 PM 437 nxjupload.bat
01/08/2008 08:45 PM 47,371 runc.exe
01/08/2008 08:45 PM 34,982 StartUpText.bin
14 File(s) 236,056 bytes
2 Dir(s) 67,620,139,008 bytes free

C:\java\lejos_nxj\bin>nxjflash
NXJ_HOME is c:\java\lejos_nxt
Checking VM c:\java\lejos_nxt/bin/lejos_nxt_rom.bin ... Error in VM file: File o
pen/handling error

C:\java\lejos_nxj\bin>nxjflash
NXJ_HOME is c:\java\lejos_nxt
Checking VM c:\java\lejos_nxt/bin/lejos_nxt_rom.bin ... Error in VM file: File o
pen/handling error

C:\java\lejos_nxj\bin>dir
Volume in drive C has no label.
Volume Serial Number is FCE5-550A

Directory of C:\java\lejos_nxj\bin

02/27/2008 09:34 PM <DIR> .
02/27/2008 09:34 PM <DIR> ..
01/08/2008 08:45 PM 30,949 jlibnxt.dll
01/08/2008 08:45 PM 408 lejosdl.bat
01/08/2008 08:45 PM 1,116 lejosfirmdl.bat
01/08/2008 08:45 PM 406 lejosjc.bat
01/08/2008 08:45 PM 29,968 lejos_nxt_rom.bin
01/08/2008 08:45 PM 29,968 lejos_nxt_samba_ram.bin
01/08/2008 08:45 PM 535 nxj.bat
01/08/2008 08:45 PM 431 nxjbrowse.bat
01/08/2008 08:45 PM 189 nxjc.bat
01/08/2008 08:45 PM 58,894 nxjflash.exe
01/08/2008 08:45 PM 402 nxjlink.bat
01/08/2008 08:45 PM 437 nxjupload.bat
01/08/2008 08:45 PM 47,371 runc.exe
01/08/2008 08:45 PM 34,982 StartUpText.bin
14 File(s) 236,056 bytes
2 Dir(s) 67,619,074,048 bytes free

C:\java\lejos_nxj\bin>nxjflash
NXJ_HOME is c:\java\lejos_nxt
Checking VM c:\java\lejos_nxt/bin/lejos_nxt_rom.bin ... Error in VM file: File o
pen/handling error

C:\java\lejos_nxj\bin>[/img]
fnc
New User
 
Posts: 15
Joined: Mon Feb 25, 2008 5:28 am

Postby fnc » Mon Mar 03, 2008 4:49 pm

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\FNC.FNCLAPTOP>nxjflash
'nxjflash' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\FNC.FNCLAPTOP>cd ..

C:\Documents and Settings>cd ..

C:\>cd java

C:\java>cd lejos_nxj

C:\java\lejos_nxj>cd bin

C:\java\lejos_nxj\bin>dir
Volume in drive C has no label.
Volume Serial Number is FCE5-550A

Directory of C:\java\lejos_nxj\bin

02/27/2008 09:34 PM <DIR> .
02/27/2008 09:34 PM <DIR> ..
01/08/2008 08:45 PM 30,949 jlibnxt.dll
01/08/2008 08:45 PM 408 lejosdl.bat
01/08/2008 08:45 PM 1,116 lejosfirmdl.bat
01/08/2008 08:45 PM 406 lejosjc.bat
01/08/2008 08:45 PM 29,968 lejos_nxt_rom.bin
01/08/2008 08:45 PM 29,968 lejos_nxt_samba_ram.bin
01/08/2008 08:45 PM 535 nxj.bat
01/08/2008 08:45 PM 431 nxjbrowse.bat
01/08/2008 08:45 PM 189 nxjc.bat
01/08/2008 08:45 PM 58,894 nxjflash.exe
01/08/2008 08:45 PM 402 nxjlink.bat
01/08/2008 08:45 PM 437 nxjupload.bat
01/08/2008 08:45 PM 47,371 runc.exe
01/08/2008 08:45 PM 34,982 StartUpText.bin
14 File(s) 236,056 bytes
2 Dir(s) 67,620,139,008 bytes free

C:\java\lejos_nxj\bin>nxjflash
NXJ_HOME is c:\java\lejos_nxt
Checking VM c:\java\lejos_nxt/bin/lejos_nxt_rom.bin ... Error in VM file: File o
pen/handling error

C:\java\lejos_nxj\bin>nxjflash
NXJ_HOME is c:\java\lejos_nxt
Checking VM c:\java\lejos_nxt/bin/lejos_nxt_rom.bin ... Error in VM file: File o
pen/handling error

C:\java\lejos_nxj\bin>dir
Volume in drive C has no label.
Volume Serial Number is FCE5-550A

Directory of C:\java\lejos_nxj\bin

02/27/2008 09:34 PM <DIR> .
02/27/2008 09:34 PM <DIR> ..
01/08/2008 08:45 PM 30,949 jlibnxt.dll
01/08/2008 08:45 PM 408 lejosdl.bat
01/08/2008 08:45 PM 1,116 lejosfirmdl.bat
01/08/2008 08:45 PM 406 lejosjc.bat
01/08/2008 08:45 PM 29,968 lejos_nxt_rom.bin
01/08/2008 08:45 PM 29,968 lejos_nxt_samba_ram.bin
01/08/2008 08:45 PM 535 nxj.bat
01/08/2008 08:45 PM 431 nxjbrowse.bat
01/08/2008 08:45 PM 189 nxjc.bat
01/08/2008 08:45 PM 58,894 nxjflash.exe
01/08/2008 08:45 PM 402 nxjlink.bat
01/08/2008 08:45 PM 437 nxjupload.bat
01/08/2008 08:45 PM 47,371 runc.exe
01/08/2008 08:45 PM 34,982 StartUpText.bin
14 File(s) 236,056 bytes
2 Dir(s) 67,619,074,048 bytes free

C:\java\lejos_nxj\bin>nxjflash
NXJ_HOME is c:\java\lejos_nxt
Checking VM c:\java\lejos_nxt/bin/lejos_nxt_rom.bin ... Error in VM file: File o
pen/handling error

C:\java\lejos_nxj\bin>[/url]
fnc
New User
 
Posts: 15
Joined: Mon Feb 25, 2008 5:28 am

Postby fnc » Mon Mar 03, 2008 5:07 pm

[img]file:///C:/Documents%20and%20Settings/FNC.FNCLAPTOP/Local%20Settings/Temporary%20Internet%20Files/Content.MSO/PubWebPagePreview/pub2712.3/index.htm[/img]
fnc
New User
 
Posts: 15
Joined: Mon Feb 25, 2008 5:28 am

Postby roger » Mon Mar 03, 2008 5:26 pm

Hi fnc,
C:\Documents and Settings\FNC.FNCLAPTOP>nxjflash
'nxjflash' is not recognized as an internal or external command,
operable program or batch file.
is the message I get when nxjflash is not in the path. It is possible that you set NXJ_HOME as a user variable instead of an environmental variable. You can verify this by typing path in the command window.
Changing to the lejo_nxj/bin directory was the right thing to do.
But the other error message
Checking VM c:\java\lejos_nxt/bin/lejos_nxt_rom.bin ... Error in VM file: File o
pen/handling error
could be the result of bad file. You might try downloading and installing lejos_nxt again, following step 3 in the tutorial.
Good luck,
Roger
roger
Moderator
 
Posts: 368
Joined: Fri Jun 01, 2007 4:31 am
Location: Berkeley, CA

Postby fnc » Tue Mar 04, 2008 2:01 am

I have re-downloaded evertything according to the instructions.

My instructions say to add ;%NXJ_HOME%\bin to the end of the path statement
fnc
New User
 
Posts: 15
Joined: Mon Feb 25, 2008 5:28 am

Postby kirkpthompson » Tue Mar 04, 2008 7:48 pm

Take a deep breath...

Open a cmd window. issue the "set" command (this outputs all your envvars). Copy entire output and paste to a new reply message.

issue "java -version". Copy output and paste. We'll take a look..
User avatar
kirkpthompson
leJOS Team Member
 
Posts: 304
Joined: Wed Dec 05, 2007 1:27 am
Location: New Mexico, USA

Postby PatrickLismore » Tue Mar 04, 2008 8:37 pm

If your still having problems ,

I can take remote access of your system and configure the things you need.

We can do it through msn messenger,
User avatar
PatrickLismore
Active User
 
Posts: 81
Joined: Tue Oct 16, 2007 7:28 pm
Location: Prague

Postby PatrickLismore » Thu Mar 06, 2008 5:58 am

Resolved
User avatar
PatrickLismore
Active User
 
Posts: 81
Joined: Tue Oct 16, 2007 7:28 pm
Location: Prague

Postby kirkpthompson » Thu Mar 06, 2008 2:15 pm

what was the problem(s)?
User avatar
kirkpthompson
leJOS Team Member
 
Posts: 304
Joined: Wed Dec 05, 2007 1:27 am
Location: New Mexico, USA

Postby PatrickLismore » Thu Mar 06, 2008 4:44 pm

some of the System Environment Variables were in the user Variables section. JAVA_HOME was configured for the JRE on my system its configured for the JDK.

I installed java SDK and

I kept trying and it kept saying LEJOS_HOME not defined when it had been so I had him reboot the PC.

I then tried again with the lejosdl command and got what i expected.

I then typed the lejosfirmdl and it updated the Brick.
User avatar
PatrickLismore
Active User
 
Posts: 81
Joined: Tue Oct 16, 2007 7:28 pm
Location: Prague

Postby fnc » Thu Mar 06, 2008 10:24 pm

Thanks to all who contributed to help me and especially Patrick who spent over 2 1/2 hours to get it to work. I owe you.
fnc
New User
 
Posts: 15
Joined: Mon Feb 25, 2008 5:28 am

Postby PatrickLismore » Fri Mar 07, 2008 2:09 am

yes I checked over and over and over against my settings , and finally realized that the system may need rebooted for the variables to take affect.

Upon rebooting everything worked ok,

You almost had it your self if you had the variables in the system part instead of the user part and had the JDK installed I think you would have it had yourself.

I take it you were able to flash the second brick then and you downloaded my version of Eclipse if you extract the files from the zip and placed them inside the ProgramFiles folder then inside it there is "eclipse.exe" that will load up the Eclipse IDE so you can start wrting your programs.
User avatar
PatrickLismore
Active User
 
Posts: 81
Joined: Tue Oct 16, 2007 7:28 pm
Location: Prague

Previous

Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 2 guests

more stuff