Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM0991 Datasheet(PDF) 2 Page - STMicroelectronics

Part # UM0991
Description  Developing and debugging your STM8L-DISCOVERY application code
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0991 Datasheet(HTML) 2 Page - STMicroelectronics

  UM0991 Datasheet HTML 1Page - STMicroelectronics UM0991 Datasheet HTML 2Page - STMicroelectronics UM0991 Datasheet HTML 3Page - STMicroelectronics UM0991 Datasheet HTML 4Page - STMicroelectronics UM0991 Datasheet HTML 5Page - STMicroelectronics UM0991 Datasheet HTML 6Page - STMicroelectronics UM0991 Datasheet HTML 7Page - STMicroelectronics UM0991 Datasheet HTML 8Page - STMicroelectronics UM0991 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 52 page
background image
Contents
UM0991
2/52
Doc ID 17891 Rev 2
Contents
1
Overview of STM8 software development toolchains . . . . . . . . . . . . . . 6
1.1
ST Visual Develop (STVD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2
ST Visual Programmer (STVP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3
C and assembly compilers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4
IAR Embedded Workbench . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.5
Firmware libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2
Installing the development toolchain . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1
Downloading and installing STVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2
Downloading and installing the compilers . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2.1
Installing the Cosmic compiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2.2
Installing the Raisonance compiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.2.3
Compiler settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3
Downloading and Installing IAR Embedded Workbench . . . . . . . . . . . . . 16
3
Description of firmware library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.1
STM8L15x standard firmware library . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.1.1
Description of the STM8L15x standard firmware library . . . . . . . . . . . . 22
3.1.2
STM8L15x standard firmware library online help . . . . . . . . . . . . . . . . . 23
4
Configuring the option bytes for your application . . . . . . . . . . . . . . . . 24
5
Building and running your project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.1
Description of the STM8L-DISCOVERY development package . . . . . 27
5.1.1
Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.1.2
Application code examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.1.3
Project structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.2
Running the STM8L-Discovery examples . . . . . . . . . . . . . . . . . . . . . . . . 29
5.2.1
With STVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.2.2
With IAR Embedded Workbench . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5.3
Creating your own project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.3.1
Creating your project structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.3.2
Creating your STVD project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com