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.

6657 spi加载



请问在SPI往NOR flash烧写,进行到把生成的.dat文件往0x80000000"load memory",然后首地址填0x80000000,请问字符长度填多少?

  • 打开.dat文件, 第一行信息里的最后一个参数是dat文件的数据长度。下面是dat文件第一行信息的解释。

    The header information for data files uses this syntax:

    MagicNumber  Format StartingAddress PageNum Length
     
    • MagicNumber—fixed at 1651.

    • Format—a number from 1 to 4, indicating the format of the samples in the file.
      This number represents a data format: (1) hexadecimal, (2) integer, (3) long, or (4) float.

    • StartingAddress—starting address of the block that was saved.

    • PageNum—page number the block was taken from.