Simon Says ATMega sketch for reaction game board

Customer:

My daughter assembled a reaction game kit, but now prefers the Simon Says game. Since the boards appear identical, is it possible to reprogram the ATMega with the Simon Says firmware?

Originally submitted via email support on 4 June 2023. Migrated to the forum for community visibility.

Soldered Support:

Yes, it’s possible. You’ll need a UPDI programmer. The pinout is the three small holes behind the green button. Note that this pinout is shown from the front, so it’s flipped when viewing from the back. When you place the programmer on the pins correctly, the game should power on from the supplied voltage.

The Simon Says code in our repo uses a STM32 on newer versions, but here’s the link to the older ATTiny code: GitHub - SolderedElectronics/Soldered-Simon-Says-Game-Soldering-Kit at f26e704f7dac8fdcc65b42e58db56d8b7a1c6a90 · GitHub

Attachment omitted in migration: image.png

Customer:

I’ve downloaded the code and have a PicKit4 programmer available. However, I’ve been unable to find a toolchain to compile for the 404. The tinymegacore that seems required doesn’t work with current Arduino IDE versions, and the required 1.8.13 version is not available in official repositories. Do you have compilation instructions or a pre-compiled version? My AVR programming experience is limited to Marlin firmware for 3D printers.

Soldered Support:

Here’s the procedure:

  1. Install Arduino IDE Legacy: https://wiki-content.arduino.cc/en/software/OldSoftwareReleases
  2. Install Soldered board definitions: GitHub - SolderedElectronics/Dasduino-Board-Definitions-for-Arduino-IDE · GitHub (detailed tutorial in the repo description)
  3. Select the ‘Dasduino ATTiny boards > easyC boards’ board definition (or Dasduino Lite if that’s unavailable) - this board definition is what was missing
  4. Open the .ino file in Arduino
  5. Compile it and output the .bin file via Sketch > Export Compiled Binary
  6. Load the .bin file using your preferred programmer