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

ex_bootloader.c with PIC16F877A

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



Joined: 02 Jul 2008
Posts: 27

View user's profile Send private message

ex_bootloader.c with PIC16F877A
PostPosted: Mon Aug 30, 2010 2:47 am     Reply with quote

Hello,

Can anyone help me to get the bootloader (ex_bootloader.c) working with a PIC18F877A.
When compiling I get this error.
Code:

Executing: "C:\Programme\PICC\Ccsc.exe" +FM "ex_bootloader.c" +DF +LN +T +A +M +Z +Y=9 +EA
>>> Warning 202 "C:\PROGRA~1\PICC\drivers\loader.c" Line 60(13,22): Variable never used:   next_addr
*** Error 71 "ex_bootloader.c" Line 84(0,1): Out of ROM, A segment or the program is too large    real_load_program
  Seg 0004A-001FF, 016A left, need 016E
  Seg 00200-00209, 000A left, need 016E

      1 Errors,  1 Warnings.
Halting build on first failure as requested.
BUILD FAILED: Mon Aug 30 10:43:33 2010

What do I have to change in the program?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Aug 30, 2010 2:57 pm     Reply with quote

What's your compiler version ? I made a project with Ex_bootloader.c
and edited that file to change 16F877.h to 16F877A.h. I compiled it with
compiler vs. 4.111 and I didn't get those errors.

What's your version ? Did you just change the include line for the PIC
or did you make other changes ?

Also, are you using the full version of the compiler, or the truncated,
"limited to 2K ROM" demo version ? (or a student version)
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