Software for the Sliders McGee project
Go to file
2024-07-18 12:09:12 -05:00
cmake Implimented NV memory storage. Increased stack and heap size by 2x. 2024-07-17 22:15:30 -05:00
Core Implimented NV memory storage. Increased stack and heap size by 2x. 2024-07-17 22:15:30 -05:00
Drivers Initial commit. 2024-06-06 22:01:17 -05:00
Middlewares/ST/STM32_USB_Device_Library V1.0 Released and sent on hardware. 2024-06-21 12:40:46 -05:00
readme_assets Updated readme. 2024-07-18 12:09:12 -05:00
Releases Implimented NV memory storage. Increased stack and heap size by 2x. 2024-07-17 22:15:30 -05:00
USB_Device Implimented console to set maximum PWM value for outputs. 2024-07-15 21:56:41 -05:00
.gitignore Added Released binaries to repo. 2024-07-12 09:20:48 -05:00
.mxproject Scaled PWM range. 2024-07-11 19:34:51 -05:00
CMakeLists.txt Added hex file generation. 2024-07-11 19:47:27 -05:00
CMakePresets.json Scaled PWM range. 2024-07-11 19:34:51 -05:00
README.md Updated readme. 2024-07-18 12:09:12 -05:00
startup_stm32g473xx.s Scaled PWM range. 2024-07-11 19:34:51 -05:00
STM32G473CEUX_FLASH.ld Implimented NV memory storage. Increased stack and heap size by 2x. 2024-07-17 22:15:30 -05:00
STM32G473CEUX_RAM.ld Initial commit. 2024-06-06 22:01:17 -05:00
SW.ioc Scaled PWM range. 2024-07-11 19:34:51 -05:00

Sliders_McGee

Software for the Sliders McGee project

Header Pinout

Board header description

Bootloading Procedure

Setup:

  • Board unpowered and USB cable unplugged
  • Wire jumper between 3.3V header and pin 8 of input header (BL pin)

Procedure:

  • Connect USB cable to board and computer
  • Board will present itself as a mass storage drive
  • Drag and drop new firmware image onto drive
  • Wait aproximately 10s, no progress will be indicated
  • When bootloading is complete, board will launch application and drive will no longer be present on host computer
  • Removed wire jumper

Building This Project

Prerequisites

VSCode

STM32CubeCLT here

VSCode STM32 Extention

Once the prerequisites are installed, open VSCode and open the folder containing the project repo.

  • On the left side, click the STM32 extention and select "Import CMake project". In the dialog box that opens, select the project root foler and acept the dialog box.
  • CMake will do its CMake stuff and ask if the options are correct. The dafualts should be sufficient, click the bottom option to accept the parameters. Now you should see a build gear on the bottom toolbar with the text "Build".
  • Click the build button. The newly cloned repo will buuld without error and there will be a SW.hex file in the build folder.

Console

The console is used to set the maximum PWM values for each slider output and saving the values to non-volatile memory. Option selections are defined by [ ] around the expected input. Inputs not recognized are ignored. Esc is used to back out of a sub-menu without modifiying the value.

When first connecting, press enter to display the main menu. The current values are displayed next to the slider label.