1
完善资料让更多小伙伴认识你,还能领取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的选项
2730 浏览 1 评论
3239 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1808 浏览 1 评论
3647 浏览 6 评论
6035 浏览 21 评论
1339浏览 4评论
198浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 10:22 , Processed in 1.535692 second(s), Total 78, Slave 62 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号