| Electronic Components Datasheet Search |
|
UM0991 Datasheet(PDF) 29 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0991 Datasheet(HTML) 29 Page - STMicroelectronics |
|
29 / 52 page ![]() UM0991 Building and running your project Doc ID 17891 Rev 2 29/52 5.2 Running the STM8L-Discovery examples Before starting developing your own application, run one of the examples provided with the development package to check if is is correctly configured. Take care to read the example- related documentation before proceeding because some examples may require additional hardware to work properly. 5.2.1 With STVD Follow the steps below: 1. Install the development toolchain (see Section 2: Installing the development toolchain) – Cosmic or Raisonance compiler –STVD 2. Download the STM8L-Discovery_dev.zip file and extract the directory STM8L- Discovery_dev on your PC (see Section 5.1: Description of the STM8L-DISCOVERY development package) 3. Run STVD From START>Programs>ST Toolset>Development Tools>ST Visual Develop a) Select File -> Open Workspace b) Browse for the project file .stw of the example you intend to run according to the compiler you have installed: – Discover example: STM8L- Discovery_dev\Project\Discover\STVD\Cosmic\Discover.stw or STM8L- Discovery_dev\Project\Discover\STVD\Raisonance\Discover.stw – WavesGenerator example: STM8L- Discovery_dev\Project\WavesGenerator\STVD\Cosmic\WavesGenerator.stw or STM8L- Discovery_dev\Project\WavesGenerator\STVD\Raisonance\WavesGenerator.stw 4. Configures STVD to use ST-LINK as debug instrument (see Figure 23): a) Click Debug instrument -> Target Settings. b) Select target Swim ST-LINK in the target list. 5. Click Build -> Rebuild All to build your application. 6. Clicking Debug -> Start Debugging to start the debug session. 7. Click Debug -> Run to run you application. 8. The application code example you have selected is now running. Check if it operates in compliance with what is described in the associated application note. You can also use STVD debug capabilities to run the code step by step and monitor the variables (see Section 6.2: Debugging your application). |
|
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 |
| 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 |