tutorials/stm32/nucleo-u5a5zj-q/cubemx/README.md
This guide explains how to bring up a production-grade Web UI dashboard on the Nucleo-U5A5ZJ-Q board with the X-NUCLEO-67W61M1 Wi-Fi expansion board for STM32 Nucleo boards, based on the ST67W611M1 Wi-Fi module.
A pre-configured, ready-to-run project zip is available for download at https://mongoose.ws.
To integrate the Web UI dashboard into an existing CubeMX project, or to create a new project from scratch:
Note: to setup your WiFi login credentials, open the wifi.c file located in the
Mongoose directory and edit the WIFI_NAME and WIFI_PASS macros.
An .ioc file is included in this directory for your reference. It was created
using the following steps:
Before running this project, the correct firmware must be flashed onto the Wi-Fi board.
Steps:
Install the X-CUBE-ST67W61 package.
Open STM32CubeMX, then navigate to:
Help -> Manage embedded software packages.
In the STMicroelectronics tab, locate X-CUBE-ST67W61.
Select the latest version and click Install.
Connect the X-NUCLEO-67W61M1 board to the Nucleo-U5A5ZJ-Q board using the Arduino connectors CN7, CN8, CN9 and CN10.
See Figure 5 in the Wi-Fi board user manual for the connector layout.
Program the firmware to the ST67W61 module.
Connect the Nucleo board to your PC using a USB cable.
Navigate to the STM32Cube repository directory. The installed package is located at:
Packs/STMicroelectronics/X-CUBE-ST67W61/<version>/
Then navigate to:
<version>/Projects/ST67W6X_Utilities/Binaries
Run the appropriate script depending on your operating system:
NCP_update_mission_profile_t02.sh (Linux)NCP_update_mission_profile_t02.bat (Windows)Ensure that STM32CubeProgrammer is installed and available in your system PATH.
For more details on the programming process, see Section 4.3 and Table 2 of the Wi-Fi board user manual.