View previous topic :: View next topic |
Author |
Message |
Kieran
Joined: 28 Nov 2003 Posts: 39 Location: Essex UK
|
Tiny Bootloader |
Posted: Sun Jul 17, 2005 4:28 am |
|
|
Has anybody ported this loader to a large memory PIC such as 18F6720?
I'm not very good at PIC assembler (all CCS's fault :) ) but I think the code is limited to a 16 bit address i.e. 64k code size.
Also the watchdog has to be dissabled which limits it's use.
Has anybody done a watchdog enabled version?
The realy attractive feature is it's size. |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Sun Jul 17, 2005 8:39 am |
|
|
I have not ported the code but most of the smarts are in the programming application not the loader itself. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Sun Jul 17, 2005 8:54 am |
|
|
PIC18's allow you to control the watchdog (on/off) so how does that limit you? |
|
|
Kieran
Joined: 28 Nov 2003 Posts: 39 Location: Essex UK
|
|
Posted: Sun Jul 17, 2005 1:25 pm |
|
|
Quote: | I have not ported the code but most of the smarts are in the programming application not the loader itself. |
Don't understand the reply
Still say that the Tiny boot loader won't handle PIC18F6720
Quote: | PIC18's allow you to control the watchdog (on/off) so how does that limit you? |
Thanks mark. You are right I missed that |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Sun Jul 17, 2005 6:11 pm |
|
|
Quote: | Don't understand the reply
Still say that the Tiny boot loader won't handle PIC18F6720 |
My point was the port to the PIC18F6720 (code in the PIC) will be minor but you will have to modify the PC application to support different PICs that the application does not natively support. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
bb
Joined: 06 Apr 2005 Posts: 7 Location: Germany
|
|
Posted: Mon Jul 18, 2005 2:13 pm |
|
|
Hi Kieran,
Quote: | Still say that the Tiny boot loader won't handle PIC18F6720 |
what version are you using? I've informed Claudiu of a bug introduced in V1.6 (which was still present at V1.7) regarding PICs with more than 64k of flash memory. This bug was located in the PC application. I've done some testing for him and V1.73 onwards works for me without any problems (18F8720/18F8722).
Quote: | 1.73(Apr.2005)
- RTS pulse option
- Abort btn.
- fixed bugs for large memory PICs (like 8720)
- more detailed logging
- fix for 2620 |
Best regards,
Bernd |
|
|
Kieran
Joined: 28 Nov 2003 Posts: 39 Location: Essex UK
|
|
Posted: Sat Jul 23, 2005 7:07 am |
|
|
Quote: | what version are you using? |
Sorry for the delay in replying, I have only just got back to looking at this.
I have version 1.8 of the PC app.
This reports that it has found
then Quote: | Could not write ERROR! |
Any ideas what I could be doing wrong? |
|
|
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Sat Jul 23, 2005 9:52 pm |
|
|
Quote: |
Has anybody ported this loader to a large memory PIC such as 18F6720?
|
The following link address you to the Colt PIC18F Bootloader wich support most of the 18F PICs.
It has all the instructions and directives to relocate user code using CCS compiler.
http://mdubuc.freeshell.org/Colt/
Hope this help you,
Humberto |
|
|
Kieran
Joined: 28 Nov 2003 Posts: 39 Location: Essex UK
|
|
Posted: Mon Jul 25, 2005 12:13 pm |
|
|
Quote: | Colt PIC18F Bootloader |
Thanks Humberto
Interesting but not as small as the Tiny Bootloader and requires a port pin to control the loader which I don't have access to. |
|
|
mot_ala Guest
|
bootloader |
Posted: Tue Jun 19, 2007 7:40 am |
|
|
how to use boot loader to update firmware over the air |
|
|
|