STM8S103-STVD creates an assembly code project

Publisher:钱老李Latest update time:2019-11-22 Source: 51heiKeywords:STM8S103 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

STVD is not used by many people, and STVD assembly is used by even fewer people. However, I like STM8 assembly myself. Now I work in computer software, and I hardly use MCU. But I don't want to forget this knowledge. I hope to solidify the knowledge through blogs. Besides, there is very little information about STM8 assembly on the Internet, and I want to do my best to fill this gap. Here is a very simple process of establishing an assembly code project, and I will explain the writing of assembly code when I have time. 


1. Open the STVD interface here. 
Write the picture description here 
2. Select New Workspace to create a new workspace (which can accommodate multiple projects at the same time). 
Write the picture description here 
3. Select Create workspace and project. This option will create a workspace and project together. You can also select other options as needed. Generally, this is selected. 
Write the picture description here 
4. Fill in the name of the workspace and the path where it is located. 
Write the picture description here 
5. Fill in the name of the project and select the project path. Select ST Assembler Linker in the toolchain below (select this for assembler projects, and you can select other options  if it is C language
Write the picture description here 
). 6. Select the model of MCU (microcontroller). I can find it quickly through the search method at the top, or you can search one by one. I chose STM8S105C6, and click OK after selecting. 
Write the picture description here 
7. In this way, the basic directory structure STVD has generated for us. We can write our own programs based on this. 
Write the picture description here

Keywords:STM8S103 Reference address:STM8S103-STVD creates an assembly code project

Previous article:STM8S103 tim2PWM output
Next article:STM8's I2C enters assert_failed when writing address

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号