
UM1000
Upgrading the demonstration firmware
Doc ID 17964 Rev 1
4
Upgrading the demonstration firmware
4.1
Programming the media files
The STM8L1528-EVAL board comes with an MicroSD card memory preprogrammed with
audio resources used by the demonstration. However you can load your audio (*.wav) files
in the “USER” directory, providing that these file formats are supported by the
demonstration. For more details please refer to
Section 3.8.3: Wave player demo on
Figure 51.
SD card directory organization
The default content of the media files (USER directory) is located in the Binary\Media folder.
To reprogram the MicroSD card, simply copy the content of the Binary\Media folder to your
own SD memory.
4.2
Programming the demonstration
To upgrade the demonstration firmware running on your board, perform the following steps:
1.
Download the latest version of STM8L1528-EVAL demonstration firmware and related
user manual from www.st.com/mcu.
2.
Extract the content of the downloaded zip file to the directory of your choice.
3.
Power on the STM8L1528-EVAL board and connect it to the debug instrument.
4.
Select the folder corresponding to your preferred toolchain (STVD, EWARMv6 or
RIDE).
5.
Open the project and rebuild all sources.
6.
Load the project image through your debugger.
7.
Restart the evaluation board (Press B1: reset button).
Note:
You can also load a binary file of the demonstration firmware (.hex) by using the STVP
toolchain (refer to the STVP online help for details). The binary file is available under
\STM8L1528-EVAL_FW\Utilities\Binary.
www.BDTIC.com/ST