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
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