2 Updating device firmware
Clyne edited this page 3 years ago

stmdspgui has built-in support for programming the stmdsp firmware to a NUCLEO development board.

One-time setup for Windows

Drivers may need to be installed for the development board. These can be installed with the program Zadig, downloadable from here.

Connect your NUCLEO development board to your computer via USB. This is not the USB connector on the add-on board.
Next, run Zadig. With the NUCLEO board selected in the device drop-down menu, click the Install Driver button if no driver is installed. Once installed, Zadig is no longer needed.

1. Get stmdsp firmware

The latest stmdsp firmware can be downloaded from the project's releases page.

2. Connect NUCLEO board to computer

Connect your NUCLEO development board to your computer via USB. This is not the USB connector on the add-on board.

If you have already used the NUCLEO board with the add-on board and stmdspgui, you will also need to power the processor through the add-on board's USB port. Otherwise, ensure that jumper JP5 (next to the the reset button on the NUCLEO board) is set to U5V. JP5 will need to be set to E5V once the add-on board is connected.

3. Upload firmware to NUCLEO board

Open stmdspgui (download here), and click "Download firmware..." inside the Help menu.

From the file selection prompt, find and select the stmdsp firmware file. Firmware programming will begin immediately, and stmdspgui will report if the process is successful.

The NUCLEO board should now be ready for use. See Device assembly and info next if this is your first time setting up the hardware.

Troubleshooting

  • Confirm that the proper drivers are installed with Zadig. You may try reinstalling the drivers.
  • Ensure that the processor on the development board is receiving power. Set JP5 (next to the reset button on the NUCLEO board) to U5V if it is not.
  • If you still do not have success, you may try the Programming on Windows instructions.