UM0501
Upgrading the demonstration firmware
Doc ID 14320 Rev 3
19/23
3
Upgrading the demonstration firmware
To upgrade the demonstration firmware running on your board, go through the following
steps.
1.
Download the latest version of STM8/128-EVAL demonstration firmware and related
user manual from
www.st.com/mcu/modules.php?name=mcu&file=familiesdocs&FAM=113
2.
Extract the content of the downloaded zip file to the directory of your choice
3.
Power on the STM8/128-EVAL board and connect it to the Debug instrument
4.
Open STVD toolchain and proceed as follows.
a) Open
a
demo.stw
project by selecting
File>Open Workspace
and browsing the
demo project under:
\STM8-128-EVAL_Demo\Demo\project\STVD\Cosmic\
b)
Configure the Debug instrument.
Click
Debug Instrument>Target Settings
in the
Debug Instrument Setting
window
Select the target Debug instrument used for the debug session (SWIM STICE or
SWIM RLink)
Click OK.
c) Click
Build>Rebuild All
to rebuild all files
d) Click
Debug>Start Debugging
to load the demonstration image
5. Select
Debug>Run
to run the demonstration. The demonstration firmware is now
programmed and you can close the debugging session.
Note:
You can also load a binary file of the demonstration firmware (.s19) by using the STVP
toolchain (refer to the STVP online help for details). The binary file is available under \STM8-
128-EVAL_Demo\Image.