UM0671
4
4.1
4.2
Note:
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Advanced evaluation using a debugging environment
Running the evaluation firmware in debug mode
Designers can easily run the evaluation firmware in Debug mode using ST debugging and
programming tools.
Hardware tools to be ordered separately:
–
Raisonance RLink debugger/programmer for ST microcontrollers
(www.raisonance.com/)
–
STice in-circuit emulation system
Software tools to be downloaded separately:
–
ST MCU Toolset with ST Visual Develop (STVD) IDE and ST Visual Programmer
(STVP) programming interface
–
STM8 Cosmic C compiler (www.cosmic-software.com/)
In Debug mode, designers can perform an in-depth evaluation of the firmware and visualize
touch sensing parameters. Designers can even customize the touch sensing library to their
specific needs by creating their own application firmware.
For further information about ST software, STM8 microcontrollers or debugging tools,
please read the associated documentation or ask your local ST support team for a training
session. More information is available at www.st.com/touch-sense-sw-lib
Entering debug mode using RLink
This section describes the steps necessary to set up a platform for evaluating and
developing TS firmware.
For links to tools and downloads, please refer to ST's microcontroller web site at
www.st.com/mcu/.
1.
Download and install the ST MCU Toolset with ST Visual Develop (STVD) IDE and ST
Visual Programmer (STVP) programming interface (one single download).
2.
Download and install the STM8 cosmic C compiler.
3.
Install the Rlink USB driver using one of the two following methods:
–
Insert the RAISONANCE CD-ROM into your CD drive and exit from Autorun.
Explore the CD-ROM contents and execute the RLinkUSBInstall.exe file in the
D:\Driver\RlinkDrv directory.
–
Download the RLinkUSBInstall.exe file from the Raisonance web site and execute
the file.
4.
Restart your computer to apply these changes.
5.
Install the RLink hardware:
a)
Place jumpers on the "SWIM" and "ADAPT" RLink configuration pins of the Rlink
USB adaptor as shown in
b)
Connect the SWIM-STM8 adaptor to the RLink USB adaptor.
c)
Connect the SWIM cable between the touch sensing daughterboard (J5 SWIM
connector) and the SWIM-STM8 adaptor as shown in
d)
Connect the USB cable between your PC and the RLink USB adaptor.
e)
Power the TS daughterboard through the STM8S2xx evaluation board.
Advanced evaluation using a debugging environment
Figure
8.
Doc ID 15330 Rev 4
Figure
9.
15/23
Need help?
Do you have a question about the STM8S and is the answer not in the manual?