KL720 initialize Flash failed

Hi,

I used example "spi_master" and would load model from Flash to do inference.

And, when calling kdev_flash_initialize function, it occurred reading flash data failed, as the below


Load SCPU from flash image0: 0x00040000

LOG_ERROR: kdev_flash_read_BBM block 1023 reports status fail 0x1

LOG_ERROR: kdev_flash_read_BBM block 1022 reports status fail 0x1

========Magic number is 0xaaaaaaaaaaaaaaaa========

==boot from External Flash==

LOG_CRITICAL: ECC ERROR and CAN'T be CORRECTTED!

PLEASE ERASE and REPROGRAM FLASH to recover this critical issue!! address 0x260000 0x1

LOG_CRITICAL: ECC ERROR and CAN'T be CORRECTTED!

PLEASE ERASE and REPROGRAM FLASH to recover this critical issue!! address 0x4A0000 0x1

LOG_CRITICAL: ECC ERROR and CAN'T be CORRECTTED!

PLEASE ERASE and REPROGRAM FLASH to recover this critical issue!! address 0x260000 0x1

LOG_CRITICAL: ECC ERROR and CAN'T be CORRECTTED!

PLEASE ERASE and REPROGRAM FLASH to recover this critical issue!! address 0x4A0000 0x1


But, I loaded F/W of the example "solution_kdp2" to SCPU and no such kind of error occurred.

Does there exist some setting for memory configuration of project?


Thanks!

Comments

  • Hi Jack,

    Are you using the examples in the example_xxx folders (e.g. example_kdrv and example_sbt) in the firmware/build folder?

    If so, our examples can only use J-Link to load the firmware to DDR right now unless you modified them, since they're just examples. The solutions (in solution_xxx folders) can be loaded without errors.

The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.