Some programmers like for example my U2 USB Programmer have a verification routine after writing the program in the chip. You might want to use that feature that has already been created for you. Easier for you and no headaches.
Some programmers like for example my U2 USB Programmer have a verification routine after writing the program in the chip. You might want to use that feature that has already been created for you. Easier for you and no headaches.
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Thanks. This would be fine for one or a few instances. In my case a PCB assembler will be gang-programming many chips. Plus, once out in the field I would like the program to not run at all if, whenever it powers up, the code validation fails. Any suggestions for a similar 8-pin chip which does allow to read out of program memory? Or some other way to do code validation?
Thanks!
If you are programming the chips at the factory in Thailand, they use CRC error checking. If you are using somebody else, do you mind me asking how are they "gang-programming" the chips? There have been a few people asking in this forum how to "gang-program" many chips, but I don't think that they never got a satisfying answer.
Robert
"No one is completely worthless. They can always serve as a bad example."
Anonymous
I may be using the wrong terminology. All I meant was that I send the hex code along with the gerbers and BOM and the assembly house includes loading the chips with my hex code as part of the assembly cost. But I don't know how they do it. But in addition to error-checking the initial loading of the hex code, I also want to re-validate the program memory space on each power-up and have the code not run if the code is not validated. I believe I can do this if I switch to a part like the 12F1xxx family.
Actually, a partial answer to my own question. Turns out that some of the 12(L)F1xxx family parts are available in 8-pin packages and have self-programming capability. However, for use with meLabs PIC Basic you need the PBP3 compiler. However, I'm still searching for a way to do code validation on the 12F683.
Any more ideas?? Thanks!
Bookmarks