Problems with single-step debugging of STM8

Publisher:和谐共存Latest update time:2018-09-05 Source: eefocusKeywords:STM8 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The following problems occur when using STM8 for single-step debugging:

Sometimes the following error message appears: Error:swim error[30007]:swim communication error, as shown below:


Sometimes the following error message appears: Error: swim error [30004]: comm timeout, as shown below:


Cause: A hardware watchdog was set during the development process, causing the watchdog to reset as soon as the program is entered.

Solution: Modify the option byte and set it as software watchdog.

Lessons learned: Do not enable the hardware watchdog during single-step debugging in the future.


Keywords:STM8 Reference address:Problems with single-step debugging of STM8

Previous article:Causes and solutions for STM8S error messages
Next article:Learning about stm8 interrupts

Latest Microcontroller Articles
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号