[CLOSED] Using external flash (Spansion S29GL128) on Spansion MB9DF120 board (MB9DF126 chip)

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

  • [CLOSED] Using external flash (Spansion S29GL128) on Spansion MB9DF120 board (MB9DF126 chip)

    Hi,

    I successfully flashed the internal memory the MB9DF126 chip, using the MB9DF126 JLinkScript from JLinkARM_V480f.
    I am now trying to configure JFlash to flash the external memory, and get "Could not find CFI compliant flash device" error.
    I added a new flash bank with base address = 10000000 and 16bits organization, and then I configured the EBI registers as follows:
    InitStep0_Action = "Reset"
    InitStep0_Comment = "Reset and halt target"
    InitStep0_Value0 = 0x00000000
    InitStep0_Value1 = 0x00000000
    InitStep1_Action = "Write 32bit"
    InitStep1_Comment = "Unlock EBI registers"
    InitStep1_Value0 = 0xB0180000
    InitStep1_Value1 = 0xEB1410CE
    InitStep2_Action = "Delay"
    InitStep2_Comment = "Wait for EBI register unlock"
    InitStep2_Value0 = 0x00000000
    InitStep2_Value1 = 0x00000019
    InitStep3_Action = "Write 32bit"
    InitStep3_Comment = "Configure Flash mode control register"
    InitStep3_Value0 = 0xB0180008
    InitStep3_Value1 = 0x00000009
    InitStep4_Action = "Write 32bit"
    InitStep4_Comment = "Configure Flash access configuration register"
    InitStep4_Value0 = 0xB0180028
    InitStep4_Value1 = 0x005F0706
    InitStep5_Action = "Write 32bit"
    InitStep5_Comment = "Configure Flash address configuration register"
    InitStep5_Value0 = 0xB0180048
    InitStep5_Value1 = 0x000F0000
    InitStep6_Action = "Write 32bit"
    InitStep6_Comment = "Lock EBI registers"
    InitStep6_Value0 = 0xB0180000
    InitStep6_Value1 = 0x00000009

    From what I read on the forum, this error is likely due to a missing init sequence.
    Did any of you already walked that path; do you have hints about what is missing in the sequence?

    Thanks in advance,
    Pierre
  • Hi,

    It seems the easy way to proceed is to use FSW from Spansion (Fujitsu SoC Wizard) with J-Link.
    It allows programming both internal and external memories using a command line interface which is very straightforward to set-up.

    Pierre
  • Hi,

    I am sorry that you are experiencing problems with your computer.
    However, this is Forum is not the right place to seek for help regarding this issue.

    I would recommend to open a thread in a forum which dedicates itself to this kind of issues, like

    reddit.com/r/techsupport/
    superuser.com/
    linustechtips.com/main/

    Best regards,
    Niklas
    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.