[elektro] PIC12F629 törlés
János Zakó
janoszako at gmail.com
Wed Oct 29 18:44:56 CET 2008
ICDWarn0033: You have selected Internal MCLR and Internal Oscillator
in your configuration settings. If your code makes use of port pins
that correspond to Clock and Data pins in programming mode, you may
not be able to reprogram your device. See on-line help for this
warning for more information. (OK/Cancel)
When Internal MCLR is used with MPLAB ICD 2 for programming, both Vpp
and Vdd are powered together, and then Vpp is pulled high to Vihh to
enter programming mode. This means that your code will be running
before Vpp goes to Vihh. If that code makes use of port pins that
correspond to Clock and Data pins in programming mode, there is a
chance their values may not be 0, as necessary to enter programming
mode. Therefore, the device could not be reprogrammed.
Akkor most mi van?
2008/10/29 János Zakó <janoszako at gmail.com>:
> ez lett belőle:
> Connecting to MPLAB ICD 2
> ...Connected
> Setting Vdd source to MPLAB ICD 2
> Target Device PIC12F629 found, revision = Rev 0x3
> ...Reading ICD Product ID
> Running ICD Self Test
> ...Passed
> MPLAB ICD 2 ready for next operation
> Programming Target...
> ...Validating configuration fields
> ICDWarn0033: MPLAB ICD 2 does not support programming this device if
> both the internal oscillator and internal MCLR are selected. You may
> continue programming, but you are encouraged to cancel, reconfigure
> your device, and try again.
> ...Erasing Part
> ...Programming Program Memory (0x0 - 0x79)
> Verifying...
> ...Program Memory
> ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val
> = 0x3000, Val Read = 0x0)
> ICD0275: Programming failed.
> MPLAB ICD 2 ready for next operation
>
> és már kettő IC ezt csinálja
>
> 2008/10/29 Ágó István <ago.istvan at gmail.com>:
>> 12F675-öt és 12F683-at renszeresen törlök, újraprogramozok ICD2-vel
>> ugyanezzel a konfiggal. Az a lényeg, hogy nem szabad bepipálni, amikor
>> előmászik azzal az üzenettel, hogy nem támogatja ezt a felállást, mert
>> akkor úgy csinál mintha, a Nem-re kattintottál volna. Ha mégis
>> bepipáltad, akkor a Programmer-->Settings valamelyik fülén vissza
>> birod csinálni. Csak be kell tenni, a pipát, hogy kérdezzen rá ismét,
>> és azután az Igen gombot nyomni.
>>
>> 2008/10/29 János Zakó <janoszako at gmail.com>:
>>> Üdv!
>>>
>>> Egyszer sikerült felprogramozni a PIC12F629-et PS+ -al , INT. RC OSC.,
>>> INT MCLR. Ettől kezdve se előre, se hátra. Arra gondolok, hogy az INT
>>> MCLR tette ezt vele. ICD2 meglátja, de a végeredmény hasonló. Ő már
>>> azt mondja, hogy nem támogatja ezt a felállást (INT. RC OSC., INT
>>> MCLR). Lehet valamit tenni? Tapasztalat ezzel kapcsolatban?
>>> A segítséget előre is köszönöm!
>>>
>>> Jani
>>> -----------------------------------------
>>> elektro[-flame|-etc]
>>>
>> -----------------------------------------
>> elektro[-flame|-etc]
>>
>
More information about the Elektro
mailing list