Uploading via the ISP socket (cont.)
For no apparent reason you may get an error message. If you try and upload a second time then the program should
upload ok. If you continue to get this message then check your robot is turned on and that the batteries are fully
charged. Check the wiring and make sure your board type and programmer type are set correctly. The serial port
must be set to the programmer.
Burning the bootloader:
If you have been uploading code using the ISP socket and want to go back to using the USB port or your bootloader
has been corrupted as the result of flat batteries then you will need to re-burn the bootloader.
The procedure is very similar to uploading code via the ISP socket. If you have not done so already, configure an
Arduino or compatible board as your programmer as explained on page 21.
Once your programmer is prepared, go to the Tools menu and select your serial port to suit your programmer. Select
the board type to Arduino NG or older w/ ATmega8. Now select
Burn Bootloader
.
As with programming via the ISP socket you may get an error message the first time. Select
Burn Bootloader
a
second time and it should work fine.
More detailed information on uploading code and burning the bootloader via the ISP socket can be found here:
is a site dedicated to the hobby of robot making. membership is free. You can ask questions
on this site and get help from myself and other robot enthusiasts.
http://letsmakerobots.com/node/35649
Letsmakerobots.com
24