Yes, please! It would be REALLY nice if you can provide linux tool for this bootloader. As i said in my first mail, i just adjusted the register names and got the loader running. At this exact moment i was working on a expect script to control the bootloader from linux. But as you already wrote such code, could you provide that? I'd be really thankful. []s Rafael. http://grad.icmc.sc.usp.br/~rva On Thu, 22 Jan 2004, Manuel Bessler wrote: > Rafael Vidal Aroca wrote: > [fixed long lines] > > I'm trying to compile Microchip's booloader in mplab 6.3 which leads > > to several errors. All errors are related to register names from that > > are not in the include files, so it can be solved. > > > > But the question is: shouldn't microchip bootloader compile correctly > > at first try? > > Anyone has had this kind of problem. > > I've adapted the AN851 bootloader. Apart from the initialization, and no > autobauding, its the same as the AN851, just fixed those things you > mentioned. I have it working on a 18F452, so this should, at most, > require minor changes. > > I worked through the whole code and wrote my own comments for nearly > every instruction. The only thing I did not understand was the checksum > > calculation in Mchip's code... > > I've also written small programs to use it under linux. I have not > tested the Windows programs supplied by microchip. > > If you are interested, I can put the asm file up on the web. > > Regards, > Manuel > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads