i started programming PIC-Micro Using SDCC
but every time have same issue
in pickit2 software show an warning
warning: no configuration words in hex file
and on program:
program memory error:
such error are appear on 16f1823 12f675
sdcc --use-non-free -mpic14 -p16f1823 blink_led.c
blink_led.asm:274:Message[1304] Page selection not needed for this device. No code generated.
blink_led.asm:309:Message[1304] Page selection not needed for this device. No code generated.
blink_led.asm:311:Message[1304] Page selection not needed for this device. No code generated.
blink_led.asm:319:Message[1304] Page selection not needed for this device. No code generated.
blink_led.asm:321:Message[1304] Page selection not needed for this device. No code generated.
message: Using default linker script "/usr/share/gputils/lkr/16f1823_g.lkr".
warning: Relocation symbol "_cinit" [0x0000] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0004] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0018] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x001C] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0000] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0004] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0018] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x001C] has no section. (pass 0)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
compile output:
also programmer can detect and erase the chip
**pk2 -PPIC16F1823 -Fblink_led.hex -M
**
and sdcc v 3.6.9 #10190