Skip to content

afylab/firmware_uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firmware Installation Guide

This is code that uploads Young Lab DAC/ADC firmware to an Arduino Giga. If there's no firmware directory present, make sure that you've downloaded this from the latest DAC/ADC firmware release.

1. Make sure you have dfu-util installed

  • Linux (Debian): sudo apt install dfu-util
  • MacOS: brew install dfu-util
  • Windows:
    • Download the dfu-util to your local system, e.g., under D:\dfu-util.
    • Rename it to dfu-util.exe.
    • Append the path of the dfu-util.exe to the system environment variable PATH.

2. Run pip install -r requirements.txt

3. Plug in Arduino Giga

4. Run python3 upload_firmware.py {target} {serial number}

{target} can be one of:

  • new_hardware
  • old_hardware
  • new_shield_old_dac_adc

{serial number} must be 3 characters

5. To modify the serial number of an existing device, simply run python3 patch_serial_number.py {serial number}

6. Feel free to contact [email protected] via email or Slack if something isn't working

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages