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 support@ccsinfo.com

Looking for a good USB Bootloader

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



Joined: 08 Sep 2003
Posts: 105
Location: New Castle, DE

View user's profile Send private message

Looking for a good USB Bootloader
PostPosted: Thu Feb 03, 2011 7:01 am     Reply with quote

I'm looking for a USB bootloader for the 18F25xx and 18F45xx, that use the CDC profile and no hardware grounding pins.
Would also like a PC interface.
I searched the board but if you put in "bootloader" it returns thousands of hits.
I also looked in the code library and did not find a USB bootloader full code.
Has any ported the Microchip bootloader?

Tom
dbotkin



Joined: 08 Sep 2003
Posts: 197
Location: Omaha NE USA

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

PostPosted: Mon Feb 07, 2011 1:03 pm     Reply with quote

Did you miss ex_usb_bootloader? I'm using it... my only complaint, and a fairly minor one, is that it seems to crash occasionally. Doesn't cause any problems, you just need to do it a second time.

Pros: Simple, requires no host application -- meaning you can use a Windows PC, Linux, Mac, whatever. And it's free.

Cons: No error checking, retry or corrupted data recovery.

In its native form it does need a pushbutton or some other indication that the user wants to do an application load. You could get around that by waiting some predetermined time and sending a prompt, but of course that means your application has to wait while the bootloader decides whether it's finished waiting on the user.

If by "PC interface" you mean you want a loader app that runs on the PC, then this one isn't for you. I'm half tempted to rewrite it with Xmodem or some similar protocol, which would still allow the use of many ordinary comm programs but would provide error retry. I really don't want to have to write or maintain PC-side applications for Linux, Mac and every new flavor of Windows that wanders down the road.
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