Page 1 of 1

Erreur sur port RA5 PIC18F45J10. (resolu)

Posted: Wed Jul 25, 2012 11:50 pm
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.

Re: Erreur sur port RA5 PIC18F45J10

Posted: Thu Jul 26, 2012 1:40 am
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

Re: Erreur sur port RA5 PIC18F45J10

Posted: Thu Jul 26, 2012 9:37 am
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

Re: Erreur sur port RA5 PIC18F45J10

Posted: Thu Jul 26, 2012 10:52 am
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