Reading ID Value


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161

    Default Reading ID Value

    Hello to all,

    I am interested in reading the ID value of the Chip which we can set during the programing within the code.

    Also if I could read the checksum ?

    any help.

    regards
    Attached Images Attached Images  

  2. #2
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Hi Charudatt,

    What programming hardware do you use? Whatever it is, chances are Winpic800 would be supporting it. This software lets you read the device id.

    Regards,

    Anand.

  3. #3
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Program the config id

    Hi Charu,

    If I am not mistaken you can use the id locations to program say serial numbers of your product. So under IC-pROG just put a value and program you should be able to see a different ID. For serialized quick turn programming you can use winpic800 that automatically increments your id while batch programming.

    9.9 ID Locations
    Four memory locations (2000h-2003h) are designated
    as ID locations where the user can store checksum or
    other code identification numbers. These locations are
    not accessible during normal execution but are
    readable and writable during Program/Verify. Only the
    Least Significant 7 bits of the ID locations are used.
    Regards

    Sougata

  4. #4
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default

    Hello Sougata,

    Thank you for that information. But what I understand that i cannot access this location during normal excution of code , but only during programing.

    Yes I am using WinPic800 and i can read and write it during programing, but can i not read it during excution to verify or tally this ID ?

    regards

  5. #5
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    The four ID Bytes are located OUTSIDE the address range accessible to the PICs Program. You will NOT be able to access them directly from within your program, but only through an external source such as a programmer.

  6. #6
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default If you only need to read no modify

    Hi,

    If you only want to mark your PICs and read it during execution then I think the only possibility is to have a copy of the id value in eeprom.
    Regards

    Sougata

Similar Threads

  1. Reading temperature using multi DS18B20
    By KVLV in forum Code Examples
    Replies: 16
    Last Post: - 3rd November 2017, 20:48
  2. DS18B20 error reading
    By Gaetano in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th August 2007, 17:21
  3. Reading Timers
    By kevj in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th August 2007, 09:19
  4. Pot reading jumping like crazy!!!
    By champion in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 20th November 2006, 22:24
  5. Reading Timer1 value
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th June 2006, 17:21

Members who have read this thread : 1

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