CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Tiny Bootloader

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Kieran



Joined: 28 Nov 2003
Posts: 39
Location: Essex UK

View user's profile Send private message

Tiny Bootloader
PostPosted: Sun Jul 17, 2005 4:28 am     Reply with quote

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

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sun Jul 17, 2005 8:39 am     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Sun Jul 17, 2005 8:54 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Jul 17, 2005 1:25 pm     Reply with quote

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 Embarassed
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

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sun Jul 17, 2005 6:11 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jul 18, 2005 2:13 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sat Jul 23, 2005 7:07 am     Reply with quote

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
Quote:
18F 6720/8720

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

View user's profile Send private message

PostPosted: Sat Jul 23, 2005 9:52 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jul 25, 2005 12:13 pm     Reply with quote

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
PostPosted: Tue Jun 19, 2007 7:40 am     Reply with quote

how to use boot loader to update firmware over the air
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group