No connection to Cypress Cortex R4 Family MB9DF126

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • No connection to Cypress Cortex R4 Family MB9DF126

    Good morning to all and thank you for possibility to ask question here.

    First of all, I am total beginner and I have no knowledge or ARM or Segger J-Link

    now about a problem:

    I have Automotive PCB which contains MB9DF126 as main Logic board after some research I find out that only SEGGER J-Link programmer is able read this device MB9DF126 for this reason I purchased one. Even I had no experience with...

    I did back-engineering of JTAG pins and created as picture below.
    ibb.co/KGM8h0Q


    I powered this Automotive PCB by normal connector and I saw CAN 500 kbps (on my scope )for car network this mean this PCB was working OK.

    After I connected JTAG probe with SEGGER J-link Pro and I used program J-Flash and successfully connected to device. TAB Target ->Connect


    after I download complete Data from MB9DF12

    ibb.co/2nVVHTq




    Which was 8192KB – I try few times verify this data when PCB was run and always verifying process pass.

    SAMPLE OF SAVED DATA
    OBC 3 failure data Entire flash chip.zip



    After I decided try rewrite this data back to MB9DF126 to confirm than I will able transfer data across variation of PCBs for future. Just make clone of PCB if need to be.
    But there was error when write and now my PCB is dead no CAN 500kbps anymore and looks like it my MB9DF126 is erased.

    LOG attached :log when fail.txt


    Please expert can you help me to some have my PCB back to life ?
    And help me to understand how is possible Read / Write this MB9DF126

    Thank you very much V.

    The post was edited 2 times, last by urgiv ().

  • Good morning all


    I progress a little ;)
    but hint from you guys or any experience in this chip MB9DF128 will be successful please

    I can manually read or write sectors 0-1-3-4-5-6-7 8-15 no problem
    as TCFlash data table
    0x0100_0000 - 0x011F_FFFF 8 * 256 KB
    Gap
    0x017E_0000 - 0x017F_FFFF 8 * 16 KB


    but no sector 2 I have always this error

    log for sector 2 .txt



    0x01000000 - 0x0103FFFF Sector 0 256KB OK
    0x01040000 - 0x0107FFFF Sector 1 256KB OK
    0x01080000 - 0x010BFFFF Sector 2 256KB NOK
    0x010C0000 - 0x010FFFFF Sector 3 256KB OK
    0x01100000 - 0x0113FFFF Sector 4 256KB OK
    0x01140000 - 0x0117FFFF Sector 5 256KB OK
    0x01180000 - 0x011BFFFF Sector 6 256KB OK
    0x011C0000 - 0x011FFFFF Sector 7 256KB OK

    0x017E0000 - 0x017FFFFFSector 8-15 128KB total OK





    Any ideas please - is a memory damaged in sector 2 and MB9DF128 need to be changed?

    Or there exist any trick to erase by CMD?


    regards V.

    The post was edited 2 times, last by urgiv ().

  • Hi Segger

    I purchased your device J-Link Pro due to you web claimed you can do read/write MB9DF126

    I try 2 independent automotive PCB and I been able read out data, but write back is different story

    Some sector I can some sector can-not and TC Flash is unlocked

    Looks like your probe J-Link Pro is killing me ARM 64 - MB9DF126 due to when I try write few times JTAG is no more accessible afterward





    and yesterday I been able retrieve all data from this device as address table of TCFlash below and now I cant even connect ....
    and always have :
    - ERROR: Cortex-A/R (connect): Could not determine address of core debug registers. Incorrect CoreSight ROM table in device?
    - ERROR: Failed to connect.



    0x0100_0000 - 0x011F_FFFF 8 * 256 KB
    Gap
    0x017E_0000 - 0x017F_FFFF 8 * 16 KB




    Measured oscillator on PCB OK 16 MHz this means CPU shut be working



    Anyone any ideas please or hint to help me try resolve this issue - Thank you community ;)

    The post was edited 6 times, last by urgiv ().

  • So .... THANK YOU ALL for your help

    Today arrived new Fujitsu MB9DF126 after replacement (little bit desoldering and soldering ) writing working back in all sectors.

    F~I~N~A~L~L~Y

    The post was edited 3 times, last by urgiv ().

  • To Segger support

    I believe I find BUG in your programmer

    In my processor Fujitsu MB9DF126 I have selected 8 sectors as data table:
    0x01000000 - 0x0103FFFF Sector 0 256KB
    0x01040000 - 0x0107FFFF Sector 1 256KB
    0x01080000 - 0x010BFFFF Sector 2 256KB
    0x010C0000 - 0x010FFFFF Sector 3 256KB
    0x01100000 - 0x0113FFFF Sector 4 256KB
    0x01140000 - 0x0117FFFF Sector 5 256KB
    0x01180000 - 0x011BFFFF Sector 6 256KB
    0x011C0000 - 0x011FFFFF Sector 7 256KB

    I have data only on :

    Sector 0-1-2 rest if all empty FF

    When I try erase selected sectors by F3 and programmer erase only Sector 0 instead of all 8


    LOG :
    - Connecting ...
    - Connected successfully
    - 2097152 bytes, 1 range, 0x1000000 - 0x11FFFFF
    - Checking if selected data fits into selected flash sectors.
    - Start of preparing flash programming
    - End of preparing flash programming
    - Start of determining dirty areas in flash cache
    - End of determining dirty areas
    - CPU speed could not be measured.
    - Start of verifying flash
    - End of verifying flash
    - Start of restoring
    - End of restoring
    - Target verified successfully - Completed after 7.874 sec
    Programming and verifying target (2097152 bytes, 1 range) ...
    - Checking if selected data fits into selected flash sectors.
    - Start of preparing flash programming
    - End of preparing flash programming
    - Start of determining dirty areas in flash cache
    - End of determining dirty areas
    - CPU speed could not be measured.
    - Start of flash programming
    - Programming range 0x01000000 - 0x0103FFFF ( 1 Sector, 256 KB)
    - Programming range 0x01040000 - 0x0107FFFF ( 1 Sector, 256 KB)
    - Programming range 0x01080000 - 0x010BFFFF ( 1 Sector, 256 KB)
    - Programming range 0x010C0000 - 0x010FFFFF ( 1 Sector, 256 KB)
    - Programming range 0x01100000 - 0x0113FFFF ( 1 Sector, 256 KB)
    - Programming range 0x01140000 - 0x0117FFFF ( 1 Sector, 256 KB)
    - Programming range 0x01180000 - 0x011BFFFF ( 1 Sector, 256 KB)
    - Programming range 0x011C0000 - 0x011FFFFF ( 1 Sector, 256 KB)
    - End of flash programming
    - Flash programming performed for 1 range (2097152 bytes)
    - 0x1000000 - 0x11FFFFF ( 8 Sectors, 2048 KB)
    - Start of verifying flash
    - End of verifying flash
    - Start of restoring
    - End of restoring
    - Target programmed and verified successfully - Completed after 11.131 sec
    Erasing selected sectors ...
    - 8 of 16 sectors selected, 1 range, 0x1000000 - 0x11FFFFF
    - Start of preparing flash programming
    - End of preparing flash programming
    - Start of determining dirty areas in flash cache
    - End of determining dirty areas
    - CPU speed could not be measured.
    - Start of erasing sectors
    - Blank checking 0x01000000 - 0x0101FFFF
    - Erasing range 0x01000000 - 0x0103FFFF ( 1 Sector, 256 KB)
    - Blank checking 0x01040000 - 0x0105FFFF
    - Erasing range 0x01040000 - 0x0107FFFF ( 1 Sector, 256 KB)
    - Blank checking 0x01080000 - 0x0109FFFF
    - Erasing range 0x01080000 - 0x010BFFFF ( 1 Sector, 256 KB)
    - Blank checking 0x010C0000 - 0x010DFFFF
    - Erasing range 0x010C0000 - 0x010FFFFF ( 1 Sector, 256 KB)
    - Blank checking 0x01100000 - 0x0111FFFF
    - Erasing range 0x01100000 - 0x0113FFFF ( 1 Sector, 256 KB)
    - Blank checking 0x01140000 - 0x0115FFFF
    - Erasing range 0x01140000 - 0x0117FFFF ( 1 Sector, 256 KB)
    - Blank checking 0x01180000 - 0x0119FFFF
    - Erasing range 0x01180000 - 0x011BFFFF ( 1 Sector, 256 KB)
    - Blank checking 0x011C0000 - 0x011DFFFF
    - Erasing range 0x011C0000 - 0x011FFFFF ( 1 Sector, 256 KB)
    - End of erasing sectors
    - Start of restoring
    - End of restoring
    - Erase operation completed successfully - Completed after 0.108 sec
    Blank checking target ...
    - 8 of 16 sectors selected, 1 range, 0x1000000 - 0x11FFFFF
    - Start of preparing flash programming
    - End of preparing flash programming
    - Blank checking 0x01000000 - 0x0101FFFF
    - Blank checking 0x01020000 - 0x0103FFFF
    - Blank checking 0x01040000 - 0x0105FFFF
    - ERROR: Blank check failed @ addr 0x01040000 (Read: 0xE51FF004, Expected: 0xFFFFFFFF) <- beginning of Sector 1
    - Start of restoring
    - End of restoring
    - ERROR: Failed to check blank target

    Disconnecting ...
    - Disconnected


    What I did I press "Erase Sectors F3" 2 more times and every time programmer was able erase further Sectors down
    after this was empty and confirmed by "Check blank by F2" OK
    after I been able drag and drop my data Sectors 0-7 and successfully write all selected Sectors on one time
  • Hello,

    Sorry for the delay in response.
    Thank you for your inquiry.

    Could you please create a ticket for this issue:
    segger.com/support/technical-support/

    The ticket should contain the following information:
    • Serial number of your J-Link
    • Used Hardware
    • Software Version used
    • Description of the current state of this issue
    Once the issue is resolved, we will update the ticket accordingly.

    Best regards,
    Simon
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.