Unable to flash new firmware

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

Moderators: 99jonathan, roger, imaqine

Unable to flash new firmware

Postby matejdro » Tue May 15, 2012 9:25 am

I have downloaded new snapshot from here because I want to test out new debugging feature. But I cannot flash it. When I press flash button, I get "array to small" error.

Image
matejdro
Novice
 
Posts: 54
Joined: Wed Mar 14, 2012 9:10 am

Re: Unable to flash new firmware

Postby skoehler » Tue May 15, 2012 10:03 am

Try the command line version (nxjflash) instead of the GUI version (nxjflashg)
skoehler
leJOS Team Member
 
Posts: 1399
Joined: Thu Oct 30, 2008 4:54 pm

Re: Unable to flash new firmware

Postby matejdro » Tue May 15, 2012 10:27 am

Code: Select all
java.io.IOException: array to small
        at lejos.pc.tools.NXJFlashUpdate.readWholeFile(NXJFlashUpdate.java:106)
        at lejos.pc.tools.NXJFlashUpdate.createFirmwareImage(NXJFlashUpdate.java
:143)
        at lejos.pc.tools.NXJFlash.run(NXJFlash.java:138)
        at lejos.pc.tools.NXJFlash.start(NXJFlash.java:200)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at lejos.pc.tools.ToolStarter.startTool(ToolStarter.java:31)
        at lejos.pc.tools.NXJFlash.main(NXJFlash.java:195)
matejdro
Novice
 
Posts: 54
Joined: Wed Mar 14, 2012 9:10 am

Re: Unable to flash new firmware

Postby ohma » Tue May 15, 2012 11:12 am

Hey.
When I try to flash the firmware using Lejos 0.9.1 (nxjflash), Mac OS X, it 'fails/stops' at 96%, and the NXT gives some 'click sounds'. Have anyone discovered something similar? - uploading programs and so works just fine on my mac, like flashing the firmware in Windows.
Image
ohma
New User
 
Posts: 3
Joined: Wed Mar 28, 2012 3:21 pm

Re: Unable to flash new firmware

Postby skoehler » Tue May 15, 2012 11:21 am

Dont download the bin file only!

Download the complete snapshot directory, and use it as a replacement for leJOS 0.9.1
skoehler
leJOS Team Member
 
Posts: 1399
Joined: Thu Oct 30, 2008 4:54 pm

Re: Unable to flash new firmware

Postby matthias » Wed May 16, 2012 9:24 am

The click sounds are intended and indicate, that your NXT is in firmware update mode.
matthias
New User
 
Posts: 20
Joined: Thu Mar 22, 2012 11:44 am

Re: Unable to flash new firmware

Postby matejdro » Wed May 16, 2012 9:34 am

skoehler wrote:Dont download the bin file only!

Download the complete snapshot directory, and use it as a replacement for leJOS 0.9.1


My bad, it works now.

Thanks!
matejdro
Novice
 
Posts: 54
Joined: Wed Mar 14, 2012 9:10 am


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 3 guests

more stuff