Jump to content
ELFORUM - Forumul electronistilor
Guest Gaabryel

Probleme detectie PIC programator JDM.

Recommended Posts

Guest Gaabryel

Salutare tuturor!

 

Zilele trecute am facut un programator pentru PIC16f84 sau PIC16f628 (http://sfprime.net/pic16f84/index.htm). Programatorul este recunoscut foarte usor de catre software. Problema este ca nu imi detecteaza PIC-ul, nici automat si nici daca selectez eu manual PIC-ul folosit. Ca si software folosesc PICPgm sau WinPIC. Sistemul de operare este Windows 7 Ultimate cu SP1.

Daca ma puteti ajuta as fi recunoscator. Va multumesc!

Link to comment
Share on other sites

Sigur nu ai o problema hardware? Ai verificat placa? Eu am 2 programatoare JDM, la care recunoasterea lor hardware este OK, iar a microcontrollerelor de asemenea (cu ambele programe). Recent am avut o problema cu o placa de extensie a unui programator, dar era o eroare hardware (pinii PGC si PGD inversati).

Link to comment
Share on other sites

Guest Gaabryel

Sigur nu ai o problema hardware? Ai verificat placa? Eu am 2 programatoare JDM, la care recunoasterea lor hardware este OK, iar a microcontrollerelor de asemenea (cu ambele programe). Recent am avut o problema cu o placa de extensie a unui programator, dar era o eroare hardware (pinii PGC si PGD inversati).

Si eu am 2 programatoare si la nici unul nu imi recunoaste PIC-ul.Am verificat partea hardware de vreo 3 ori(si continuitatea firelor) si este totul ok. Cand conectez programatorul la portul serial si deschid software-ul( de ex PICPgm) imi recunoaste programatorul din prima. Nu si PIC-ul si nu stiu de ce. Precizez ca am avut cateva momente cand a recunoscut PIC-ul, dar aceste momente au fost intamplatoare. Am mai multe PIC-uri si nu imi vede nici unul. De ce? Ce e de facut?
Link to comment
Share on other sites

Guest Gaabryel

Pentru a intra in modul de programare pe pinul MCLR trebuie sa aiba 13V. Masurati tensiunea acolo si vedeti daca ajunge la 13V in momentul in care softul incearca recunoasterea.

Am masurat si nu am 13 V, am 9-10 V maxim. Voi schimba condensatorul de 470uF( poate nu este bun) si voi vedea daca functioneaza. Multumesc pentru idee.
Link to comment
Share on other sites

Ceva de genul asta http://www.bobtech.ro/proiecte/microcontrolere/2-bobprog-programator-icsp-pentru-microcontrolere-pic, cu precizarea ca nu are VppFirst. In sensul ca daca apucati sa dezactivati MCLR din soft, urmatoarea programare nu va mai fi posibila decat cu metoda VppFirst

 

 

Iata si o descriere:

Posted Image.

PROGRAM/VERIFY MODE

Two methods are available to enter Program/Verify

mode. The “VPP-first” is entered by holding ICSPDAT

and ICSPCLK low while raising MCLR pin from VIL to

VIHH (high voltage), then applying VDD and data. This

method can be used for any configuration word

selection and must be used if the INTOSC and internal

MCLR options are selected (FOSC<2:0> = 100 or 101

and MCLRE = 0). The VPP-first entry prevents the

device from executing code prior to entering Program/

Verify mode. See the timing diagram in Figure 3-1.

The second entry method, “VDD-first”, is entered by

applying VDD, holding ICSPDAT and ICSPCLK low,

then raising MCLR pin from VIL to VIHH (high voltage),

followed by data. This method can be used for any

configuration word selection except when INTOSC

and internal MCLR options are selected

(FOSC<2:0> = 100 or 101 and MCLRE = 0). This

technique is useful when programming the device

when VDD is already applied, for it is not necessary to

disconnect VDD to enter Program/Verify mode. See the

timing diagram in Figure 3-2.

Once in this mode, the program memory, data memory,

and configuration memory can be accessed and

programmed in serial fashion. ICSPDAT and ICSPCLK

are Schmitt Trigger inputs in this mode. RA4 is tristate,

regardless of fuse setting.

The sequence that enters the device into the Programming/

Verify mode places all other logic into the Reset

state (the MCLR pin was initially at VIL). Therefore, all

I/O’s are in the Reset state (hi-impedance inputs) and

the Program Counter (PC) is cleared.

To prevent a device configured with INTOSC and

internal MCLR from executing after exiting Program/

Verify mode; VDD needs to power-down before VPP.

Link to comment
Share on other sites

Guest Gaabryel

Ceva de genul asta http://www.bobtech.ro/proiecte/microcontrolere/2-bobprog-programator-icsp-pentru-microcontrolere-pic, cu precizarea ca nu are VppFirst. In sensul ca daca apucati sa dezactivati MCLR din soft, urmatoarea programare nu va mai fi posibila decat cu metoda VppFirst

 

 

Iata si o descriere:

Posted Image.

PROGRAM/VERIFY MODE

Two methods are available to enter Program/Verify

mode. The “VPP-first” is entered by holding ICSPDAT

and ICSPCLK low while raising MCLR pin from VIL to

VIHH (high voltage), then applying VDD and data. This

method can be used for any configuration word

selection and must be used if the INTOSC and internal

MCLR options are selected (FOSC<2:0> = 100 or 101

and MCLRE = 0). The VPP-first entry prevents the

device from executing code prior to entering Program/

Verify mode. See the timing diagram in Figure 3-1.

The second entry method, “VDD-first”, is entered by

applying VDD, holding ICSPDAT and ICSPCLK low,

then raising MCLR pin from VIL to VIHH (high voltage),

followed by data. This method can be used for any

configuration word selection except when INTOSC

and internal MCLR options are selected

(FOSC<2:0> = 100 or 101 and MCLRE = 0). This

technique is useful when programming the device

when VDD is already applied, for it is not necessary to

disconnect VDD to enter Program/Verify mode. See the

timing diagram in Figure 3-2.

Once in this mode, the program memory, data memory,

and configuration memory can be accessed and

programmed in serial fashion. ICSPDAT and ICSPCLK

are Schmitt Trigger inputs in this mode. RA4 is tristate,

regardless of fuse setting.

The sequence that enters the device into the Programming/

Verify mode places all other logic into the Reset

state (the MCLR pin was initially at VIL). Therefore, all

I/O’s are in the Reset state (hi-impedance inputs) and

the Program Counter (PC) is cleared.

To prevent a device configured with INTOSC and

internal MCLR from executing after exiting Program/

Verify mode; VDD needs to power-down before VPP.

Merci, am citit; ideea e ca programatorul meu a functionat f bine pana acum cateva zile. Nu stiu daca din cauza unor update-uri de la windows 7 nu mai merge. Cert e ca am sa instalez windows XP si am sa verific sa vad daca functioneaza programatorul in windows XP(pana acum 2 ani, cand aveam windows XP, functiona f bine).

Link to comment
Share on other sites

Verifica atunci prin device manager daca ai portul serial, sau daca are ceva probleme. De asemenea te poti uita la ce update a facut windows-ul ca sa fii sigur ca e de la windows. La WinPic am renuntat pentru ca avea probleme cu driverul si era tare enervant. Posibil de la el sa faca probleme de incompatibilitate. PicPGM este ok, insa folosesc ICProg care merge perfect. Nu este exclusa vreo problema hardware.

Link to comment
Share on other sites

Guest Gaabryel

Verifica atunci prin device manager daca ai portul serial, sau daca are ceva probleme. De asemenea te poti uita la ce update a facut windows-ul ca sa fii sigur ca e de la windows. La WinPic am renuntat pentru ca avea probleme cu driverul si era tare enervant. Posibil de la el sa faca probleme de incompatibilitate. PicPGM este ok, insa folosesc ICProg care merge perfect. Nu este exclusa vreo problema hardware.

Am verificat si in windows Xp si tot ... NU. E ceva f straniu.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Terms of Use si Guidelines