Use Tiny bootloader with PIC14 ?

  • stéphane Gounelle

    Here is the problem:
    starting with SDCC, I install the win 32 package, Anyedit as IDE, then create the .hex file of Tiny bootloader (by mplab), and burn the 16F877 with it (by icprog). First try, a simple test file ([found here->\]) with RS232 link, burn by the tiny app: all works (compilation, links and so on..), tiny find the pic, load the prog very fast, and the pic link the terminal and works perfect, life is beautiful...
    ...little changes later, new hex, but impossible to connect the tiny app!
    In fact, the first prog I burn (after the bootloader) have change the 3 first words (wich jump to the end of the last bank to the bootloader) by the classic "goto start". I tried to understand the PIC 18 files (crtoi.c, etc..) but the spirit seemed to be different between the 2 families (PIC14 and PIC16).
    Is there something easy to do (directive?) to tell the compiler or the linker to not touch these 3 first bytes ??

    • stéphane Gounelle

      OK, I tested another bootloader.hex (always tiny) as suggested by JP Mandon ( wich seemed to work is still beautiful!


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks