Hi ,
I´ve searched this forum and the web an doesn´t find any clue why the folllowing happend (it´s always possible i missed something)
I started to program the nxt with the eclipse IDE, i´ve done all the things the tutorial says and i´ve been succesfull but i can only upload one programm.
If I boot my laptop it find the nxt, can flash the firmware, knows the name off it and i can upload and run any program i want.
But when i try to upload another programm or want to flash it the pc doesn´t find the nxt. It recognize that there is an nxt but it doesn´t know its name
nor can it upload anything. When i try to flash it the programm terminated with the following appears:
The following NXT devices have been found:
1: Unknown 0016530D364D
Select the device to update, or enter 0 to exit.
1
Device number to update (0 to exit): Attempting to reboot the device.
flashing the firmware failed
lejos.pc.comm.NXTCommException: Failed to open device in command mode.
See Eclipse error log for detailed stack trace.
And the Eclipse error log shows eclipse.buildId=M20110210-1200
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product -data C:\Users\Jan\workspace -product org.eclipse.epp.package.java.product
Error
Sat Jun 11 00:01:26 CEST 2011
Failed to open device in command mode.
lejos.pc.comm.NXTCommException: Failed to open device in command mode.
at lejos.pc.tools.NXJFlashUpdate.resetDevice(NXJFlashUpdate.java:250)
at lejos.pc.tools.NXJFlash.openDevice(NXJFlash.java:87)
at lejos.pc.tools.NXJFlash.run(NXJFlash.java:142)
at lejos.pc.tools.NXJFlash.start(NXJFlash.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.lejos.nxt.ldt.actions.LeJOSUploadFirmwareAction.flashFirmware(LeJOSUploadFirmwareAction.java:70)
at org.lejos.nxt.ldt.actions.LeJOSUploadFirmwareAction.access$0(LeJOSUploadFirmwareAction.java:53)
at org.lejos.nxt.ldt.actions.LeJOSUploadFirmwareAction$1.run(LeJOSUploadFirmwareAction.java:46)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Ok, i`m clueless. If i reboot the pc than everything is fine until i upload one program. The first on is ok, and then it occurs again.
I hope my problem is understandable, i know i have to improve my english...
