A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
|
Hello all, First, I want to thank everyone that gave me advice on my first PIC project this past fall, your help was invaluable. Now I have a project that will be pretty challenging and I have time constraints to accomplish it. Here are my parameters: -One PIC already in a circuit board, cannot remove and socket (MELF) -Second PIC not in the same circuit to program first pic -Periodically, computer will send serial data to second pic (or third intermediary pic) from serial port to provide CRC, checksum, and .hex file to store -switch activates the second pic to check the first for a program/proper checksum/crc -if no program or improper checksum/crc, second pic in-circuit programs the first then verifies the checksum and crc -the second pic reports back to the computer via serial a the crc, checksum, and that the program of the first pic was successful If anyone has any code snippets, links or suggestions that I might find useful, I'll be very appreciative. I have some basic ideas of how I will accomplish this, but it never hurts to learn from others experiences along the way. Thanks, Tom |
|
|
|
u can use "Wouter van Ooijen" WASP(sorry if wrong spelling) its the pic that
is hookes to a computer and programs other pics, u want to instead of program to store the program in eeprom with the programming capability, and from there its simple,u have an interface to the other pic and the 2 talk if programming needs to happen or not, not sure if code is provide but there are similar projects around with source another 5 min type movingbait --- In , "tom_bihn" <tbihn@n...> wrote: > Hello all, > > First, I want to thank everyone that gave me advice on my first PIC > project this past fall, your help was invaluable. > > Now I have a project that will be pretty challenging and I have time > constraints to accomplish it. Here are my parameters: > > -One PIC already in a circuit board, cannot remove and socket (MELF) > -Second PIC not in the same circuit to program first pic > -Periodically, computer will send serial data to second pic (or > third intermediary pic) from serial port to provide CRC, checksum, > and .hex file to store > -switch activates the second pic to check the first for a > program/proper checksum/crc > -if no program or improper checksum/crc, second pic in-circuit > programs the first then verifies the checksum and crc > -the second pic reports back to the computer via serial a the crc, > checksum, and that the program of the first pic was successful > > If anyone has any code snippets, links or suggestions that I might > find useful, I'll be very appreciative. I have some basic ideas of > how I will accomplish this, but it never hurts to learn from others > experiences along the way. > > Thanks, > Tom |
|
|
|
> u can use "Wouter van Ooijen" WASP(sorry if wrong spelling) > its the pic that is hookes to a computer and programs other pics, u http://www.voti.nl/wisp628 Firmware source is available, but not free for all purposes. But certainly free for reading and using as inspiration! Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products |
|
|
|
Thanks! I appreciate the link. I'll look through the site and see if it will fit all or most of my criteria. It looks like it will be a great starting point if nothing else. Tom --- In , "Wouter van Ooijen" <wouter@v...> wrote: > > u can use "Wouter van Ooijen" WASP(sorry if wrong spelling) > > its the pic that is hookes to a computer and programs other pics, u > > http://www.voti.nl/wisp628 > > Firmware source is available, but not free for all purposes. But > certainly free for reading and using as inspiration! > > Wouter van Ooijen > > -- ------------------------------------------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products |