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

16f887 Bootloader

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



Joined: 24 Aug 2005
Posts: 12

View user's profile Send private message

16f887 Bootloader
PostPosted: Fri Apr 30, 2010 4:57 pm     Reply with quote

Is there a bootloader for the 16f887? If not can the 16f877A be used or modified?

Thanks.
Rohit de Sa



Joined: 09 Nov 2007
Posts: 282
Location: India

View user's profile Send private message Visit poster's website

PostPosted: Sat May 01, 2010 6:32 am     Reply with quote

Try the Tiny PIC bootloader http://www.etc.ugal.ro/cchiculita/software/picbootloader.htm

As the name suggests - its small, and easy to use.

Rohit
macgyver



Joined: 24 Aug 2005
Posts: 12

View user's profile Send private message

working for anyone who is interested
PostPosted: Tue May 04, 2010 10:45 am     Reply with quote

Got it up and running with tinybld just a few mods.
Code:

xtal EQU 20000000

_HS_OSC (remove the internal oscillator line)

and tell it where the includes were.

All seems fine.

Using #build(reset=0x000:0x0007) in CCS to protect bootloader but not sure if its right.

http://www.microchipfault.com/questions/95/porting-pic16f877a-bootloader-to-pic16f887

Does not work, starts to download then times out.

Now trying to get tinybld to bootload at 19200 and use terminal at 9600.
currently it takes the downloader baud rate for terminal rate, may be able to edit the config file to do it, more investigating required.
Rohit de Sa



Joined: 09 Nov 2007
Posts: 282
Location: India

View user's profile Send private message Visit poster's website

PostPosted: Tue May 04, 2010 10:53 am     Reply with quote

Ok, I haven't really understood what the problem is. Anyway, the bootloader defaults to 115200 baud. If you want other speeds you'll have to re build the asm file.

Rohit
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