Code verify on 12F683


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default Re: Code verify on 12F683

    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

  2. #2
    Join Date
    Mar 2008
    Posts
    16


    Did you find this post helpful? Yes | No

    Default Re: Code verify on 12F683

    Quote Originally Posted by rsocor01 View Post
    Some programmers like for example my U2 USB Programmer have a verification routine after writing the program in the chip...
    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!

  3. #3
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default Re: Code verify on 12F683

    Quote Originally Posted by swr999 View Post
    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

  4. #4
    Join Date
    Mar 2008
    Posts
    16


    Did you find this post helpful? Yes | No

    Default Re: Code verify on 12F683

    Quote Originally Posted by rsocor01 View Post
    ... do you mind me asking how are they "gang-programming" the chips? ...
    Robert
    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.

  5. #5
    Join Date
    Mar 2008
    Posts
    16


    Did you find this post helpful? Yes | No

    Default Re: Code verify on 12F683

    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!

Similar Threads

  1. 12F683 - basic code not working
    By Scampy in forum mel PIC BASIC Pro
    Replies: 56
    Last Post: - 12th February 2014, 00:29
  2. please help with 12f683 pwm code
    By haidar in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 22nd May 2013, 21:25
  3. pls help me verify my code not work, why???
    By chai98a in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th January 2010, 09:19
  4. 16F883 Code Verify Problem
    By munromh in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th February 2009, 11:47
  5. Code Protection with Verify Blues
    By Squibcakes in forum General
    Replies: 2
    Last Post: - 6th February 2006, 12:23

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts