Thanks to you all, The problem was not the offsetting of the code but the bootloader Microchip offers. It is not for the PIC18Fxxx but for PIC18F452 and it does not write correctly the Flash of the PIC18F442. I'm have my hands on it now. Thank you once again, Sascha -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Michael Rigby-Jones Sent: Tuesday, October 12, 2004 11:03 AM To: 'Microcontroller discussion list - Public.' Subject: RE: [PIC]- HITIDE bootloader >-----Original Message----- >From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] >On Behalf Of Sascha >Sent: 11 October 2004 20:50 >To: 'Microcontroller discussion list - Public.' >Subject: RE: [PIC]- HITIDE bootloader > >So I think that my >real question will be: what has to be done to instruct the >PICC18 linker to relocate the vectors to 200h, 208h, 218h? > Simply add the switch -A200 to the linker command line. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.771 / Virus Database: 518 - Release Date: 9/28/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.771 / Virus Database: 518 - Release Date: 9/28/2004 _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist