Erreur sur port RA5 PIC18F45J10. (resolu)

Forum de support pour les locuteurs de la langue française qui souhaitent écrire dans leur langue maternelle.

Moderator: Benj

Post Reply
Philbert Pascal
Posts: 80
Joined: Fri Jul 20, 2012 8:55 am
Location: Chambly (France)
Been thanked: 4 times
Contact:

Erreur sur port RA5 PIC18F45J10. (resolu)

Post by Philbert Pascal »

Bonjour Benj,
Peux t'il y avoir une erreur d'adresse. J'utilise un Pic 18F45J10 et le datasheet me donne bit5 pour adresser RA5. Dans Flowcode c'est le bit4. Est-ce normal?
Je reçois mes PIC demain . Je ferai un test.
Dans l'attente de te lire, reçois mes salutations
Pascal
ci-joint une capture du datasheet du pic et celle de Flowcode.
Attachments
Capture d’écran 2012-07-26 à 00.42.25.png
(99.1 KiB) Downloaded 1137 times
Last edited by Philbert Pascal on Thu Aug 02, 2012 6:59 pm, edited 1 time in total.

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: Erreur sur port RA5 PIC18F45J10

Post by Enamul »

Salut,
Merci pour le post. Vous avez choisi le droit. Juste arrivé à C: Program Files (x86) \ Flowcode \ v5 \ répertoire FCD ... Ouvert de fichiers PIC18f45J10.fcd .. vous verrez dans le début ..

Code: Select all

[PortMasks]
PortMask0 = 0x1F
PortMask1 = 0xFF
PortMask2 = 0xFF
PortMask3 = 0xFF
PortMask4 = 0x07 
Changer ce qui suit ...

Code: Select all

PortMask0 = 0x2F 
Si votre FC est maintenue ouverte ... il re-démarrer .. votre problème sera résolu!


Hi,
Thanks for the post. You have picked right. Just got to C:\Program Files (x86)\Flowcode\v5\FCD directory...open PIC18f45J10.fcd file..you will see in the beginning..

Code: Select all

[PortMasks]
PortMask0=0x1F
PortMask1=0xFF
PortMask2=0xFF
PortMask3=0xFF
PortMask4=0x07
Change the following...

Code: Select all

PortMask0=0x2F
If your FC is kept open...re-start it..your problem will be solved!!
Enamul
Enamul
University of Nottingham
enamul4mm@gmail.com

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: Erreur sur port RA5 PIC18F45J10

Post by dazz »

Salut Philbert
Un poste le plus excellent Enamul, avant de modifier le fcd, créez un nouveau dossier dans le dossier fcd, appelez-le d'origine. copier le fcd vous souhaitez modifier dans le nouveau dossier, et renommez-le en mettant. BK à la fin de sorte qu'il devient PIC18f45J10.fcd.bk. puis apportez les modifications Enamul recommande et renommez le RA5.fcd originale toPIC18f45J10added, de cette façon, vous verrez un coup d'œil quels sont les changements que vous avez fait, et si vous voulez l'original encore une fois il suffit de retirer le bk. de l'autre fichier.
Cordialement
Dazz


Hi Philbert
A most excellent post by enamul , before you modify the fcd, make a new folder in the fcd folder, call it original. copy the fcd you want to modify into the new folder, and rename it by putting .BK at the end so it becomes PIC18f45J10.fcd.bk. then make the changes enamul recommends and rename the original toPIC18f45J10added RA5.fcd , that way you will see at a glance what changes you made, and if you want the original again just remove the .bk from the other file.
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

Philbert Pascal
Posts: 80
Joined: Fri Jul 20, 2012 8:55 am
Location: Chambly (France)
Been thanked: 4 times
Contact:

Re: Erreur sur port RA5 PIC18F45J10

Post by Philbert Pascal »

Bonjour à tous,
merci pour votre réactivité. Suite à la modif des paramètres du Pic, Flowcode fonctionne impeccable.
Bonne journée à tous et mil merci.
Pascal

Post Reply