Shop OBEX P1 Docs P2 Docs Learn Events
Reading data from a 2764a eprom — Parallax Forums

Reading data from a 2764a eprom

Brian_BBrian_B Posts: 842
edited 2008-09-07 19:34 in Propeller 1
Hi,
I have a old 6801 that I want to replace with the propeller, I want to read the machine code out of the eprom so that I can see exactly how it was programmed. I've included the data sheet ,from what I can tell you set the CE to 1 ,the OE to 1 and then do a inca from address 0 to address 8,000 , reading the 8 bit pattern from every one. Does this sound right ?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thank's Brian




"Imagination is more important than knowledge..." Albert Einstein

www.PropelX.com

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2008-09-06 19:56
    No, /CE and /OE are active low. I think you can just hold these low and change the address on the fly. Be sure to wait at least tACC after each address change, though, before reading the data. Also, addressing goes from 0 to 8191 (not 8000).

    -Phil

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Still some PropSTICK Kit bare PCBs left!
  • LeonLeon Posts: 7,620
    edited 2008-09-06 20:43
    I think Phil is correct. I wrote some software for programming and reading 2764 EPROMs with a Z8 MCU many years ago. I used a counter to generate the address, but that won't be needed with the Propeller. The Z8 wasn't very fast, but I needed to introduce a delay after setting up the data and address.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • Brian_BBrian_B Posts: 842
    edited 2008-09-07 19:34
    Thanks' guys , this is a mess but seems to work . Also I had to pull /pgm to 1 to read.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Thank's Brian




    "Imagination is more important than knowledge..." Albert Einstein

    www.PropelX.com
    800 x 533 - 287K
Sign In or Register to comment.