Bootloader for 16f87/88 that doesn't use UART
I have a board with a 16f87 that has a two way PC connection that is bit banged, with the HW UART used to transmit a high speed one way signal to some other equipment.
What I would like to do is add a bootloader to simlify reloading or updating firmware.
I've done a quick search and it seems all the usual suspects need to use the HW UART for bootloader activity. I saw a thread a while back about the SparkFun bloader being able to use any pin, but it seems its not so.
So has anyone seen a bl for a 16f87 that allows the use of a software uart ?? What would be great is one written in pbp, as it would be easy to maintain and make changes to led flashing when in boot mode etc.
with thanks,
bill
Bootloader for 16f87/88 that doesn't use UART
Melabs had their meloader no longer sold perhaps if you call them they'll sell you one.(it's a great piece of software)
also basicmicro sells their programmer you can build a loader within their programming software
for any pin.( at least it use to be this way but you may want to take a peek)
Victor
So you found the link :-)
Well,
http://www.picbasic.co.uk/forum/showthread.php?t=4498 works.. but the hack you tried doesnt. The only way I have gotten this to work is to (as stated later in the thread)
ifdef LOADER_USED
LIST
ORG 60160 ; Own loader address depending how big loader you write
NOLIST
endif
And if you first write your bootloader and then you can change the address from where it starts to allocate just as much memory as it needs. By putting the bootloader last in the program space you also get less trouble with interupt vectors if you are using a 18-pic with high and low priority interupts. This is an ugly hack and dont forget to change back these things when you plan to compile your normal software.
/me