Menu

#2707 sdcc output hex file

open
nobody
program (1)
PIC14
5
2018-01-24
2018-01-23
alilibre
No

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

2 Attachments

Discussion

  • alilibre

    alilibre - 2018-01-23

    compile output:

    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)
    
     
  • alilibre

    alilibre - 2018-01-23

    also programmer can detect and erase the chip
    **pk2 -PPIC16F1823 -Fblink_led.hex -M
    **

    PICkit 2 Program Report
    23-1-2018, 9:52:54
    Device Type: PIC16F1823
    
    Program Memory Errors
    
    Address   Good     Bad
    000002    0030D8   003858
    
     
  • alilibre

    alilibre - 2018-01-23

    and sdcc v 3.6.9 #10190

     
  • Philipp Klaus Krause

    • Category: other --> PIC14
     

Log in to post a comment.

Monday.com Logo