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

How to work with PIC_downloader Bootloader ?

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



Joined: 17 Sep 2005
Posts: 6

View user's profile Send private message

How to work with PIC_downloader Bootloader ?
PostPosted: Tue Jan 10, 2006 11:33 am     Reply with quote

Hi
I am working with PIC16F877 , and this is my first time with boot loaders and I am trying to work with the PIC_downloader boot loader.

(a pic of the program)



(and the link for it : http://www.microchipc.com/PIC16bootload/)

I have burn the boot loader to the MCU ; and when I am using the test code that come with the PIC_downloader it worked grate.

But when I am trying to download my own code to the MCU I am getting "Writing error !" message.

I have added the next lines to my code :

Code:
#ORG 0x1F00,0x1FFF //for the 8k 16F876/7
 void loader() { }


and it compile ok, but still I cant down load a code to the MCU.

Dose any one can explain me what should I do (a small sample code will be great)

Thanks Amnon
Shocked
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

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

PostPosted: Tue Jan 10, 2006 9:10 pm     Reply with quote

It may be that the bootloater has LVP enabled. In this case you have to ensure that RB4 is no floating or not putting the PIC in LVP mode. The alternative is to disable LVP in the bootloader.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
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