J'avis dans mes tirroirs un PIC18F4550 qui a un peu plus de mΓ©moire que le PIC18F4455. J'ai effectuΓ© l'Γ©change sur Formula mais le chargement ne fonctionne pas. Je suppose qu'il y a un bootstrap Γ charger au prΓ©alable. Ou peut-on le trouver?
Merci d'avance.
Chargement
Moderator: Benj
-
- Posts: 14
- Joined: Sat Nov 04, 2006 2:38 pm
- Contact:
18F4550
bonjour Jules
Oui - il y a un bootloader. Malheurusement c'est n'est pas possible a vous donner le code pour le bootloader pour le 18F4550.
Aussi il y a beaucoup de memoire dans le 18F4455. Est ce que vous avex le besoin de plus de memoire?
John
Oui - il y a un bootloader. Malheurusement c'est n'est pas possible a vous donner le code pour le bootloader pour le 18F4550.
Aussi il y a beaucoup de memoire dans le 18F4455. Est ce que vous avex le besoin de plus de memoire?
John
Re: 18F4550
Je voudrais programmer en assembleur car je connais ce langage, et utiliser les interruptions.johndobson43 wrote:bonjour Jules
Oui - il y a un bootloader. Malheurusement c'est n'est pas possible a vous donner le code pour le bootloader pour le 18F4550.
Aussi il y a beaucoup de memoire dans le 18F4455. Est ce que vous avex le besoin de plus de memoire?
John
J'ai d'autres programmeurs pour les PIC mais j'aurais aimer utiliser celui du Formula pour Γ©viter de sortir le Pic de son support Γ chaque programmation.
OΓΉ peut-on trouver d'autres firmwares compatibles avec l'USB du FORMULA ?
Jules
- Steve
- Matrix Staff
- Posts: 3418
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Bonjour Jules,
[Sorry this reply is in English - hopefully someone else can translate it if you need it in French]
You should be able to program Formula Flowcode in any language, as long as you ensure that your code begins at memory location 0x800. The locations 0x000 to 0x7FF are reserved by the bootloader and must not be overwritten.
The Formula Flowcode programmer takes a standard HEX file [BuggyProg.exe] can be downloaded separately from Flowcode and can be used on its own to transfer programs.
You do not need to replace the existing bootloader firmare.
I hope this answers your question.
[Sorry this reply is in English - hopefully someone else can translate it if you need it in French]
You should be able to program Formula Flowcode in any language, as long as you ensure that your code begins at memory location 0x800. The locations 0x000 to 0x7FF are reserved by the bootloader and must not be overwritten.
The Formula Flowcode programmer takes a standard HEX file [BuggyProg.exe] can be downloaded separately from Flowcode and can be used on its own to transfer programs.
You do not need to replace the existing bootloader firmare.
I hope this answers your question.
You should be able to program Formula Flowcode in any language, as long as you ensure that your code begins at memory location 0x800. The locations 0x000 to 0x7FF are reserved by the bootloader and must not be overwritten.
The Formula Flowcode programmer takes a standard HEX file [BuggyProg.exe] can be downloaded separately from Flowcode and can be used on its own to transfer programs.
You do not need to replace the existing bootloader firmare.
I hope this answers your question.[/quote]
Merci pour la rΓ©ponse. J'en conclues qu'il n'est pas possible d'utiliser les interruptions si l'on garde le bootloader ?
Si on utilise le bootloader, après chargement, il donne la main à quelle adresse ? faut-il appuyer sur une touche pour lancer le programme ?
Merci d'avance pour les rΓ©ponses.
The Formula Flowcode programmer takes a standard HEX file [BuggyProg.exe] can be downloaded separately from Flowcode and can be used on its own to transfer programs.
You do not need to replace the existing bootloader firmare.
I hope this answers your question.[/quote]
Merci pour la rΓ©ponse. J'en conclues qu'il n'est pas possible d'utiliser les interruptions si l'on garde le bootloader ?
Si on utilise le bootloader, après chargement, il donne la main à quelle adresse ? faut-il appuyer sur une touche pour lancer le programme ?
Merci d'avance pour les rΓ©ponses.
Jules
- Steve
- Matrix Staff
- Posts: 3418
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
All vectors (reset vector and both interrupt vectors) are mapped to the same location plus 0x800. Therefore:
reset vector = 0x800
high-priority interrupt = 0x808
low-priority interrupt = 0x818
In assembler, you need to put "ORG 0x800" at the beginning of your program. Any program instructions located before 0x800 in the HEX file will be ignored by the downloader program ("BuggyProg.exe").
When the program has been loaded using "BuggyProg.exe", select "program..reset buggy". This will make your program begin.
Alternatively, unplug the USB cable and then press the reset button (SW3).
reset vector = 0x800
high-priority interrupt = 0x808
low-priority interrupt = 0x818
In assembler, you need to put "ORG 0x800" at the beginning of your program. Any program instructions located before 0x800 in the HEX file will be ignored by the downloader program ("BuggyProg.exe").
When the program has been loaded using "BuggyProg.exe", select "program..reset buggy". This will make your program begin.
Alternatively, unplug the USB cable and then press the reset button (SW3).