完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,我是新会员。我需要帮助编程这个芯片与皮卡3和(ICD 2适配器)。我为这个芯片创建了HEKS文件,我只需要发送芯片。我试过了所有的方法,但是没有用任何方法。我试着用程序去,但同样没有用。
以上来自于百度翻译 以下为原文 Hi, I'm a new member. I need help in programming this chip with pickit 3 and (icd 2 adapter). I created the HEKS file for this chip and I just had to send the chip.I tried everything but did not work with any of the ways. I tried with program to go but its same didnt work.Ty |
|
相关推荐
19个回答
|
|
|
你没有解释你是如何尝试的以及它是如何失败的。您是否正在连接硬件工具错误?你的关系如何?用这些小信息很难得到帮助。
以上来自于百度翻译 以下为原文 You didn't explain how you tried and how it failed. Are you getting connection to the hardware tool errors? How is your connections? It's difficult to get help with this little information. |
|
|
|
|
|
Pickit 3用USB连接在PC上,没有任何问题。我用ICSP适配器发现了错误,我做了VRISTIN。现在,当我试图擦除,空白检查,程序验证它是成功的,但PIC不起作用。我用这个PIC来保存代码从RF键。
以上来自于百度翻译 以下为原文 Sry about that.Pickit 3 is conected with u*** on pc and dont't have any problems.I found the error with icsp adapter and I make my vrsion.Now when I try to erase,blank check,program and verify it's sucsesful but pic didn't work.I use this pic to save codes from rf keys. |
|
|
|
|
|
你使用哪种IDE?MPLAB8还是MPLABX?您的HEX文件包含PIC的配置位设置吗?
以上来自于百度翻译 以下为原文 Which IDE are you using? MPLAB8 or MPLABX? Does your hex file contain the config bit settings for the PIC? |
|
|
|
|
|
我想你现在可以对MCU进行编程,这是向前迈进的一步。然而,我们也面临着同样的问题:“但是PIC不工作”没有告诉我们。你的硬件、配置设置和/或你的代码可能会出现问题。你能做一个“调试”构建,并且调试器连接吗?对单片机编程后呢?你能写一个简单的程序来闪动LED,这样行吗?你尝试了什么,什么有效,什么不告诉我们你期望发生什么,实际发生了什么?硬件是你设计和建造的,还是预制板(哪一个)?你能显示你的代码(包括配置设置)吗?苏珊
以上来自于百度翻译 以下为原文 I gather that you can program the MCU now which is one step forward. However we are faced with the same problem: "...but pic didn't work" tells us nothing. There could be issues with your hardware, your configuration settings, and/or your code. Can you do a 'DEBUG' build and does the debugger connect to the MCU after programming that? Can you write a simple program to flash a LED and does that work? What have you tried; what works and what doesn't- tell us what you expected to happen and what actually did happen? Is the hardware something you have designed and built or is it as pre-made board (which one)? Can you show is your code (including the configuration settings)? Susan |
|
|
|
|
|
我不认为PIC16F54具有板上调试能力。没有调试,但在配置字。Darko,这真的是一个很差的照片,试图学习。这是古老的,图片已经走过了漫长的道路。新的更快,更容易进行,调试更容易,更便宜。
以上来自于百度翻译 以下为原文 I don't think a PIC16F54 has on board debugging capability. There's no DEBUG but in the CONFIG word. Darko, that really is a very poor PIC to try to learn on. It's ancient, PICs have come a long way since then. The new ones are faster, easier to get going, easier to debug, and CHEAPER. |
|
|
|
|
|
我使用MPLAB X IDE 4.15和IPE 4.15,是的,HEX文件是由我与我合作的公司编写的,只是一个PIC。代码是正确的,因为他们已经测试了它并与它们一起工作。PIC创建的板是由同一个公司提前制作的。我认为唯一的PRO。BMP的MP实验室的设置,我无法确定是因为我开始与它在几个星期前。我会上传图片看看我在做什么。
以上来自于百度翻译 以下为原文 I use MPlab X IDE 4.15 and IPE 4.15.Yes, the hex file is written by the company with which I cooperate with me is just to take a pic.The code is correct because they have tested it and working with them.The board on which the pic was created was made in advance by the same company.I think the only problem with the settings in the mp lab that I can not figure out is because I started working with it a couple of weeks ago. I'll upload pictures to see what I'm doing. |
|
|
|
|
|
我使用MPLAB X IDE 4.15和IPE 4.15,是的,HEX文件是由我与我合作的公司编写的,只是一个PIC。代码是正确的,因为他们已经测试了它并与它们一起工作。PIC创建的板是由同一个公司提前制作的。我认为唯一的PRO。BMP的MP实验室的设置,我无法确定是因为我开始与它在几个星期前。我会上传图片看看我在做什么。
以上来自于百度翻译 以下为原文 I use MPlab X IDE 4.15 and IPE 4.15.Yes, the hex file is written by the company with which I cooperate with me is just to take a pic.The code is correct because they have tested it and working with them.The board on which the pic was created was made in advance by the same company.I think the only problem with the settings in the mp lab that I can not figure out is because I started working with it a couple of weeks ago. I'll upload pictures to see what I'm doing. |
|
|
|
|
|
当我在MPLAIDE中编程时,我连接拾取器3,然后进入电源并选择(电源工具电路从工具),并将VDD 4.75伏特,PIC16F54,擦除,空白检查,然后添加一个HEX文件和程序,然后告诉我填充到程序设备。
以上来自于百度翻译 以下为原文 When I program in MPlab IDE I connect the pickit 3 then go in power seting and select (Power Target Circuit from tool) and put VDD 4.75 volts,slect pic 16f54,erase,blank check then add a hex file and program.Then tell me the FILLED TO PROGRAM DEVICE. |
|
|
|
|
|
ICSP红(MCLR),Brown(VDD),布莱克(VSS),白色(PGD),灰色(PGC)
以上来自于百度翻译 以下为原文 Icsp red(mclr),brown (VDD),Black(VSS),white(PGD),gray(PGC) Attached Image(s) |
|
|
|
|
|
如果HEX文件包含配置设置,你还没有回答,所以我猜你不知道。请把最后十行的HEX文件放在这里,我们可以检查你。(它只是一个文本文件,你可以用记事本或任何其他文本编辑器打开它。)
以上来自于百度翻译 以下为原文 You still have not answered if the hex file contains the config settings, so I guess you don't know. Please post the last ten lines of the hex file here, and we can check for you. (It is just a text file, you can open it with Notepad or any other text editor.) |
|
|
|
|
|
2000 A402A90207620B4000 76100C7124000 000 02E1:1002E002400 180C012401404014790F0B77:1002F00A70267076C0B6C068 20BAC029 F0A100CFE:1003000 02404F0B0C669F0AAC02280C890003073F:10031000 980B6F054 80C89000307960B680C890041:1003200这是编码的十六进制文件,我瘦了。59F0A06059F069E40B0C96A20BFC66A0BF11004000 0Ac22A40B0C26000 054 54 C2F09F0AD0:10035002A0243069F0AA029 F0A2B0243069F0ACB:10036000 09C0A2EB029 F0A60505056F09F0A58:0203FE0920A61: 0000000 1FF 0307940B66059F0A460
以上来自于百度翻译 以下为原文 This is coded hex file i thin so. :1002C000180C2400090211092000A402A902090245 :1002D000070E4307620B6700100CC70124000002E1 :1002E0002800180CC70124000802800143077F0B77 :1002F000A70267076C0B6C06820BAC029F0A100CFE :1003000024004F0B0C069F0AAC02280C890003073F :10031000980B6F05480C89000307960B680C890041 :100320000307940B66059F0A46059F0A26059F0A48 :1003300006059F0ACF069E0B6C00A40BCC06A20BF1 :10034000AC02A40B200C26000505400C2F009F0AD0 :100350002A0243069F0AEA029F0A2B0243069F0ACB :100360009C0C2A00EB029F0AA60505056F009F0A58 :0203FE00920A61 :00000001FF |
|
|
|
|
|
正如我所怀疑的那样,在HEX文件中没有配置数据。在猜测中,编写代码的公司使用MPLAB8,并在将其编程成芯片时手动设置配置比特。告诉他们,配置比特在编译时必须在源代码中指定。
以上来自于百度翻译 以下为原文 As I suspected, there is no CONFIG data in that hex file. At a guess, the company who wrote the code are using MPLAB8, and manually setting the CONFIG bits when they program it into a chip. Tell them that the CONFIG bits must be specified in their source code when they compile it. |
|
|
|
|
|
如果我安装了MPLB8,我能不能咬?他们给了我一个ASM文件,我只需要输入关键代码。
以上来自于百度翻译 以下为原文 If I installed mplb8, would I be able to kunfgure bit? They sent me an asm file in which I would just need to enter the key codes. |
|
|
|
|
|
你知道你需要什么配置吗?它们可以添加到HEX文件中。
以上来自于百度翻译 以下为原文 Do you know what config settings you need? They can be added to the hex file. |
|
|
|
|
|
你是说密码吗?在那个HEX文件中,我已经输入了代码,只是为了把它带到PIC中。在MPlab有没有我不能设置的设置,因此我不能记录PIC?
以上来自于百度翻译 以下为原文 Do you mean key codes?In that hex file there are already entered codes,on me just to take it into pic. Are there any settings in MPlab that I can not set up, so for this reason I can not record a pic? |
|
|
|
|
|
你是说密码吗?在那个HEX文件中,我已经输入了代码,只是为了把它带到PIC中。在MPlab有没有我不能设置的设置,因此我不能记录PIC?
以上来自于百度翻译 以下为原文 Do you mean key codes?In that hex file there are already entered codes,on me just to take it into pic. Are there any settings in MPlab that I can not set up, so for this reason I can not record a pic? |
|
|
|
|
|
我不知道你说的“关键代码”是什么意思,你不知道PIC中的“配置比特设置”是什么吗?它们必须被编程到PIC中才能运行。你需要它们。
以上来自于百度翻译 以下为原文 I have no idea what you mean by "key codes". Do you not know what the "CONFIG bit settings" are in a PIC? They have to be programmed into the PIC to make it run. You need them. |
|
|
|
|
|
不,我不认识男人。-(我看到了MPLAB中的设置,但不知道我对此有什么看法。
以上来自于百度翻译 以下为原文 No I don't know man. :-( I see that setup in mplab but didn't know what I nead to do with that. |
|
|
|
|
|
配置设置是被编程到MCU中的值(通常在被称为“CONFIG”或类似的低端设备的位置),它告诉设备如何设置上电(以及其他一些复位条件)。如果您查看任何IC器件的数据表,您将看到SECITO。n的“CPU的特殊特性”(它可以被命名为稍微不同的一些设备,但这是PIC16F54的名称),第一部分通常是配置位设置。在您的程序中,您通常使用这些π-Primar线设置这些位字段。苏珊
以上来自于百度翻译 以下为原文 The config settings are values that are programmed into the MCU (typically in locations named 'CONFIG' or similar for these low-end devices) that tell the device how to set itself up on power-up (and some other reset conditions). If you look at the data sheet for any IC device, you will see a section "Special Features of the CPU" (it can be named slightly differently for some devices but that is the name for the PIC16F54) and the first part of that is normally the configuration bit settings. In your program you often set these bit fields using #pragma lines. Susan |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1122浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
873浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 00:37 , Processed in 1.334877 second(s), Total 108, Slave 91 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3718