Jump to content
ELFORUM - Forumul electronistilor
vasile doru

problema cu MCLR la PIC16F628

Recommended Posts

Salut! Am incercat sa programez un PIC16F628 la care pinul MCLR sa-l utilizez ca pin de I/O, dar nu merge, tot functia de MCLR o are. Asa am incercat:pragma target fuses 0b_11_1111_0000_0001. ......pin_a5_direction = output.....Stiti alta metoda sau trebuie sa mai programez ceva?Merci.

Link to comment
Share on other sites

cred ca l-ai programat corect.sfatul meu e sa nu mai folosesti ecuatii binare ptr fuse foloseste definiti (MCLR_OFF,CP_ON etc)MCLR este numai pin de intrare la orice PIC,iesire nu se poate datorita ce este folosit la programare si se aplica 12,5V pe elciteste in datasheet despre el

Link to comment
Share on other sites

daca s-a programat corect ar trebui sa mearga

daca si cu parca erau intr-o barca...:) Nu merge, deci orice este posibil.

Ce as putea face.

Sa verifici, macar in locatia CONFIG daca ceea ce s-a programat este ceea ce ai dorit sa se programeze. Presupunand ca "totul e in regula" nu ai cum sa vezi care e problema de fapt.Cirip
Link to comment
Share on other sites

Cum sa mearga in Proteus, MCLR-ul ca iesire ? Cind nu merge din chip ca iesire ! Adica de la mama lui,din fabrica ! E un bug din Proteus. Citeste cu atentie in datasheet si o sa vezi ca NU SE POATE SA MEARGA DECIT CA INTRARE !Don Mario

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