READCODE pics supported


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Sep 2011
    Posts
    20

    Default READCODE pics supported

    Hello someone have a list of pics that support the istruction READCODE/WRITECODE ?
    I can't find it :-(

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: READCODE pics supported

    I can't help you with a list, but what problem are you having?

    There's a list of related threads at the bottom of the page. The Search feature also works.

    Robert

  3. #3
    Join Date
    Sep 2011
    Posts
    20


    Did you find this post helpful? Yes | No

    Default Re: READCODE pics supported

    Hi Demon,
    The problem is very easy;
    If i use a simple readcode istruction on my progam, like this for example.
    ReadCODE $100,WChar

    I get a lot of errors message from assembler like this:
    [ASM ERROR] Symbol not previously defined (EEADRH)

    This if I use 16f628 o 16f676 but if i use(for example) 16f677/8 all work fine.
    So i suspect the previous chips aren't supported.
    But a lot of months ago i am sure to have used READCODE istruction with a 16f628A(i have still the breadboard with it plugged on and all work) without any problems.
    So sound very strange to me and maybe it depend from PBP compiler, because that time i used a 2.50a versione and now pbp 3.0.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: READCODE pics supported

    It's not that older chips aren't supported, or that the compiler version makes a difference.

    The 16f628, 16F628A, 16F676 and many others simply don't have the ability to read/write to their own flash memory.

    It's the chips that can't do it, not the compiler.
    DT

  5. #5
    Join Date
    Sep 2011
    Posts
    20


    Did you find this post helpful? Yes | No

    Default Re: READCODE pics supported

    Hi Darrel,
    Thanks for your answer.
    I have used in my program your examples and routines, but i can't undertand why it don't work for me.
    So i need to migrate my project on another pic!
    Evidently in the past i don't have use the 16f628 but some other one and i have change it for some issue the i can't remember.
    Thanks again for your explanation and for your very good examples scattered for all the forums that help us to live and make code in more easy and strong way! ;-)

Similar Threads

  1. Readcode problems
    By BobP in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th November 2012, 18:33
  2. Writecode/Erasecode/Readcode
    By Ioannis in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th May 2012, 21:29
  3. Readcode
    By cncmachineguy in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th March 2011, 10:54
  4. Readcode in asm
    By joeri in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 27th January 2008, 13:25
  5. readcode on 16F737
    By joeri in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th July 2006, 16:01

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