Skip to content

SASlabgroup/microSWIFT-programmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microSWIFT-programmer

Installation and Usage:

  1. Install Python
  2. Install STM32CubeProgrammer (Create an account if needed)
  3. In a terminal, install Python dependencies
python -m pip install --upgrade pip
python -m pip install PyQt6, PySerial, requests
  1. Clone or download this repo to a location of your choice
  2. Open a terminal and navigate to where you cloned/downloaded this repo
  3. Run the program
python microSWIFT_programmer.py

Notes:

The application lists the version number in the window top banner. This repo is set up such that the default branch is the most recent version of the program. Please ensure the version you are running on your local machine matches the version listed in the default branch within this repo.

On startup, the application downloads the V2.2 firmware binary file "microSWIFT_V2.2.elf" to the local "firmware" folder to ensure the most recent copy of firmware is burned to the device. If the application is unable to download this file (network issue, etc.), an error will appear indicating so. If this is to occur, users must ensure the firmware folder contains the most recent copy of "microSWIFT_V2.2.elf", which can be downloaded from the microSWIFT binaries repo under the V2.2 folder.

To bypass the firmware update functionality, pass the flag "--no_firmware_update":

python microSWIFT_programmer.py --no_firmware_update

When downloading a configuration file, there is no assigned default file extension. If the configuration is to be used to conduct an over-the-air configuration update, save the file with an extension of ".sbd" and ensure the full file length does not exceed 80 characters, including the file extension (ex. "microSWIFT_100_config.sbd").

When downloading a configuration file, no default file extension is applied. If holding for reference, save as ".bin" extansion. If using to conduct over-the-air configuration update, save as ".sbd" extension and ensure the file length with extension does not exceed 80 characters (ex: "microSWIFT_100_configuration.sbd").

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published