This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] 如何使用 Uniflash 将多个映像烧写到器件?

Other Parts Discussed in Thread: UNIFLASH

问:如何使用 Uniflash 将多个映像烧写到器件?

  • 答:Uniflash 提供了四个 MetaImage 字段,以从 PC 中选择文件,然后以每 512KB 偏移(从零偏移开始)刷写到与毫米波传感器连接的 sFlash 芯片。因此,第一个文件 (MetaImage1) 进入 sFlash 芯片的顶部位置,下一个文件进入 sFlash 的 512KB 位置。

    在功能模式下,器件的引导加载程序始终从任何有效 MetaImage 的 sFlash 零偏移处开始,如果在最后一个偏移位置找不到有效映像,则跳转到 512KB 偏移。引导加载程序读取并验证 MetaImage 头内容,以了解映像的有效性并在最后一个映像加载块执行 CRC 校验。

    如果用户需要使用 SBL(二次引导加载程序),则必须在 sFlash(Uniflash 的 metaImage1)的零偏移处进行烧写,其中 SBL 可以在编程的偏移位置查找应用映像。