Problems encountered in programming stm8 based on STVD

Publisher:开国古泉Latest update time:2020-09-10 Source: eefocusKeywords:STVD Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Installation software cracking problem:

There are two programming environments for stm8: STVD and IAR for STM8; STVD is officially released by ST, and many materials show that STVD is better than IAR. However, STVD is only a programming environment, and the compiler software is cosmic, which is different from the previous method. The previous software similar to MDK integrated IDE and compiler. Cosmic is not officially released by ST, but a French company. It is very difficult to crack. There are few direct cracks on the Internet, and it is not reliable to send an email to Cosmic to ask for a license (personal experience). Fortunately, I finally found a software that can be cracked. In short, it took a lot of effort.


2. Specific problems encountered during construction:

1、Problems encountered in programming stm8 based on STVD

The reason for this is that cosmic is not cracked. Find a cracked version to solve it.


2、

Problems encountered in programming stm8 based on STVD
The reason for this problem is that the comment in stm8s.h is not removed: #define STM8S003.

3、

Problems encountered in programming stm8 based on STVD
If this problem occurs, you need to add the following code in main.c to solve it:

void assert_failed(u8* file, u32 line)

 

 

  while (1)

  {

  }

4、

Problems encountered in programming stm8 based on STVD
The reason is that if the computer is a 64-bit system and the software is installed in the x86 root directory, it is easy to default to non-x86 when configuring the path, so this problem will occur. The solution is to change the path to the x86 root directory.

Keywords:STVD Reference address:Problems encountered in programming stm8 based on STVD

Previous article:stm8 clock output pin
Next article:Renaming an existing project to another project in STVD

Recommended ReadingLatest update time:2024-11-16 04:18

stm8 debugging hardware I2C experience
This time, debugging the hardware of stm8 was really hard. I didn't expect it to be so annoying! It took me 5 days to do it. I referred to many examples on the Internet and Fengchi's stm8 explanation! And my own practice, I finally figured it out! I would like to share some of my experiences in the debugging process w
[Microcontroller]
STM8 time base unit
The time base unit contains: 16-bit up/down counter 16-bit auto-reload register Repeat counter Prescaler (Figure 29: STM8 time base unit) The 16-bit counter, prescaler, auto-reload register and repeat counter register can be read and written by software. The auto-reload register consists of a preload regist
[Microcontroller]
STM8 time base unit
STM8 lighting program
Development environment: ST Visual Develop + STM32 ST-LINK Utility + development board Principle: Output high-level signal to the specified pin regularly /* MAIN.C file  *  * Copyright (c) 2002-2005 STMicroelectronics  */ #include stm8s.h #include stm8s_clk.h #include stm8s_gpio.h void Init_GPIO(void) {    
[Microcontroller]
stvd+stm8s: #error clnk stm8s_sx1276.lkf:1 segment .ubsct size overflow (313)
STVD compiles the stm8s project and reports the following error: Running Linker clnk -l"C:Program Files (x86)COSMICCXSTM8Lib"  -o Debugstm8s_sx1276.sm8 -mDebugstm8s_sx1276.map Debugstm8s_sx1276.lkf #error clnk Debugstm8s_sx1276.lkf:1 segment .ubsct size overflow (313)  The command: "clnk -l"C:Program Files (x86)COSM
[Microcontroller]
IAR EW for STM8 3.11.1 Chinese package Chinese tutorial
Download address of Chinese localization package: https://me.csdn.net/download/u010210711 Chinese localization tutorial Directly unzip the Chinese localization package and copy it to the bin folder of the installation directory, such as: C:Program Files (x86)IAR SystemsEmbedded Workbench 8.3commonbin After Chinese tr
[Microcontroller]
IAR EW for STM8 3.11.1 Chinese package Chinese tutorial
About Atomthreads, a real-time operating system that can run on STM8
A friend asked a question like this: I don't want to run an operating system on the STM8 microcontroller. When I need to process some business logic, I also need to detect short presses, long presses, and multiple buttons being pressed at the same time. How can I achieve this? Without running an operating system,
[Microcontroller]
About Atomthreads, a real-time operating system that can run on STM8
Incremental programming method for STM8 microcontroller
1 Open STVP 2 PROJECT/NEW, create a project with a random name 3 PROJECT EDITION, first select the chip in Configuration, the most important thing is to set it in SerialNumbering Check Enable Serial Number, enter the address you want to select, the starting value and the step value of the byte number 4After setting up
[Microcontroller]
Incremental programming method for STM8 microcontroller
STM8 Embedded Feature Programming: Building Your System Time
Time may be too important for a system. It is the basis for system timing task processing, measurement, signal capture, and event recording. When the phone is turned on, the system will read the time from the RTC module of the PMU as the time base for all system tasks. After that, the operating system will maintain th
[Microcontroller]
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号