View previous topic :: View next topic |
Author |
Message |
coellen_d
Joined: 10 Apr 2007 Posts: 5 Location: Germany/Bonn
|
bootloader Problem on 18F2620 |
Posted: Sat Feb 09, 2008 7:38 am |
|
|
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
|
|
Posted: Sun Feb 10, 2008 3:21 pm |
|
|
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
|
|
Posted: Mon Feb 11, 2008 6:39 am |
|
|
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
|
|
Posted: Mon Feb 11, 2008 11:38 am |
|
|
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. |
|
|
|