Read EEprom the 18f4620 after 255 ??


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Location
    sao paulo - brasil
    Posts
    23

    Default Read EEprom the 18f4620 after 255 ??

    Dear Friends,

    Why don't get to read or to record the eepron of the 18f4620 after the address 255

    example read 300,a or data @403,001

    doesn't have effect after the address 255

    in advance thankful,
    Vicente

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Read EEprom the 18f4620 after 255 ??

    What sort of problem are you having?
    What happens when you run this?
    Code:
        BAUD    CON 16572  '4800 INVERTED, PC
        TX       VAR PORTB.0
        SUM     VAR BYTE
        NUM     VAR BYTE
        NUM = 0
    
        BOOT:
        SEROUT2 TX,BAUD,[$d,$a]
        SEROUT2 TX,BAUD,["NUM= ",DEC NUM,$d ,$a]
        SEROUT2 TX,BAUD,["SUM= ",DEC SUM,$d,$a]
        PAUSE 1000
        WRITE 300,NUM
        PAUSE 100
        READ 300,SUM
        PAUSE 100
        NUM = NUM + 1
        GOTO BOOT
    Dave
    Always wear safety glasses while programming.

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