panos_papajohn
Member level 2
Hello
Im writing a super simple program cause I want to learn how to use my PICkit3.Im using MPLAB v8.6 and MCC18 compiler.
(I know that this code doesn't do anything if it is programed to a PIC)
When I built my project I get the following error :
Error - section '.romdata_vfprintf.o' can not fit the section. Section '.romdata_vfprintf.o' length=0x00000011
What is that??? Have I done anything wrong? I followed the instructions on how to create a project in MPLAB. The only thing that I omitted was the linker script because I read that in the new version it is added automatically. Is it a problem with the program memory of the PIC (I use PIC18F1230)?
Bare in mind that yesterday I was using the same program and compiler, to test the USART interface and everything worked just fine.:? Any ideas?
Thanks in advance
Panos
Im writing a super simple program cause I want to learn how to use my PICkit3.Im using MPLAB v8.6 and MCC18 compiler.
Code:
#include <p18f1230.h>
#include <stdio.h>
#pragma config WDT = OFF
void main (void)
{
printf ("Hello, world!\n");
while (1)
;
}
(I know that this code doesn't do anything if it is programed to a PIC)
When I built my project I get the following error :
Error - section '.romdata_vfprintf.o' can not fit the section. Section '.romdata_vfprintf.o' length=0x00000011
What is that??? Have I done anything wrong? I followed the instructions on how to create a project in MPLAB. The only thing that I omitted was the linker script because I read that in the new version it is added automatically. Is it a problem with the program memory of the PIC (I use PIC18F1230)?
Bare in mind that yesterday I was using the same program and compiler, to test the USART interface and everything worked just fine.:? Any ideas?
Thanks in advance
Panos