ArcBotics - Problems uploading code to Sparki




Problems uploading code to Sparki

Whether with Sparkiduino, Arduino, or minibloq, here’s how the Arduino software usually loads a program:
1.) Arduino software sends a signal to the board to reset to the bootloader
2.) Arduino software waits for the USB connection to reset because the board switched to bootloader
3.) Board is now in bootloader
4.) Arduino software sees new USB connection, sends what it supposes is the bootloader a new program
5.) Bootloader re-writes the program space with the program the Arduino software just sent it, then runs what it just wrote

Knowing this:

1.) Make sure the drivers are installed
If you’re having dificulty installing them, follow this guide:
http://arcbotics.com/knowledgebase/my-sparki-driver-wont-install/

2.) Try a manual upload
If you have a program you uploaded to Sparki that causes it to crash (hey, you’re learning programming, that’s fine!), Sparki’s chip might not get the signal in the first part of the upload process.

If the drivers are installed, the solution is almost always to do a ‘manual upload’, we have a guide on how to do that here:
http://arcbotics.com/lessons/manual-upload/