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

bootloader Problem on 18F2620

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



Joined: 10 Apr 2007
Posts: 5
Location: Germany/Bonn

View user's profile Send private message

bootloader Problem on 18F2620
PostPosted: Sat Feb 09, 2008 7:38 am     Reply with quote

Hi CCS Users,

I have a problem with the CCS bootloader on a PIC18F2620.

I can`t compile the bootloader after changing the include file to 18F2620,
the compiler-Error is:

Out of ROM, A segment of the program is too large MAIN.

Is there anyone with a solution for this Problem?


Many Thanks

Dirk
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Feb 10, 2008 3:21 pm     Reply with quote

Post the name of the CCS file that you're trying to compile.
There are many different bootloader files. Which one are you using ?
Quote:

c:\program files\picc\examples\ex_bootloader.c
c:\program files\picc\examples\ex_bootload.c
c:\program files\picc\examples\ex_usb_bootloader.c
c:\program files\picc\drivers\bootloader.c
c:\program files\picc\drivers\bootloader.h
c:\program files\picc\drivers\usb_bootloader.h
coellen_d



Joined: 10 Apr 2007
Posts: 5
Location: Germany/Bonn

View user's profile Send private message

PostPosted: Mon Feb 11, 2008 6:39 am     Reply with quote

Hi PCM programmer,

sorry, I forgot that there are so many bootloaders,

I am using program files\picc\drivers\bootloader.c

on a serial port.

Can You help me?

Regards
Dirk
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Feb 11, 2008 11:38 am     Reply with quote

That file doesn't have an #include line for a PIC, or a #fuses line, etc.
The two include files in it don't have those lines either.

Are you really compiling the Ex_Bootloader.c file ?
Quote:
c:\Program Files\picc\Examples\Ex_Bootloader.c

If you're not doing that, then post what you are doing.
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