Using JTAG to read/write the flash MMI3G
Register
Page 1 of 6 123456 LastLast
Results 1 to 15 of 80
  1. #1
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    996
    Thanks Thanks Given 
    267
    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)

  3. #2
    DK Veteran
    Join Date
    Sep 2009
    Posts
    385
    Thanks Thanks Given 
    10
    Thanks Thanks Received 
    10
    Thanked in
    9 Posts

    Default

    what tool is jtag?gl512n all i have remove bga relfash.

  4. #3
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    996
    Thanks Thanks Given 
    267
    Thanks Thanks Received 
    102
    Thanked in
    87 Posts

    Default

    Segger J-Link

  5. #4
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    996
    Thanks Thanks Given 
    267
    Thanks Thanks Received 
    102
    Thanked in
    87 Posts

    Default

    anybody was reading this flashes by Jtag?
    Last edited by eprst; 23rd April, 2016 at 03:22 PM.

  6. #5
    DK Veteran
    simaservis1108's Avatar
    Join Date
    Aug 2013
    Location
    Serbia,Belgrade
    Posts
    2,075
    Thanks Thanks Given 
    236
    Thanks Thanks Received 
    1,095
    Thanked in
    756 Posts

    Default

    Contact me on Skype,I have that working unit,so I can try and help you via JTAG.
    TBH I never read it via JTAG.It is time to start now I guess

  7. The Following User Says Thank You to simaservis1108 For This Useful Post:

    allcarsdiag (31st May, 2020)

  8. #6
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    996
    Thanks Thanks Given 
    267
    Thanks Thanks Received 
    102
    Thanked in
    87 Posts

    Default

    Hello
    through trial and errors
    I recorded for 7785
    Now we need to write v850


    Can someone read it? is there a firmware v850?

  9. #7
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    996
    Thanks Thanks Given 
    267
    Thanks Thanks Received 
    102
    Thanked in
    87 Posts

    Default

    Hello,

    V850 chip is need to be programmed with the file D1_OS81050_FW_V01_10_07_CS_V02_01_11.ipf (attached)
    from the firmware disk, but unfortunatelly i don't know how to do it.
    Besides there are 2 files(attached): 'V850bolo' and 'V850app'. Does anybody know how to paste together these files?

    Thanks in advance.
    Best Regards
    Attached Files Attached Files

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

    dec123ua (24th September, 2017), hbalazs (17th July, 2017), turgutsan (14th February, 2020)

  11. #8
    DK Veteran
    Join Date
    Sep 2009
    Posts
    385
    Thanks Thanks Given 
    10
    Thanks Thanks Received 
    10
    Thanked in
    9 Posts

    Default

    now many tool can read/write 70f3366

  12. #9
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    996
    Thanks Thanks Given 
    267
    Thanks Thanks Received 
    102
    Thanked in
    87 Posts

    Default

    I have such tool. The problem is that i don't have a file for writing. Dump file is damaged.

  13. #10
    Member
    Join Date
    Aug 2013
    Posts
    51
    Thanks Thanks Given 
    11
    Thanks Thanks Received 
    13
    Thanked in
    10 Posts

    Default

    did you read damaged dump from V850?

  14. #11
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    996
    Thanks Thanks Given 
    267
    Thanks Thanks Received 
    102
    Thanked in
    87 Posts

    Default

    this is a dump
    Attached Files Attached Files

  15. The Following User Says Thank You to eprst For This Useful Post:

    hbalazs (17th July, 2017)

  16. #12
    DK Veteran

    Join Date
    Dec 2009
    Posts
    2,204
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    879
    Thanked in
    532 Posts

    Default

    Contains of your V850 dump is the same as from the update files

  17. #13
    DK Veteran
    eprst's Avatar
    Join Date
    Jul 2011
    Location
    Russia
    Posts
    996
    Thanks Thanks Given 
    267
    Thanks Thanks Received 
    102
    Thanked in
    87 Posts

    Default

    Yes, i see, but it doesn't work that way
    Probably, these files should be paste together another way

  18. #14
    Newbie
    Join Date
    Dec 2009
    Posts
    8
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    Hi.


    I've the same problem, I select the flash 1, choosing WE - W12/ we0_n Low and flash 1 program correctly, but when I try to program the flash 2, selecting WE - Y17/ we0_n Low, then I get this error message indicating that the flash is not CFI compliant. I see that you finally did it work, can you indicate me what I'm doing wrong, please?

    Thanks in advance.

  19. #15
    Newbie
    Join Date
    Sep 2016
    Posts
    14
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    2
    Thanked in
    1 Post

    Default

    Quote Originally Posted by eprst View Post
    Hello,

    V850 chip is need to be programmed with the file D1_OS81050_FW_V01_10_07_CS_V02_01_11.ipf (attached)
    from the firmware disk, but unfortunatelly i don't know how to do it.
    Besides there are 2 files(attached): 'V850bolo' and 'V850app'. Does anybody know how to paste together these files?

    Thanks in advance.
    Best Regards
    Old topic but .. i've compared your dump with the one from the firmware.
    If i'm right the dump is from 8R0906961DQ (HNav_EU_K0257_6_D1) but it appears that after the V850bolo.bin there are something missing in your dump.
    If you compare with V850app.bin you will see that in the dump the addresses from 0x00000000 till 0x000000bf (in the V850app.bin) are missing from your dump but they are in the V850app.bin

    Could you share what tool did you used to read the V850 chip
    Last edited by congobg; 4th October, 2016 at 01:15 PM.

 

 
Page 1 of 6 123456 LastLast

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.