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

Regarding programming

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







Regarding programming
PostPosted: Thu Aug 11, 2005 12:26 am     Reply with quote

I hope any one will help me.

I have done a program for one application based on 16F87. I have boot program.hex and system.hex. I dont know how to program both the hex files in the Flash memory.

I am using MPLAB IDE v6.60 with CCS compiler.
My programmer is MPLAB ICD 2.

regards
siva
Douglas Richard



Joined: 08 Sep 2003
Posts: 49
Location: Concord NH

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

combine hex
PostPosted: Thu Aug 11, 2005 6:03 am     Reply with quote

Write a program that combines program.c and system.c and compile that.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Thu Aug 11, 2005 9:05 am     Reply with quote

The easiest is to program the boot program and then use the bootloader to upload the system.
MikeValencia



Joined: 04 Aug 2004
Posts: 238
Location: Chicago

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

PostPosted: Thu Aug 11, 2005 9:43 am     Reply with quote

i've never used a bootloader on a pic, but i am long overdue in trying it out.

But the first thing i would do is to try to flash the PIC directly with the main program and see if it works. Disregard the bootloader for now.

Unless of course you cannot re-compile the main program to not use the bootloader. Then you'd have to do what Mark says.
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