Skip to content

Mbed program and python scripts to apply firmware updates to the FPGA CI Test Shield

Notifications You must be signed in to change notification settings

ARMmbed/fpga-ci-test-shield-updater

Repository files navigation

FPGA CI Test Shield Updater

This program is for updating the FPGA CI Test Shield. Once it is built and loaded onto an Mbed board the script update.py can be used to apply firmware updates directly from a host PC.

Required hardware

The hardware needed for this repository is as follows:

  • A Mbed board with a supported form factor, such as the Arduino form factor
  • FPGA CI Test Shield

Updating firmware

  • Clone the repository
> mbed import fpga-ci-test-shield-updater
> cd fpga-ci-test-shield-updater
  • Compile and flash this repository
> mbed compile -t ARM -m NUCLEO_F401RE -f
> python update.py --update latest_release.bin --reload COM5
  • (Optional) Confirm that the new version is loaded by running the version command
> python update.py --version COM5

Commands

The supported commands can be found by running the help command of update.py:

> python update.py -h

Which gives the following output:

FPGA CI Test Shield Upgrade tool

positional arguments:
  connection           Connection to use

optional arguments:
  -h, --help           show this help message and exit
  --dump DUMP          Dump FPGA image to the given file
  --dump_all DUMP_ALL  Dump FPGA flash to the given file
  --update UPDATE      Update the FPGA from the given file
  --version            Check the FPGA version
  --reload             Force the FPGA to reload firmware from flash
  --baud BAUD          Baudrate to use for the serial port connection
  -v                   Print verbose information

License and contributions

The software is provided under the Apache-2.0 license. Contributions to this project are accepted under the same license. Please see contributing.md for more information.

This project contains code from other projects. The original license text is included in those source files. They must comply with our license guide.

Folders containing files under different permissive license than Apache 2.0 are listed in the LICENSE file.

About

Mbed program and python scripts to apply firmware updates to the FPGA CI Test Shield

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published