完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我一直工作良好,随着一些PIC16F部分在20和28针浸封装。当我决定尝试一个项目40针浸我开始有麻烦,我猜因为我选择了PIC16F84,我想现在被认为是一个旧的一部分,因为它只有8兆赫最大(有趣的是,只有少数选择回来时,我选择它)。不管怎样,在这个版本中,PICIT 3固件ISPK3FWY014909JAM似乎很方便地“忘记”如何在调试模式下编程这个设备,它的生产很好,但是我没有任何生产代码。我环顾四周,我想我可以“哄骗”我原来的项目,比如PIC16F18875或PIC16F15375(是的,我知道它们是便宜的零件,现在我猜,其他选项确实花费更多),但是在那里我只需要大量的额外的特征和子系统(实际上是所有的ReGIS)。我正在使用一种或那种方式重命名,并且在很多情况下,你和他们说话的方式也不同),固件需要几百个小时的重试才可以尝试新的芯片类型,谁会为此付出代价?我可以显示整个“分类”,但有时它识别芯片类型,有时它不,不管它总是回来读的第一个字,它尝试是零,它停止。没有专门用于任何其他程序的引脚,没有看门狗定时器使用,它不是LVP和所有电源引脚连接,我已经尝试了多个芯片相同的结果,这不是我的第一个牛仔竞技。我怎样才能找到固件回滚到什么?(为什么我要把这个“霍布森的选择”放在首位呢?等太久才能把东西带到市场,你会因为你的麻烦而受到惩罚吗?多么令人恼火的情况……哦,是的,这是MPLAB X IDE 3.65,如果你想知道的话,是最新最伟大的。
以上来自于百度翻译 以下为原文 I've been working well as of late with some PIC16F parts in 20 and 28 pin DIP packages. As soon as I decided to try a project with a 40 pin DIP I started having trouble, I guess because I picked a PIC16F884 which I guess now is considered kind of an old part because it's only 8 MHz max (funny it was one of only a few choices back when I picked it). Anyhow the Pickit 3 firmware is PK3FW_014909.jam which at this revision seems to have conveniently "forgotten" how to program this device in debug mode, it does production fine but I don't HAVE any production code to put into it! I'm looking around and I suppose I could "coax" my original project into something like a PIC16F18875 or PIC16F15375 (yes I know they're cheaper parts NOW I guess, other options DO cost more) but there's just TONS of extra features and subsystems in there I DON'T NEED (and practically ALL the registers I'm using got renamed one way or another, and in many cases the way you talk to them is different too), the firmware will need HUNDREDS of hours of rework just to TRY it on the new chip types and who's gonna pay for THAT?? I could show the whole "triage" but sometimes it recognizes the chip type and sometimes it doesn't, regardless it always comes back with readback on the first word it tries is zero and it stops. There's no pins dedicated for programming that are used for anything else, no watchdog timer usage and it's not LVP and all power pins connected and I've tried multiple chips same result, this isn't my first rodeo. How can I figure what firmware to roll back to and how to do that? (And why am I put into this "Hobson's choice" in the first place? Wait too long to bring something to market and you're penalized for your trouble? What an infuriating situation...) Uh, oh yeah it's MPLAB X IDE 3.65, latest and greatest if you were wondering. |
|
相关推荐
8个回答
|
|
只有内部振荡器是8MHz最大的。芯片本身可以运行到20MHz。我不遵守这个声明。你是说你没有原来的项目了吗?只有在调试模式下生成的十六进制文件?您确定配置代码中是否有LVP禁用?RB3/PGM引脚是否有下拉?
以上来自于百度翻译 以下为原文 It's only the internal oscillator that is 8MHz max. The chip itself can run up to 20MHz. I don't follow this statement. Are you saying you don't have the original project any more? Only a hex file produced in debug mode? Are you sure you have LVP disabled in the CONFIG word? Does the RB3/PGM pin have a pulldown? |
|
|
|
我是说,如果我在“生产”方面,我得到“加载完成”,没有编程错误,但代码从未被调试。是的,不,它不需要它,如果我不使用LVP。
以上来自于百度翻译 以下为原文 I'm saying if I go on the "production" side I get "loading complete" and no programming errors but the code has never been debugged. Yes, and no it doesn't need it if I'm not using LVP. |
|
|
|
你似乎在排除一些重要的信息,比如当你尝试调试芯片时会发生什么。你所说的只是“方便地”忘记了“如何在调试模式下编程这个设备”,而没有任何解释你为什么相信这是事实。解释你所尝试的,并报告发生了什么事。
以上来自于百度翻译 以下为原文 You seem to be leaving out some vital information, like what happens when you try to debug the chip. All you've said is "conveniently "forgotten" how to program this device in debug mode, ", without any explanation why you believe this to be the case. How about dropping all your assumptions, and just explaining exactly what you tried, and reporting what happened please. |
|
|
|
就像我说的那样,在读取1个零和非比较字之后,停止调试程序,如果它甚至达到了那么远(识别设备,有时它有时也是零)。相当简单!
以上来自于百度翻译 以下为原文 Like I said it stops debug programming after reading back 1 word of zero and noncompare, if it even gets THAT far (recognizes device, sometimes it does sometimes that's zero too). Pretty straightforward! |
|
|
|
幽默我,并尝试下拉RB3/PGM。擦除芯片擦除配置字,这使得LVP。
以上来自于百度翻译 以下为原文 Humour me, and try putting a pulldown on RB3/PGM. Erasing the chip erases the CONFIG word, which enables LVP. |
|
|
|
嗨,确实观察到类似的问题与MPLAB X V3.65 I已经回到X V3.61,并已恢复了皮卡3固件通过使用MPLAB 8.92手动固件更新。迈西尔
以上来自于百度翻译 以下为原文 Hi, Did observe seemingly similar problem with MPLAB X v3.65 I have gone back to X v3.61, and have restored PICkit 3 firmware by use of MPLAB 8.92 manual firmware update. Mysil |
|
|
|
这样做了,让我进入调试!(并不是说Mysil的评论可能也不适用。)事实上,那个插销已经进入了一个界面,如果所有组装在一起的都是LED和拉起,但我所做的只是给GND投上一个跳线,然后一切都开始了。在“容易使用”的16F部件中,有40个引脚的NV数据存储器是884个,也许是1934个,过去,你用这些新的子系统结束这些“5位”部分,不幸的是,它们几乎改变了所有的寄存器名称,而你有时会把它的数量增加一倍。S计划,猜测该公司认为所有这些东西使零部件“竞争”,但…非常模糊的bug,但这可能会帮助下一个家伙/加尔,如果我经历了所有322页的PDF,我会在那里几个星期。谢谢大家!
以上来自于百度翻译 以下为原文 That did it, got me into debug! (Not to say Mysil's comment may not apply too.) Actually that pin went out to an interface, had that all been assembled there would have been an LED and pullUP but all I did was put a jumper to GND and it all started behaving. All there is in 40 pin DIP in "easy to use" 16F parts which have NV data memory are the 884 and maybe 1934, past that you wind up with these "5 digit" parts with all these new subsystems and unfortunately they changed almost all the register names and you wind up sometimes with twice as much init as program, guess the company thinks having all that stuff makes the parts "competitive" but...?? Awfully obscure bug but maybe this'll help the next guy/gal, had I gone through all 322 pages of pdf I'd be in there a few weeks more. Thanks a bunch qhb! |
|
|
|
我过去遇到过这种情况,记住这一点很好。有一个论坛线程从5年前,进入它有一点更深:HTTP://www. McCHIP.COM/FUMMS/M64064 3.ASPX
以上来自于百度翻译 以下为原文 I have encountered this in the past and it's good to keep in mind. There is a forum thread from 5 years ago that goes into it a bit more deeply: http://www.microchip.com/forums/m640643.aspx |
|
|
|
只有小组成员才能发言,加入小组>>
5244 浏览 9 评论
2035 浏览 8 评论
1955 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3214 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2261 浏览 5 评论
779浏览 1评论
673浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
599浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
683浏览 0评论
580浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 21:05 , Processed in 2.019688 second(s), Total 92, Slave 76 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号