You can also modify the TinyB18F.asm code for other PIC types. The cool part of using PIC18 device is that you can run the bootloader WITHOUT a MAX232! Just invert your USART with RXDTP and TXCKP. I have been meaning to try it since I read this thread: http://www.picbasic.co.uk/forum/showthread.php?t=10361
I finally tried it using a PIC18f2520 with a 22k resistor on the RX line, and with the addition of
Code:
BSF BAUDCON,RXDTP
BSF BAUDCON,TXCKP
to the sample .asm file they call TinyB18F.asm , which is included in the Tiny Bootloader download.
Nice to get rid of a $4.00 chip, and do it in hardware, well ... sort of software/hardware!
And it works!!
Bookmarks