Jump to content
ELFORUM - Forumul electronistilor
Guest _zc

emuc1/emud1 dspic

Recommended Posts

Guest _zc

am programat un dspic3013 cu ICD2 pe EMUC/EMUD.nu reusesc sa-l programez pe EMUC1/EMUD1..EMUC3/EMUD3.aveti idee de ce?//-------------output mplab cind dau conect la debugger-----------Connecting to MPLAB ICD 2...ConnectedSetting Vdd source to targetICDWarn0020: Invalid target device id (expected=0xC3, read=0x0)...Reading ICD Product IDRunning ICD Self Test...PassedMPLAB ICD 2 Ready//--------------------------------------pinii sint legati corect si fara nimic altceva pe ei. circuitul e alimentat.

Link to post
Share on other sites

Pinii EMUC/EMUD pot fi folositi doar pentru debug. Programarea trebuie facuta pe PGC/PGD.Daca vrei sa folosesti ICD2 ca debugger conectat la EMUC/EMUD ai nevoie de un comutator care sa schimbe conexiunea dupa programare (PGC/PGD -> EMUC/EMUD)

Link to post
Share on other sites
Guest _zc

asa e m-am exprimat eu incorect.pe perechea pgc/emuc pgd/emud merge programarea si debuggerulpe celelalte perechi emuc1 emud1...nu merge debuggerul de ce? ce nu i-am facut?

Link to post
Share on other sites

Cred ca nici eu am exprimat exact ce am vrut sa spun. Mai incerc o data:

Oricare dintre perechile de pini (EMUC EMUD), (EMUC1 EMUD1), (EMUC2 EMUD2) sau (EMUC3 EMUD3) pot fi folositi pentru debug. Perechea dorita se selecteaza din bitii de configuratie. Doar pinii PGC si PGD pot fi folositi pentru transferul programului in dsPIC. Daca nu poti sa folosesti pinii EMUC si EMUD pentru debug trebuie sa folosesti un comutator care sa intrerupa legatura dintre ICD2 si PGC,PGD dupa transferul programului.

Link to post
Share on other sites

stiu ca nu pot programa decit pe pgc/pgd.-programare pe pgc/pgd merge-debug pe emuc/emud merge-debug pe emuc3/emud3 nu-mi merge asta-i beleauafac asa:-icd2 conectat pe pgc/pgd-mplab-->configure-->configuration bits-->comm channel select-->use emuc3 emud3-programez-schimb icd2 pe emuc3 emud3-incerc sa ma conectez cu debbugerul si nu gaseste dspiculsa mai incerc si pe emu1

Link to post
Share on other sites

nu merge. mai sap, mai intreb.ca si cum nu tine cont de: configure-->configuration bits-->comm channel select--> use EMUC3 and EMUD3.ramine pe EMUC/EMUD.

Link to post
Share on other sites

folosesc compilatorul de la microchip.i-am facut proiect nou cu asta in fisierul sursa:#include "p30f3013.h"main(){}sa caut in alta parte? nu am experienta cu microchip si nici cu dspic.

Link to post
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