3.9 Downloading
1 Intro
2
Electrocardiogram (
Ecg
) Signals
The Electrocardiogram (
Ecg
)
•
Ecg
: electrical manifestation of heart activity recorded
from the body surface
•
monitoring of heart rate
The
Ecg
signal can be recorded fairly easily with surface
electrodes placed on the limbs and/or the chest, see pages
6
–
16
below.
Josef Goette
2
2009
3.9 Downloading
The command
Flash
7→
Download
or its icon download the compiled file to the STM32 and let it
run if the option
Reset and Run
is set (see Figure
). If the program doesn’t start push the reset
button on the STM32-H103 board. A program downloaded into the flash will stay in the flash
even if the power supply is removed.
Our program will count up on GPIOB. Connect therefore the J24 with PB8, J25 with PB9, J28-PB10,
J29-PB11. If you connect a LED to PB0 you won’t see anything since the switching frequency is to
high. That’s why we use PB8..PB11. You should see the binary counter on D1 - D4.
3.10 Debugging
In the debugging mode you have the same options as in the Simulation mode. Refer therefore to
Chapter
3.11 Serial Terminal
hTerm (
CD:/tools/hterm/HTerm.exe
) is a powerfull tool for analysing serial communication.
No installation is needed. Select the Port you want to communicate and the desired baud rate,
press connect and hTerm will display you the received data.
Figure 3.16:
hTerm
Lukas Kohler
21