On 20/12/2014 22:40, "Kustaa Nyholm" <kustaa.nyh...@planmeca.com> wrote:
>Hi, > > >I'm implementing a bootloader that will allow the actual application >code to be updated on the field via USB. > > >As the bootloader code resides in 0x0000 .. 0x0800 I need to relocate >the actual application to address 0x0800 along with the interrupt >vectors. > >I'm targeting PIC18F4550 So I discovered the '--ivt-loc=' SDCC-parameter, this fixes the C-interrupt. But jump to main (startup really) is still at 0x0000. Do I have to use a custom crt for that? Also need figure out the correct way to specify my asm-interupt section. cheers Kusti This e-mail may contain confidential or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. We will not be liable for direct, indirect, special or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on or as of transmission of this e-mail in general. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user