- Download the latest firmware from github
- Serial Connection
- Cable Connection
- Transfering the firmware to the STM32
- Restart the STM32 and Monitor the Console
- Updating the Nextion firmware
Download the latest firmware from github
The firmware can be found on pcloud on most occasions. If not it can be downloaded
from the github repository My12.
Note that the binary is located in the Debug folder in the github repository.
Alternatively, you can download just that file.
On Ubuntu download minicom and connect to the serial port on the STM32.
Use UBS cable to connect CN1 on the STM32 Nuleo to the USB port on Ubuntu
/media/glenn/NODE_F767ZI will mount.
Note that /media/glenn/NODE_F767ZI will mount.
Transfering the firmware to the STM32
Insert USB cable to connect CN1 on the STM32 Nuleo to the USB port on Ubuntu and
observe that /media/glenn/NODE_F767ZI will mount.
Copy latest firmware to NUCLEO.
Copy $ARADIO/Projects/hbld/firmware/My<99> to NODE_F767ZI folder and
immeditatly after the copy all Red leds on the SPLAT Board turn on and the yellow flashes and
the My<99> file disapears from the NECULO's folder
Restart the STM32 and Monitor the Console
Leave minicom running and press the black reboot button on the SMT32 and the
console will produce output similar to this. Note the Software Version and the
build nimber have changed to reflect the new verion of the firmware has loaded.
In thsi case: "SW Ver=0.10, Build=10003".
Updating the Nextion firmware
Uploading to the Nextion using a microSD card:
Locate the HMI file that matches the STM32 firmware version in the git repository
for uploading to the Nextion, ot alternatively build it from the TFT source code
using th Nextion editor.
To use the TFT source file open it in the Nextion editro and output under the File menu
to generate your TFT file to your microSD card. You need to ensure the following:
Note: not all microSD cards are designed for embedded use. For example, the Ultra High
Speed microSD cards for use with high speed digital cameras. Not all
manufacturers adhere to the same standards. It is a matter of finding microSD
cards that work for you in a reliable manner. As an example, We have had good
successes with Kingston 32GB class 10 HC microSD cards and there are many many
other brands that work well."
- the microSD card is Windows formatted as FAT32,
- there is only one *.tft file int the root folder of the microSD card,
- the microSD card is less than 32GB in size (32GB microSD cards generally are),
- the power to Nextion device is off when inserting and removing the microSD card,
- and that you allow time for any firmware updates to occur after powering your Nextion device back on.
Glenn Lyons VK4PK
Ver:gnl20201019 - pre published v0.9