Firmware Upgrade
Contents:
- 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
[Top][Home]
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.
[Top][Home]
Serial Connection
On Ubuntu download minicom and connect to the serial port on the STM32.
[Top][Home]
Cable Connection
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.
[Top][Home]
Transfering the firmware to the STM32
Ref:$ARADIO/Projects/hbld/Firmware/README.txt
https://os.mbed.com/platforms/ST-Nucleo-F767ZI/
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
[Top][Home]
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".
[Top][Home]
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:
- 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.
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."
[Top][Home]
Glenn Lyons VK4PK
glenn@LyonsComputer.com.au
Ver:gnl20201019 - pre published v0.9