Microchip
直播中

王云玲

8年用户 186经验值
私信 关注
[问答]

未检测到设备

大家好,我有以下问题。我有一个DEV板,上面有一个18F97 J60,我用它做我的测试。最后的项目将使用18(L)F26K22。问题是,PIDIT 3没有检测到18(L)F26K22,并且扔错目标设备ID(0x0)是一个无效的设备ID。我用MPLAB 8,MPLAB X 3.51和3.60.2测试。这里是真正的Probe。M是。第一次测试是用18F26K22使用外部电压(3.3V从稳压器+100uF帽)=错误使用PACKIT程序@ 3.3V=错误使用PACKIT程序@ 5V=工作精细。董事会有3V3组件,我不想运行@ 5V。使用PACIT程序@ 3.75 V =工作精细,任何低于该投掷错误。怀疑它与F版本vs LF有什么关系。购买18LF26K22版本。使用外部电压(3.3V从调节器+100uF帽)=错误使用皮卡程序@ @ 3.3V=错误设置项目到F版本(允许使用更高电压的电源)和使用3.75伏作品,任何低于(3.60包含)不工作和抛出设备0x0LF版本是应该不超过3.6V。这里有什么问题?同一程序员可以编程18F97 J60和18F14K50@ 3.25V,但不18F26K22,18LF26K22或18LF26K80。有什么想法吗?谢谢

以上来自于百度翻译


      以下为原文

    Hi all,

I have the following problem.  I have a dev board with a 18f97j60 on it I used to make my tests.

Final project will using 18(l)f26k22

The problem is, that pickit 3 isn't detecting the 18(l)f26k22 and throw error Target Device ID (0x0) is an Invalid Device ID.
I tested using mplab 8, mplab x 3.51 and 3.60.

Here is what the real problem is.  First test was made with 18f26k22
Using external voltage (3.3v from regulator + 100uf cap) = Error
Using pickit to program @ 3.3v = Error
Using pickit to program @ 5v = working fine.  Board have 3v3 components that I don't want to run @ 5v.
Using pickit to program @ 3.75v = working fine, anything below that throw error.

Suspected it had something to do with the F version vs lf.  Purchased 18lf26k22 version.
Using external voltage (3.3v from regulator + 100uf cap) = Error
Using pickit to program @ 3.3v = Error
Setting project to F version (allowing to power using higher voltage) and using 3.75v works, anything below (3.60 included) not working and throw device 0x0

lf version is supposed to have no more than 3.6v applied to it.

What is the problem here?  Same programmer can program 18f97j60 and 18f14k50 @ 3.25v but not 18f26k22, 18lf26k22 or 18lf26k80.  Any ideas??

Thanks


回帖(3)

陈晨

2019-2-26 15:21:23
解耦帽?VCap?Vcc和上帝都有联系吗?时钟、数据和Mclr什么也没有?

以上来自于百度翻译


      以下为原文

    Decoupling caps?
VCap?
All Vcc and god connected?
Nothing else on clock, data, and Mclr?
举报

李艳

2019-2-26 15:33:58
得到了一个接近于PIC的100uF电介质和一个1uF陶瓷。在18F26K22和18LF26K22上没有VCAP,VCAP存在于18LF25K80ALL VCC(1)上,GND(2)使用外部晶体和内部OSC(NO XTAL钎焊)、PGD和PGC直接连接到ICSP报头,在这些引脚上没有其他。尝试上拉+上限MCLR和浮动。所有这些都不会改变任何事情。也许皮卡里面有东西坏了。我见过有人在论坛搜索中有类似的问题,它是一个晶体管被炸毁,MCLR没有下降到0V之前编程。我会在周末把它连接到示波器上检查。唯一奇怪的是,一些PIC在3.25V(18J97 J60和18F14K50)工作良好,而有些则没有(18F26K22,18LF26K22和18LF25K80)。

以上来自于百度翻译


      以下为原文

    got a 100uf electrolitic and a .1uf ceramic close to the pic.
No Vcap on 18f26k22 and 18lf26k22, vcap was present on 18lf25k80
all vcc (1) and gnd (2) connected
Tried using external crystal and internal osc (no xtal soldered), pgd and pgc are direct to the icsp header, nothing else on those pins.  Tried pullup+cap on mclr and floating.  
 
All those don't change anything.  Maybe pickit have something broken inside.  I've seen someone having similar problem on forum search and it was a transistor that was blown, having mclr not going down to 0v before programming.  I'll try to connect it to an oscilloscope during the weekend to check this.
 
The only thing that is weird is that some pic works fine at 3.25v (18j97j60 and 18f14k50), and some don't (18f26k22, 18lf26k22 and 18lf25k80).
 
 
 
举报

李天竹

2019-2-26 15:38:58
我可以确认LF版本的K22和K80可以在较低的电压下编程。我能够在1.8V的时候从他们那里获得设备ID。也许你的电源、地或类似的东西出了问题。

以上来自于百度翻译


      以下为原文

    I can confirm that LF versions of K22 and K80 can be programmed at lower voltages. I was able to get the device id from them at 1.8V. Perhaps there's a problem with your power supply, ground or something of that sort.
 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分