Register
Results 1 to 15 of 80

Threaded View

  1. #1
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    998
    Thanks Thanks Given 
    268
    Thanks Thanks Received 
    102
    Thanked in
    87 Posts

    Default Using JTAG to read/write the flash MMI3G

    I use TopJTAG flash Programmer to read/write the flash.
    The flash array data bus organization is 32bit (1 chip X 32), and the flash is cfi compliant.
    I assume the flash are connected parrallel, flashchip 1 holds D0 until D15 and flashchip 2 holds D16 until D31.


    The signal pins are connected according to the scheme below:
    Flash Pin JTAG device PIN Active
    CE W11/ cs0_n Low
    OE U11/ rd_n Low
    flash 1 - WE W12/ we0_n Low
    flaSH 2 - WE Y17
    / we0_n Low

    A0 Y9 / a2
    A1 W9 / a3
    etc continue until A23 (notice the offset of 2 adress lines A0 and A1 are not used)
    A23 AA1 / a25

    The datalines are connected 1 on 1, so
    D0 AB10/d0
    continue
    D31 AA20/d31

    First flash #WE -W12 - i can read/write, CFI is OK
    second flash #WE - Y17 - I can write, but I can erase it only fully, can not erase it partly,
    because the programm writes - common flash interface (CFI) Compliant - NO
    Screenshots are attached - "CFI-OK" is the first flash
    "CFI-error" is the second flash

    How To Solve That Problem?
    P.S. processor is SH7785, two flashes are Spansion GL512L

    Best Regards
    Attached Images Attached Images

  2. The Following 2 Users Say Thank You to eprst For This Useful Post:

    Faraday (23rd January, 2020), turgutsan (14th February, 2020)

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.