已回答假定已回答

ADuCm320i I2C下载程序

Caozhengou 在 2017-3-29 詢問的問題
最後回覆由EmmaChen於2017-4-12提供

我打算自己做一个M320i的程序更新软件,但是在VERIFY命令的那一段不是很理解,AN-806上面说的是需要两个步骤,如下:

For Cortex-M3 devices, the verify command is a two-step
sequence for each page to be verified, as follows:
1. Send the 0x80000000 value in the value field and the last
four bytes of the page in the data bytes field.
2. Send the page address in the value field and the result of
the SIGN command of the page in the data bytes field.
After receiving these two packets, the loader checks whether the
value received in Step 1 is correct and then obtains the SIGN value
for the page and compares it to the value from Step 2. If both values
are correct, an ACK is subsequently returned. An error in either
value results in a BEL. For details on the SIGN command, see the
appropriate device data sheet or hardware reference manual.

那个第二个步骤里面的数据FRAME该怎么组成呢?可不可以有个实例参考?

結果