Linux Platform: Choosatron Firmware Setup
If your Spark Core and Choosatron are assembled. Take it apart. It’s going to be easier. You want your Spark Core separate from the main PCB, or at minimum access to the two buttons on the Spark.
Install DFU-Util with this command: sudo apt-get install dfu-util
Navigate to where you downloaded and unzipped the firmware and flash files (here is the download link again: cdam-v100-firm&flash.zip).
Plug a USB cable from your computer, to the micro-USB connection on the Spark Core. Be gentle!
Enter DFU mode by holding down both buttons and release the Reset button (on the left w/ USB port facing you). Wait until the yellow flashing. (visual reference here, or more detailed instructions on entering and verifying DFU mode here)
Run the following command to flash the firmware:
sudo dfu-util -d 1d50:607f -a 0 -s 0x08005000:leave -D choosatron-core-v100.bin
- It should take about a minute or less. If it takes you out of DFU mode, get back into DFU mode (see step 6).
- In DFU mode once again, run the following command to flash a set of 10 stories to play. (WARNING: This one takes 3-5 minutes, be patient.)
sudo dfu-util -d 1d50:607f -a 1 -s 0x80000 -v -D choosatron-flash-09-kids.bin
- You will see LOTS of repeating messages like this:
Download from image offset 0017f400 to memory 001ff400-001ff7ff, size 1024
Poll timeout 30 ms
Poll timeout 0 ms
- Wait until it finally finishes in 3 to 5 minutes with this message:
File downloaded successfully
The Spark Core will keep flashing yellow even when it is done. You may remove power (unplug from USB), or hit the small reset button.
Put the Spark back into the main PCB if you took it out. Put it together in it’s case (or whatever form you want) and power it off (if not already). Then plug the main power in and wait. A short while later you will get a short print out that says “Press any button to start!”
Congratulations, it’s set up!