完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我们在产品中使用STM8S208C8。当我尝试通过ST-Link V2 SWIM连接器进行连接时,我立即得到SWIM错误[30006]:Comm init错误:芯片无法应答。 MCU VDD连接到+ 3.3V,i测量为+ 3.29V。我们有很多电路板组装好,我已经尝试了3个电路板,所有这些错误都是相同的。我已经查看了原理图和PCB布局,但未发现任何问题。相同的ST-Link V2正在使用另一个产品,该产品具有连接到+ 5V VDD的相同MCU。 请帮助解决此问题。 问候, 塞特希 以上来自于谷歌翻译 以下为原文 Hi, We are using STM8S208C8 in our product. When i try this to connect through ST-Link V2 SWIM connector, straight away i am getting SWIM error [30006]: Comm init error: chip does not answer. The MCU VDD is connected to +3.3V and i measured +3.29V. We have plenty of boards assembled and i have tried 3 boards, all through the same error. I have reviewed the schematics and PCB layout and couldn't find any issue. The same ST-Link V2 is working with another product which is having the same MCU connected to +5V VDD. Please help resolve this issue. Regards, Senthil |
|
相关推荐
2个回答
|
|
嗨,这是我在微控制器编程/刻录时遇到麻烦时要遵循的清单。如果你想,试一试:
1)您是否检查过ST-LINK V2编程器是否存在电源电压?原始编程器需要从电路供电,而一些克隆使用自己的电源(取自USB端口)。正确的方法(对于原始的ST-LINK V2)是通过电路板上的微控制器施加电压给编程器供电。 2)您是否检查过微控制器的复位引脚处于高电平(无效)? 3)时钟是否启用/运行? 4)您是否将掉电电压设置为高于电源(如果已设置)? 5)你是否完全删除了微程序中的程序存储器?这可能导致游泳操作困难(阅读有关SWIM的PDF文档)。 请注意,并非所有要点都适用于任何微控制器。只使用那些有意义的。 希望这有帮助,再见。 以上来自于谷歌翻译 以下为原文 Hi, here is a checklist that I follow when I have troubles with microcontroller programming / burning. If you want, give it a try: 1) have you checked if the supply voltage is present on the ST-LINK V2 programmer ? The original programmer needs to be powered from the circuit, while some clones use their own supply (taken from USB port). The correct way (for the original ST-LINK V2) is to power the programmer with the voltage applied to the microcontroller on the board. 2) Have you checked the reset pin of the microcontroller is at high level (inactive) ? 3) Is the clock enabled / running ? 4) Have you set the brownout voltage higher than the power supply (if it was set) ? 5) Have you fully erased the program memory in the micro ? This can cause the swim to operate with much difficulties (read the PDF document about the SWIM). Note that not all the points will apply to any microcontroller. Use only the ones that makes sense. Hope this helps, bye. |
|
|
|
哎呀,我忘记了最重要的一个:测试SWIM引脚是否“自由”和“干净”,所以如果它没有下拉,线路上的电容等硬件问题,等等。
以上来自于谷歌翻译 以下为原文 Oops, I forgot the most important one: test if the SWIM pin is "free" and "clean", so if it does not have some hardware problem like pull-downs, capacitors on the line, etc. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2634 浏览 1 评论
3208 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1783 浏览 1 评论
3609 浏览 6 评论
5987 浏览 21 评论
939浏览 4评论
1315浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
583浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1302浏览 3评论
1358浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 22:11 , Processed in 1.053049 second(s), Total 81, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号