> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of Wouter van Ooijen > Sent: 06 May 2008 20:20 > To: Microcontroller discussion list - Public. > Subject: Re: [PIC] another bootloader question > > > The bootloader I developed for use in a product is always run at power > > up, and checksums the main program image (which is always a fixed size). > > If the image is ok, it jumps to the entry point > > So how do you re-bootload once Murphy has succeeded in bootloading an > image (with correct checksum) that refuses to bootload? The bootloader is only for the convenience of our customers, so any firmware images will be thoroughly tested before being released. In the lab or production facility we use a JTAG interface to program the devices. The products have no user interface, e.g. buttons etc. so checking for this kind of input is difficult. The latest project has enough spare pins on the main interface that we can use a separate serial interface for bootloading and test another pin to enable it, but this is very much an exception as we rarely have spare pins on the modules connector (which is usually defined by a multi-source agreement and therefore can't be changed). 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 PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist