Les instructions pour charger un programme sont detailles ici http://lejos-osek.sourceforge.net/howtoupload.htm
1. Upload the nxtOSEK NXT BIOS to the NXT
Step 1: Reset the NXT
To go into firmware update mode, press the reset button (at the back of the NXT, upper left corner beneath the USB connector) for more than 5 seconds while the NXT is turned on. The NXT will audibly tick when it is in firmware update mode.
Step 2: Connect PC and the NXT by USB cable.
Step 3: Change the current directory to a project directory (e.g. samples_c\helloworld) in Cygwin and build the target.
Step 4: Type the following command in Cygwin.
$ ./biosflash.sh
Step 5: After a few seconds, NXT BIOS screen is displayed in the LCD.
Step 6: If BATT: is 0, remove the battery from the NXT and insert it again, then press orange rectangle button on the NXT. NXT BIOS should be turned on.


2. Upload a nxtOSEK program to the NXT by using nxtOSEK NXT BIOS
Step 1: Make sure that NXT BIOS screen is displayed and upload is ready.
Step 2: Connect PC and the NXT via USB cable.
Step 3: Change the current directory to a project directory (e.g. samples_c\helloworld) in Cygwin and build the target.
Step 4: Type the following command in Cygwin.
$ ./appflash.sh
Step 5: Upload status can be monitored by progress bar in the LCD display. A few seconds later, upload is finished.
Step 6: Press EXIT button (gray colored rectangle button) to turn off the NXT.
Step 7: Press ENTR button (orange colored rectangle button) to turn on the NXT. After nxtOSEK splash screen is displayed, nxtOSEK main screen is displayed. If a nxtOSEK program is executed from Flash, [F] is displayed in the nxtOSEK main screen.
Step 8: Buttons on the NXT has the following functionality:
- ENTR: Turn on the NXT
- EXIT: Turn off the NXT
- RUN: Start the uploaded nxtOSEK program
- STP: Stop the running nxtOSEK program and automatically back to nxtOSEK main screen
If battery voltage (BATT:) is turned to be non 0 value, the NXT is ready to run.

Step 9: To upload a new nxtOSEK program:
Press ENTR + STP button for more than 1 seconds while nxtOSEK main screen is displayed, the NXT is turned off automatically.
Press ENTR button to turn on the NXT again, then NXT BIOS screen is displayed.