xous-core/tools/updater
bunnie e8275d4009 update tools to work with a debug-less SoC
it will automatically determine which reset/halt approach
should be used based on the available registers.
2023-03-10 00:02:53 +08:00
..
precursorupdater update tools to work with a debug-less SoC 2023-03-10 00:02:53 +08:00
LICENSE add a first draft of precursor_updater.py 2022-07-22 03:46:31 +08:00
README.md bump version number of updater so it can be pushed 2023-03-09 04:07:25 +08:00
setup.py update tools to work with a debug-less SoC 2023-03-10 00:02:53 +08:00

Precursor Updater

This script automatically updates a Precursor device. Please run with --help to see all the available options. By default, the script will attempt to load the latest stable release onto a Precursor device that is attached to the host via USB.

When the script is finished running, you will need to reset the device by pressing on the switch inside the hole in the lower right hand side of the case. See https://ci.betrusted.io/i/reset.jpg for an example of how to do this.

See our troubleshooting guide for more help, especially if you are running Windows.

Maintainer Notes

This note is for the maintainer of the tool. Users do not need to run these commands.

The repo is structured to use setup.py, so the first hits for documentation that guide you through using the toml manifest options won't work (couldn't get them to work anyways, even though I tried with the toml method). Thus, the method to push a new release is as follows:

  1. Run python3 setup.py sdist in this directory
  2. Run python3 -m twine upload dist/precursorupdater-0.0.XXX.tar.gz where XXX is replaced with the version number.