完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
问候语!我在一块板上画了32个MX470F512H。我选择使用ICMP2(PIN 17 PGEC2/AN6/RPB6/RB6和PIN 18 PGED2/AN7/RPB7/CTED3//RB7)。我已经连接4.7uf到引脚56(VCAP)。振荡器是10MHz,它连接到引脚39和40。Pins 10, 26 38, 57, 19连接到VCC。引脚9, 20, 25,41连接到GND。我已经提供了3.1V的板,但我的皮卡3仍然无法识别控制器。我试图通过皮卡供应板-没有效果!有什么想法吗?据我所知,我应该能够通过每个ICMP端口编程控制器…谢谢!
以上来自于百度翻译 以下为原文 Greetings! I have PIC32MX470F512H on a board. I`ve chosen to use ICMP2(pin 17 PGEC2/AN6/RPB6/RB6 and pin 18 PGED2/AN7/RPB7/CTED3//RB7). I`ve connected 4.7uF to pin 56(Vcap). The oscillator is 10MHz and it`s connected to pins 39 and 40. Pins 10, 26 38, 57, 19 are connected to Vcc. Pins 9, 20, 25, 41 are connected to GND. I`ve supplied the board with 3.1V, but still my PICkit 3 doesn`t recognize the controller. I tried to supply the board through the PICkit - no effect! Any ideas? As far as I know I should be able to program the controller through every ICMP port... Thanks! |
|
相关推荐
11个回答
|
|
|
|
|
|
我有10K电阻到VCC和100N上限到GND那里。我会尽量降低价值。连接ISCP1,还有其他的想法吗?
以上来自于百度翻译 以下为原文 I have 10k resistor to Vcc and 100n cap to GND there. I`ll try to put lower value. And to connect the ISCP1. Any other ideas? |
|
|
|
您尝试使用IPE应用程序连接到芯片吗?如果你成功了,擦掉它。
以上来自于百度翻译 以下为原文 Have you tried to use the IPE Application to connect to the chip ? If you succeed erase it. |
|
|
|
您还需要一个电阻器,它将隔离MCL的10K和100N。否则,PICTIT3无法对CADIT3充电,并且移动MCLR足够快。这里的化学:HTTP://www. NurthnFial.COM/DEV/PIC32 MX/PIC32 MX470F512H.HTMME,4.7UF在VCAP上可能是好的,但是Microchip推荐10uF。
以上来自于百度翻译 以下为原文 You also need a resistor, which would isolate 10K and 100n from the MCLR. Otherwise, PICkit3 cannot charge the cap and move MCLR fast enough. Here's the schematics: http://www.northernsoftware.com/dev/pic32mx/pic32mx470f512h.htm Also, 4.7uF on VCap is probably Ok, but Microchip recommends 10uF. |
|
|
|
即使470也不足以满足PICTIT3的要求。你可以试试1K。
以上来自于百度翻译 以下为原文 Even 470 may not be enough for PICkit3. You may try 1K. |
|
|
|
是否有需要设置为使用PGED2/PGEC2的配置设置?
以上来自于百度翻译 以下为原文 Is there a CONFIG setting that needs to be set to use PGED2/PGEC2? |
|
|
|
嗨,你更改ICSP配置位了吗?任何配置在发布模式下编程都会很好,但是在调试模式下,正确的ICSP对是强制性的,否则,在调试该程序之后,它将无法进入调试。4.7uf对于标称值可能是可以的,但是……仔细检查您的CAP的公差。有时它是+/- 50%,然后你可能不在。最好放一个10uf(必须是陶瓷的,并且具有低ESR)。试着从外部电源使用3.3V(不是因为PICTIT3太弱而不能提供足够的电流)…
以上来自于百度翻译 以下为原文 Hi, Have you change the ICSP configuration bits ? Any configuration will work fine for programming in release mode but in debug mode the right ICSP pair is mandatory otherwise it will fail entering debug just after programming the part for debug. 4.7uF might be ok for nominal value but...check carefully the tolerance of your cap. Sometimes it is +/-50% and then you may be out of spec...Better to put a 10uF (must be ceramic and have low ESR). Try to use 3.3V from an external power supply (not from Pickit3 as it may be too weak to supply enough current...) Regards |
|
|
|
跳过MCLR上的100N上限,并使用短电缆作为拾取器3。尝试用MPLAB IPE编程。您不需要振荡器或晶体来进行编程(当然,如果您的程序被配置用于调试),Ruben。
以上来自于百度翻译 以下为原文 Skip the 100n cap on MCLR and use short cables for the PICkit 3. Try to program with MPLAB IPE. You don't need an oscillator or crystal for just programming (but of course for debugging if your program is configured for it). /Ruben |
|
|
|
好啊!我修好了!现在我可以编程它,但我的振荡器设置有问题。首先我有10MHz的石英连接到主要的OSC引脚。数据表说最大速度是120兆赫,所以我尝试了这个设置:所以预期的速度应该是120兆赫,但在眨眼测试,它甚至不接近。我做错什么了?谢谢!PP:如果我要使用USB做,我必须使用48兆赫振荡器与PIC18F系列?
以上来自于百度翻译 以下为原文 Ok! I fixed it! Now I can program it, but I have problem with the oscillator settings. First I have 10MHz quartz connected to the primary osc pins. The datasheet says the max speed is 120MHz, so I tried this settings: #pragma config FSRSSEL = PRIORITY_7 // Shadow Register Set Priority Select (SRS Priority 7) #pragma config PMDL1WAY = ON // Peripheral Module Disable Configuration (Allow only one reconfiguration) #pragma config IOL1WAY = ON // Peripheral Pin Select Configuration (Allow only one reconfiguration) #pragma config FUSBIDIO = ON // USB USID Selection (Controlled by the USB Module) #pragma config FVBUSONIO = ON // USB VBUS ON Selection (Controlled by USB Module) // DEVCFG2 #pragma config FPLLIDIV = DIV_2 // PLL Input Divider (2x Divider) #pragma config FPLLMUL = MUL_24 // PLL Multiplier (24x Multiplier) #pragma config UPLLIDIV = DIV_12 // USB PLL Input Divider (12x Divider) #pragma config UPLLEN = OFF // USB PLL Enable (Disabled and Bypassed) #pragma config FPLLODIV = DIV_256 // System PLL Output Clock Divider (PLL Divide by 256) // DEVCFG1 #pragma config FNOSC = PRIPLL // Oscillator Selection Bits (Primary Osc w/PLL (XT+,HS+,EC+PLL)) #pragma config FSOSCEN = OFF // Secondary Oscillator Enable (Disabled) #pragma config IESO = ON // Internal/External Switch Over (Enabled) #pragma config POSCMOD = HS // Primary Oscillator Configuration (HS osc mode) #pragma config OSCIOFNC = OFF // CLKO Output Signal Active on the OSCO Pin (Disabled) #pragma config FPBDIV = DIV_1 // Peripheral Clock Divisor (Pb_Clk is Sys_Clk/8) #pragma config FCKSM = CSDCMD // Clock Switching and Monitor Selection (Clock Switch Disable, FSCM Disabled) #pragma config WDTPS = PS1048576 // Watchdog Timer Postscaler (1:1048576) #pragma config WINDIS = OFF // Watchdog Timer Window Enable (Watchdog Timer is in Non-Window Mode) #pragma config FWDTEN = ON // Watchdog Timer Enable (WDT Enabled) #pragma config FWDTWINSZ = WINSZ_25 // Watchdog Timer Window Size (Window Size is 25%) // DEVCFG0 #pragma config DEBUG = OFF // Background Debugger Enable (Debugger is Disabled) #pragma config JTAGEN = ON // JTAG Enable (JTAG Port Enabled) #pragma config ICESEL = ICS_PGx2 // ICE/ICD Comm Channel Select (Communicate on PGEC2/PGED2) #pragma config PWP = OFF // Program Flash Write Protect (Disable) #pragma config BWP = OFF // Boot Flash Write Protect bit (Protection Disabled) #pragma config CP = OFF // Code Protect (Protection Disabled) So the expected speed should be 120MHz, but on the blink test it`s not even close. What have I done wrong? Thanks! PP: If I`m going to use USB do I have to use 48MHz oscillator as with the PIC18F series? |
|
|
|
你用什么代码进行眨眼测试?你期待什么,你得到什么?(甚至关闭也不会给我们带来太多的……)BTW,(10MHz/2)* 24/256!= 120兆赫。也许FPLLoDIV应该是DIVI1?对于USB,振荡器需要是一个整数倍的4MHz。我通常使用20MHz,因为它给了我以最快的速度运行内核的选项(FPLLIDEV=DIVI4),USB的正确值(上行DIV= DIV5)
以上来自于百度翻译 以下为原文 What code are you using for blink test? What do you expect, and what do you get? (Not even close doesn't give us much to go on...). BTW, (10MHz/2)*24/256 != 120MHz. Perhaps FPLLODIV should be DIV_1? For USB the oscillator needs to be an integer multiple of 4MHz. I usually use 20MHz, as it gives me the option of running the core at max speed (FPLLIDIV=DIV_4) with the USB at correct value (UPLLIDIV=DIV5) |
|
|
|
一切都很好!我只得把布洛迪夫换成DIVI1了。我命名为系统PLL输出时钟除法器,所以我错误地假设它是除法器,当我通过振荡器到另一个输出时钟另一个设备!谢谢!
以上来自于百度翻译 以下为原文 Everything is fine! I just had to change the PLLODIV to DIV_1. I was named System PLL Output Clock Divider so I wrongly supposed it`s the divider when I`m passing the oscillator to another output to clock another device! Thanks! |
|
|
|
只有小组成员才能发言,加入小组>>
5242 浏览 9 评论
2031 浏览 8 评论
1955 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3207 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2256 浏览 5 评论
778浏览 1评论
669浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
596浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
678浏览 0评论
577浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 18:39 , Processed in 1.424710 second(s), Total 96, Slave 80 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号