Skip to content

Updating Firmware

Andrew Dresner edited this page Oct 3, 2019 · 9 revisions

Do I need to update Firmware?

  • If you are in beta, probably not, at least not yet. It's a somewhat clunky process if you've not worked with Arduino before. This is primarily for those that would like to update their settings or experiment with the dev firmware. It is recommended to wait until final beta 0.5 firmware is released, as it allows for configuration on remote.

One-Time Setup of Arduino IDE

1. Install the Arduino IDE (tested on 1.8.9 Windows/Linux).

  • Launch it to ensure appropriate User folders are created.

2. Install library dependencies.

  • Download the OSRR Repository
  • Navigate to the OSRR-Firmware Folder.
  • Copy the 'libraries' & 'OSRR-rev1' folders inside OSRR-Firmware folder to your Documents/Arduino/ folder.

  • Your libraries & Arduino Sketch folders should now contain these contents:

3. Add ESP32/8266 Board Support to Arduino IDE.

  • Open the Arduino IDE, goto: File >> Preferences.
  • Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field.

  • Within the Arduino IDE Menu, goto: Tools >> Boards >> Boards Manager.
  • You should now see a board package for 'esp8266' at the bottom of the boards list.
  • Select Install/Update.

  • You should now exit the Arduino IDE and relaunch it to ensure the updates you made are enabled.

Flashing/Updating Firmware

1. Open the OSRR-rev1.ino from the Arduino IDE.

2. Modify configuration board settings on the config.h tab as necessary.

3. Remove LCD Module from Remote, plug into 4D-UPA USB Programmer.

  • You will be programming the LCD module inside the OSRR directly using the supplied 4D-UPA USB Programmer. This requires that you first open up the enclosure & remove the LCD module from its socket.

  • The LCD module should be considered fragile, and please pay close attention to Pin orientation- it should only be plugged in one-way.

  • NOTE MODULE PIN ORIENTATION.

4. Plug in 4D-UPA Programmer via USB Cable.

5. Select the correct Board & Serial Comm Port.

6. Select Upload, confirm success.

7. Carefully re-install your LCD module inside your Remote. Note Orientation.

Fin. Ride safe.