I am able to flash the brick to lejos:
- Code: Select all
Building firmware image.
VM file: /opt/lejos-nxj/bin/lejos_nxt_rom.bin
Menu file: /opt/lejos-nxj/bin/StartUpText.bin
Magic string found at offset 0x40
VM size: 55888 bytes.
Menu size: 47740 bytes.
Total image size 103804/104448 bytes.
Building filesystem image.
Locating device in firmware update mode.
No devices in firmware update mode were found.
Searching for other NXT devices.
Found Unknown Address 0016531192BF
Attempting to reboot the device.
Locating device in firmware update mode.
Opened device in firmware update mode.
Connected to SAM-BA v1.4
Unlocking pages.
Writing firmware image.
Verifying firmware.
Verified 104448 bytes ok.
Unlocking pages.
Writing filesystem image.
Verifying filesystem.
Verified 157696 bytes ok.
Restarting the device.
But it fails when I try to upload:
- Code: Select all
Initializing LeJOS JDK at /opt/lejos-nxj
nxjflashg has been started successfully
Linking ...
Program has been linked successfully
Uploading ...
Found NXT: GRB 0016531192BF
Linking or uploading the program failed
java.io.IOException: Error in write
See Eclipse error log for detailed stack trace.
it hangs at "Found NXT: GRB 0016531192BF" until the nxt automatically turns off, at which point it throws the IOException. Other members of my team are using the exact same setup as me and encounter no problems, so the only thing I can think of is that they previously installed some package that I did not or my computer is physically incapable for some reason.
