|
|
View previous topic :: View next topic |
Author |
Message |
wewa
Joined: 02 Jul 2008 Posts: 27
|
ex_bootloader.c with PIC16F877A |
Posted: Mon Aug 30, 2010 2:47 am |
|
|
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
|
|
Posted: Mon Aug 30, 2010 2:57 pm |
|
|
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) |
|
|
|
|
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
|