Jan-Erik Soderholm wrote > Sergio Masci wrote : > > > The bootloader does not need specialised download software > > running on a PC. You just throw the executable to be downloaded > > at the serial port.... > > Hi. > > More specificaly, how do you "throw the executable" ? > > By doing ">COPY MYAPP.HEX COM1:" in a DOS-box > (or command-window or whatever it's name is today...) ?? Hi Jan, I haven't tried "copy" from a dos box or command window but I have used "cat" from a linux box and the simple file download function from TeraTerm on a windows box (this is like the "send text file" in HyperTerm). Essentially just throw. The hex is specially preformated with crc instead of checksum. If the download fails the bootloader will not exit, requireing a successful download before it executes the received file. Error messages are sent back to the terminal but you only get to see these if you use a terminal emulator (such as TeraTerm) to throw the executable. The error messages can be stripped out to reduce the size of the bootloader. I have an eariler version of the bootloader that uses unmodified intel hex format with plain checksum but it seemed a bit silly to stick with this when I have complete control over the generated executable and CRC is so much better at catching errors than checksum. The last thing you want to do is chase a bug in your downloaded code that is not really there. Regards Sergio Masci http://www.xcprod.com/titan/XCSB - optimising PIC compiler -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu