gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: SDCC & Bootloaders
From: Jeff Jackowski
Date: Tue, 28 Jan 2003 01:25:26 -0600 (CST)

I'm about to move my project from a PIC16F877 to an 877A, and I'm going to 
need a new bootloader to support it, as well as a programmer. I haven't 
been able to find a GPL'ed bootloader that supports the newer flash ROM 
parts like the 877A. If there is one, I'd like to know about it. If not, 
I'll make a new revision of my bootloader with support.

I'd like to write the new bootloader with SDCC. However, I'll need to tell
the compiler/linker what addresses to use for the functions, preferably a
range.  All constant data will need to fit in this range, too. I haven't
found support for this in the SDCC docs. Is there support? To go along
with this, it would also be helpful to be able to specify a range of 
addresses in ROM that are not to be used to leave space for the 
bootloader.

As for a programmer, I figure that if I write the bootloader, I'll take 
that code and make a programmer out of it because I can. Otherwise, I'll 
just try to get my Warp-13 to do the programming from Linux. Maybe modify 
that TM4 program.

-- 
Jeff Jackowski
        http://ro.com/~jeffj/


gnupic@linuxhacker.org