Did you ever get the tinyboot for 18F2420 working?
Did you ever get the tinyboot for 18F2420 working?
This is what would worry me...
tinybld18F2420_int8MHz_19200.HEX
Are you trying to 'reliably' load a random PIC at 19200 Baud when running an INTERNAL 8MHz Oscillator? Only in your dreams!
Hi there,
Well i did get it to work, but by using a 16F88 ....
I could not get the tiny bl to work on the 2420, so i tried a different part to be sure it actually worked, it did work on a 16F88. Reducing the code and adding some extra analogue parts caused that i could stick to 16F88 and so i did ...
I still have a working 16F88 tiny bootloader hex + flash the led demo for pbp.
Let me know if you need i it ....
Best regards,
Ultiblade
Thanks for your reply. I do have the Tiny Bootloader reliable working with a 16F886 and hoped to get it working with the 18F family. Someone must have it working from the info on the Tiny Bootloader site. I will first try it with a 18F252 and if that works try the 18F2420. If I have any luck I will post it here.
Strange thing is that on the tiny website there is sample code called tinybld18F2420_int8MHz_19200.HEX and should work ...
The code sample never did work. Add the fact that Melanie is talking about "in your dreams", trying first on the 252 will be a good idea.
Succes !
Best regards,
UB
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
to the sample .asm file they call TinyB18F.asm , which is included in the Tiny Bootloader download.Code:BSF BAUDCON,RXDTP BSF BAUDCON,TXCKP
Nice to get rid of a $4.00 chip, and do it in hardware, well ... sort of software/hardware!
And it works!!
Last edited by ScaleRobotics; - 30th December 2009 at 21:57.
Bookmarks