完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我为STM8L052C6设计了PCB,并使用ST-LINK V2 mini进行编程。我使用的是3.3v GND SWIM NRST引脚,但没有编程。我在STVP和Selected STM8L052C6兼容的编译文件中选择了STM8L052C6。我仍然遇到问题。我直接在ST_LINK V2上使用这四个引脚。请帮我解决这个问题。提前致谢.. #倾斜下载程序 - 在闪光 以上来自于谷歌翻译 以下为原文 Hi, I designed PCB for STM8L052C6 and programming using ST-LINK V2 mini. I am using 3.3v GND SWIM NRST pins but is not programming. I have selected STM8L052C6 in STVP and Selected STM8L052C6 compatible compiled file. Still i am getting problem. I am directly using these four pins with ST_LINK V2. Kindly help me to solve the issue. Thanks in advance.. #cant-download-program-in-flash |
|
相关推荐
4个回答
|
|
你好Omkar,
你能用MCU展示你的原理图吗? 您还可以使用STM8L052C6与我的电路板原理图进行交叉检查。我把它附在下面。 问候 Szymon 以上来自于谷歌翻译 以下为原文 Hello Omkar, Can you show your schematics with MCU? You can also make a cross check with schematics of my board with STM8L052C6. I attach it below. Regards Szymon |
|
|
|
我像你一样添加了电容器,现在进行了测试,但没有解决,我正在分享我的原理图
我为SWIM和NRST保留了2个焊盘,并直接焊接电线进行编程。 SWIM和NRST的默认状态为0.02 V.我使用ST-LINK V2进行编程。 以上来自于谷歌翻译 以下为原文 I added capacitor as you did and tested now but not worked out, i am sharing my schematic i kept 2 pads for SWIM and NRST and directly soldering there wire for programing. Default status of SWIM and NRST is 0.02 V. I am using ST-LINK V2 for programming. |
|
|
|
你好Omkar,
感谢您分享原理图。我对它进行了审查。请在下面找到我的反馈: VDDx,VDDA,VREF +,VLCD:连接正常(3.3V) VSSx,VSSA,VREF-:连接正常(接地) NRST / PA1引脚与地之间的100nF电容缺失 VDD1引脚与地之间的100nF电容缺失 VDDA / VREF +引脚与地之间的100nF + 1uF电容缺失 VDD2和地之间的100nF电容缺失 C24的价值未知。它应该是1uF。 从原理图看,似乎连接正常:您使用PA1 / NRST作为PAD1,接地为PAD2,SWIM作为PAD3,3.3V作为PAD4。将这四条线直接连接到ST-Link应该允许连接到MCU。请添加所有缺少的电容,然后重试。我没有在原理图上发现任何其他问题。 你提到你测量0.02V SWIM和NRST引脚。这很奇怪,因为NRST引脚具有内部上拉电阻,您应测量VDD附近的值,因此在您的情况下为3.3V。请确保电源电压连接到MCU。 问候 Szymon 以上来自于谷歌翻译 以下为原文 Hello Omkar, Thanks for sharing the schematics. I made a review of it. Please find below my feedback: VDDx, VDDA, VREF+, VLCD: connections are ok (3.3V) VSSx, VSSA, VREF-: connections are ok (ground) 100nF capacitor between NRST/PA1 pin and ground is missing 100nF capacitor between VDD1 pin and ground is missing 100nF + 1uF capacitors between VDDA/VREF+ pins and ground are missing 100nF capacitor between VDD2 and ground is missing C24 has unknown value. It should be 1uF. From the schematics it seems that connection is ok: you use PA1/NRST as PAD1, ground as PAD2, SWIM as PAD3 and 3.3V as PAD4. Attaching these four wire directly to ST-Link should allow to connect to the MCU.Please add all missing capacitors and try again. I didn't find any other problem on your schematics. You mentioned that you measure 0.02V on SWIM and NRST pins. This is strange, because NRST pin has internal pull-up resistor and you should measure there value around VDD, so 3.3V in your case. Please make sure that supply voltage is attached to MCU. Regards Szymon |
|
|
|
嗨,
它工作,非常感谢。然后我尝试做出改变。我只使用11和12针短和100nf,9针gnd,1针游泳。它编程。它解决了但是我的PCB仍然没有找到问题。我会在什么时候找到它让你知道。谢谢你。 以上来自于谷歌翻译 以下为原文 Hi, It worked, Thanks a lot. Then i try to make changes. I used just 11 and 12 pins short and 100nf, 9 pin gnd, 1 pin swim. It programmed. It worked out but not on my PCB still finding problem. I will let you know when i will find it. Thanks for it. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2718 浏览 1 评论
3235 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3645 浏览 6 评论
6033 浏览 21 评论
1334浏览 4评论
208浏览 3评论
195浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
348浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
440浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-20 09:30 , Processed in 1.104429 second(s), Total 83, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号