sindyme
Joined: 05 Aug 2009 Posts: 37
|
Who can help me to solve bootloader |
Posted: Mon Nov 02, 2009 1:15 am |
|
|
Hello Everybody
I have question about bootloader. How can I build it ?
My CCS version is 4.084.
I use "Project > New > Project Wizard" to create a bootloader.
The CCS code as follows shows:
Code: |
#include "CCS\Boot Loader\Boot Loader_18F452\18F452.h"
#include "CCS\Boot Loader\Boot Loader_18F452\18F452_bootloader.h"
#include <string.h>
//BOOTLOADER AT START - Include Bootloader.h in your application - See sample application Ex_Bootload.c
//BOOTLOADER AT END - Always include the projectname_bootloader.h file in future versions of the project
// NOTE - User must include PROJECTNAME_bootloader.C in his final Application program
void application(void)
{
while(TRUE);
}
void main()
{
// Enter Bootloader if Pin B5 is low after a RESET
if(!input(PIN_B5))
{
real_load_program();
}
application();
}
|
But when I compile, it had wrong message about -
Quote: |
- Out of ROM,A seqment or the program is too large
Seq 0002A-004FE,001C left, need 003C
1 Errors, 0 Warming.
|
Who can help me to solve bootloader ? Please
Notice: I can't use Tiny-bootloader because Tiny can't support 18FJ
series. My PIC-IC have PIC18F4620, PIC18F452, PIC18F67J10.
I use "J" series finally. |
|