program a PIC 18F4520 with basicstamp
sirbow2
Posts: 3
hi i have a 18F4520 that needs a bootloader on it so that i can use USB or RS232 to program it (the PIC) without a separate programmer chip. But, i dont have one of these programming kits...So can i use my basic stamp to either load a program (the hex file) or a bootloader on to my PIC?
thanks!
PS i found this:
"On one level - yes you could. That is: you could add the tiny amount of
extra hardware needed to switch Vpp & Vdd and write a PBasic program to
read a hex file from your PC and burn that code into a PIC. In other
words, you could use a Stamp as the brains behind a PIC programmer."
Here: http://forums.parallax.com/showthread.php?75462-Programming-a-PIC-microcontroller&p=515835&viewfull=1#post515835
but how? is what i thought after reading that.
thanks!
PS i found this:
"On one level - yes you could. That is: you could add the tiny amount of
extra hardware needed to switch Vpp & Vdd and write a PBasic program to
read a hex file from your PC and burn that code into a PIC. In other
words, you could use a Stamp as the brains behind a PIC programmer."
Here: http://forums.parallax.com/showthread.php?75462-Programming-a-PIC-microcontroller&p=515835&viewfull=1#post515835
but how? is what i thought after reading that.
Comments
-Phil
-Phil
... and i have no clue what i need to program the BS2 with for this to work. for anyone reading this, do you know how to write a program for the BS2 to write hex programs to PIC's?
ICSP has a data port and a clock port(and the volt stuff). would these just be two I/O pins on the BS2?