So, in this context, a bootloader mustÂ be able to :
- program my chips through the USB-to-serial converter
- work under LinuxÂ (plaftorm independent)
- easily integrate within the SirBot ProjectÂ (if possible)
I did not try further and switch toÂ Tiny Bootloader. This bootloader seems to work fine with 16F88 and with Jal. More,a python script,Â pytbl, is availableÂ to use it: this is a great opportunity to use it within SirBot. So, let’s go… I’ve first flashed the 20MHz/115200bds hex file with my programmer. Using wine, I’m able to detect my 16F88 but… still unable to write the flash (“Could not write… Error…”). However, it works like a charm with a “real” serial port (%*$%%Âµ! converter). During my Bloader/Screamer exploration, it was mentioned that the baudrate configuration (9600, …, 115200) was useful when a usb-to-serial converter was involved… Heh ? Sounds interesting ! I thought: “if you took that asm file, modify it to use 20MHz xtal and 9600bds, compile the whole and put it in your 16F88, there will be a magical moment, for sure…”. And I did it… But no magical moment occured, still the same error. Ah, yes, I can remember the magical moment. It was when I compiled the asm file with MPLAB (crap, gpasm failed). It said “The file path [to the asm file] mustn’t be longer than 62 characters”…
Then I had the great idea:Â usingÂ VirtualBox, I’m ableÂ to run XP under Linux,Â attach my usb-to-serial converter, thenÂ launch TinyBootloader, thenÂ program my 16F88, thenÂ have my magical moment…
Now, what aboutÂ pytblÂ ? It can detect the chip, but when it programs it (without errors), nothing is working anymore, even the bootloader… I’ve contacted the authort, so more on this later (I hope).