gnupic: SDCC and PIC Bootloader v8


Previous by date: 24 Jul 2002 13:20:59 -0000 Re: SDCC and PIC Bootloader v8, Scott Gordon
Next by date: 24 Jul 2002 13:20:59 -0000 beginning microcontroller programming, mlm.escapement.net
Previous in thread: 24 Jul 2002 13:20:59 -0000 Re: SDCC and PIC Bootloader v8, Scott Gordon
Next in thread: 24 Jul 2002 13:20:59 -0000 Re: SDCC and PIC Bootloader v8, Jeff Jackowski

Subject: Re: SDCC and PIC Bootloader v8
From: Scott Dattalo ####@####.####
Date: 24 Jul 2002 13:20:59 -0000
Message-Id: <Pine.LNX.4.44.0207240603280.21154-100000@ruckus.brouhaha.com>

On Wed, 24 Jul 2002, Alberto Morales wrote:

> Hi people, here's my question:
> 
> Is sdcc compatible with pic bootloader? The rules which it have to
> follow are shown in this url:
> 
> http://www.workingtex.com/htpic/PIC_bootloader_FAQ.htm#bootloader_compatible
> 
> in short: the asm code has to begin with a far jump to the main()
> func. Any way for doing this in sdcc? If not, do you know a booloader
> that works with sdcc?

Alberto,

Since SDCC is open-sourced, making it do whatever we want is just a matter 
of writing code. That's the beauty of having the source. The beast though, 
is you have to write the code...

There are at least two ways we can approach this:

1) add a command line option --with-bootloader that will tell SDCC to use
a jump to the start of main.

2) add a #pragma.

As far as the mechanics of adding the jump, well that's trivial. 


Scott


Previous by date: 24 Jul 2002 13:20:59 -0000 Re: SDCC and PIC Bootloader v8, Scott Gordon
Next by date: 24 Jul 2002 13:20:59 -0000 beginning microcontroller programming, mlm.escapement.net
Previous in thread: 24 Jul 2002 13:20:59 -0000 Re: SDCC and PIC Bootloader v8, Scott Gordon
Next in thread: 24 Jul 2002 13:20:59 -0000 Re: SDCC and PIC Bootloader v8, Jeff Jackowski


Powered by ezmlm-browse 0.20.