完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,我收到了来自Microchip的一些样品,并开始测试一个。不幸的是,它似乎不能在发布模式下工作。只有PIC,MCLR电阻器,ICD连接器和3.3V电容器,内部振荡器,最小程序。xc32 1.42.到目前为止,已经尝试了:尝试使用另一个程序员,尝试使用另一个电源,检查所有电源和编程引脚连接,尝试使用几种配置(代码保护、jtag、调试关闭/打开),尝试直接在MCLR上应用复位电压。无事可做。我开始认为,作为一个示例,只需要附加调试器。随着调试器附加,PIC工作如预期!有什么想法吗?非常感谢你!约翰
以上来自于百度翻译 以下为原文 Hello all, I've received some samples from Microchip and started to test one. Unfortunately, it seems not to work in release mode. Minimal hardware. Only PIC, MCLR resistor, ICD connector and capacitors on 3.3V, internal oscillator, minimal program. xc32 1.42. Things tried so far: try with another programmer, tried with another power supply, checked all power and programming pins connections, tried with several configurations (code protect, jtag, debug off/on, ), tried to apply reset voltage directly on the MCLR. Nothing to do. I've come to think that, being a sample, only works with debugger attached. With the debugger attached, the PIC works as expected! Any idea? Thank you very much! John |
|
相关推荐
2个回答
|
|
嗨,样品是原装设备,所以如果周围有电子电路或程序有问题,建议您在PIC32MZ启动器工具包用户手册上查看PIC32MZ周围的电路。您可能还想查看Olimex板示意图:https://www.olimex.com/Pr。Octus/PIC/Dealth/PIC32-EZ64/开源硬件。你使用和声来初始化PIC32吗?当做
以上来自于百度翻译 以下为原文 Hi, Samples are original devices so if there is an issue it has to see with either the electronic circuitry around or the program. I suggest you look at the circuitry arounf PIC32MZ on the PIC32MZ starter kit user manual. You may want also to check the Olimex board schematic : https://www.olimex.com/Products/PIC/Development/PIC32-EMZ64/open-source-hardware. Are you using Harmony to initialize your PIC32 ? Regards |
|
|
|
大家好,我几乎要发疯了,因为这个…#pragma configFDMTEN=OFFit是死人定时器重置PIC.mad:无论如何,非常感谢你们!
以上来自于百度翻译 以下为原文 Hello all, I've almost become mad because of this... #pragma config FDMTEN = OFF it was the dead man timer resetting the PIC. mad: Thank you very much, anyway! |
|
|
|
只有小组成员才能发言,加入小组>>
5166 浏览 9 评论
2000 浏览 8 评论
1929 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3175 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2227 浏览 5 评论
736浏览 1评论
619浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
507浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
633浏览 0评论
530浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 08:50 , Processed in 1.261393 second(s), Total 81, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号