找回密码
 立即注册
查看: 2844|回复: 11

STC8G1K08A-36I-SOP8烧录不进去固件

[复制链接]

4

主题

6

回帖

32

积分

新手上路

积分
32
发表于 2023-1-18 10:04:49 | 显示全部楼层 |阅读模式
原理图: STC8G1K08A-36I-SOP8烧录不进去固件-1.png STC8G1K08A-36I-SOP8烧录不进去固件-2.png

STC8G1K08A-36I-SOP8烧录不进去固件-3.png
回复

使用道具 举报 送花

  • 打卡等级:偶尔看看III
  • 打卡总天数:56
  • 最近打卡:2025-05-03 10:05:34

718

主题

1万

回帖

1万

积分

管理员

积分
15646
发表于 2023-1-18 10:31:56 | 显示全部楼层
都放假了,你淘宝上买个如下工具烧录
1.png
  • 打卡等级:偶尔看看III
  • 打卡总天数:56
  • 最近打卡:2025-05-03 10:05:34

718

主题

1万

回帖

1万

积分

管理员

积分
15646
发表于 2023-1-18 10:32:48 | 显示全部楼层
都放假了,你淘宝上买个如下工具烧录
1.png
  • 打卡等级:偶尔看看III
  • 打卡总天数:56
  • 最近打卡:2025-05-03 10:05:34

718

主题

1万

回帖

1万

积分

管理员

积分
15646
发表于 2023-1-18 10:36:23 | 显示全部楼层

如下:第三方 USB 转串口,隔离锗二极管必须加
1.png

2.png

4

主题

6

回帖

32

积分

新手上路

积分
32
发表于 2023-1-18 14:10:19 | 显示全部楼层
还是不能下载
  • 打卡等级:偶尔看看III
  • 打卡总天数:56
  • 最近打卡:2025-05-03 10:05:34

718

主题

1万

回帖

1万

积分

管理员

积分
15646
发表于 2023-1-18 14:20:35 | 显示全部楼层
连接到电脑的详细的原理图,你没发上来,这部分电路可能有问题,
我们已放假,你抓紧淘宝买个我们的工具,马上过节了,快递都是问题



1

主题

2

回帖

15

积分

新手上路

积分
15
发表于 2023-1-31 17:50:06 | 显示全部楼层
Hey
Problem with STC8G1K08A
After the firmware, the controller does not start.
  The code:
#include<reg51.h>

sbit OUT2 = P3^3;

void Delay500us()                //@11.0592MHz
{
        unsigned char i, j;

        i = 6;
        j = 93;
        do
        {
                while (--j);
        } while (--i);
}


int main () {
       
        while (1) {
               
       
                OUT2 = 0;
                Delay500us();

                OUT2 = 1;
                Delay500us();       
}
        }


Log STC-ISP

Checking target MCU ...
  MCU type: STC8G1K08A-8PIN
  F/W version: 7.3.12U

Current H/W Option:
  . ISP-IRC frequency: 23.686MHz
  . IRC frequency: 11.058MHz
  . Wakeup Timer frequency: 35.100KHz
  . Do not detect the level of P3.2 and P3.3 next download
  . Power-on reset, use the extra power-on delay
  . RESET pin behaves as IO pin
  . Reset while detect a Low-Voltage
  . Thresh voltage level of the built-in LVD : 2.00 V
  . Hardware enable Watch-Dog-Timer when power-on reset
  . Watch-Dog-Timer pre-scalar : 256
  . Watch-Dog-Timer stop count in idle mode
  . Erase user EEPROM area at next download
  . Do not control 485 at next download
  . Do not check user password next download
  . Reference voltage: 1190 mV (Range: 1100~1300mV)
  . Testing time: 2021-8-12

  MCU type: STC8G1K08A-8PIN
  F/W version: 7.3.12U

Adjusting frequency ...                        [0.610"]
Adjusted frequency: 11.062MHz (0.022%)

Re-handshaking ... Successful                        [0.125"]
Current Baudrate: 115200
Erasing MCU flash ...  OK !                [0.188"]
Programming user code ... OK !                [0.062"]
Programming OPTIONS ... OK !                [0.016"]

H/W Option upgrade to:
  . ISP-IRC frequency: 23.686MHz
  . IRC frequency: 11.062MHz
  . Wakeup Timer frequency: 35.100KHz
  . Do not detect the level of P3.2 and P3.3 next download
  . Power-on reset, use the extra power-on delay
  . RESET pin behaves as IO pin
  . Reset while detect a Low-Voltage
  . Thresh voltage level of the built-in LVD : 3.00 V
  . Hardware enable Watch-Dog-Timer when power-on reset
  . Watch-Dog-Timer pre-scalar : 256
  . Watch-Dog-Timer stop count in idle mode
  . Erase user EEPROM area at next download
  . Do not control 485 at next download
  . Do not check user password next download
  . Reference voltage: 1190 mV (Range: 1100~1300mV)
  . Testing time: 2021-8-12
MCU ID : F794C4A304863A

  MCU type: STC8G1K08A-8PIN
  F/W version: 7.3.12U

  . Set frequency: 11.059MHz
  . Adjusted frequency: 11.062MHz (clock divider = 2)
  . Trim error: 0.022%


  Complete !(2023-01-31 12:47:46)

Where did the error creep in?
  • 打卡等级:以坛为家I
  • 打卡总天数:328
  • 最近打卡:2025-03-09 19:40:01

9

主题

328

回帖

4501

积分

荣誉版主

积分
4501
发表于 2023-1-31 18:45:05 | 显示全部楼层
Kol9*** 发表于 2023-1-31 17:50
Hey
Problem with STC8G1K08A
After the firmware, the controller does not start.

The reference manual for STC8H in English is available here: http://www.stcmcudata.com/STC8F-DATASHEET/STC8H-EN.pdf


Please refer to section 9 I/O Ports. You have to configure your MCU IOs before using since all the IOs (except P3.0 and P3.1) are in high-impedance by default. For instance, at the beginning of your main function, add:
  1. P3M0 = 0x00; P3M1 = 0x00;
复制代码


In addition, if you have any further question, you can enter the relavent mod from the index (click the bold text next to bubbles in gray or yellow) and then click "发帖" button with blue background (since it is a picture so it won't be translated). That means creating a new thread instead of replying a current one.
  • 打卡等级:偶尔看看III
  • 打卡总天数:56
  • 最近打卡:2025-05-03 10:05:34

718

主题

1万

回帖

1万

积分

管理员

积分
15646
发表于 2023-1-31 18:59:32 | 显示全部楼层

OK,  success
1.png
OK,  success

  • 打卡等级:以坛为家I
  • 打卡总天数:328
  • 最近打卡:2025-03-09 19:40:01

9

主题

328

回帖

4501

积分

荣誉版主

积分
4501
发表于 2023-1-31 19:00:07 | 显示全部楼层
Kol9*** 发表于 2023-1-31 17:50
Hey
Problem with STC8G1K08A
After the firmware, the controller does not start.

See STC8G manual here: www (dot) stcmcudata (dot) com . Search STC8G, and here is an item named "STC8G系列英文用户手册". Sorry for my last reply (currently security check pending ince it contains url) gave that for STC8H.



Here's an extract:

Screen Shot 2023-01-31 at 18.56.43 .png Screen Shot 2023-01-31 at 18.57.24 .png

Codes also available in stc-isp (not a tiny version):
Screen Shot 2023-01-31 at 18.59.40 .png

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )

GMT+8, 2025-5-3 12:38 , Processed in 0.166943 second(s), 113 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表