最近打算开发一个基于我司测试板的ADuCM320i I2C Bootloader的GUI,但是在学习AN-806(Rev.D)应用笔记的时候遇到了一些问题,希望各位不吝赐教。
Table 6. 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.
Q1:那个第1个步骤里面的数据0x8000 0000(Table 6中的Data 2-Data5)是什么意思?地址吗?但是在UG-868的Figure 3又提到0x6000 0000-0x9fff ffff区域 not available in ADuCM320i,这两者说的是同一地址吗?
Q2:在AN-806 Table 6中Data 6- Data9的内容是什么?没能理解笔记中写的0x..7FC, 0x..7FCD, 0x..7FCE, 0x..7FCF.
Q3:该MCU的自带BootLoader没有dump code命令,如果我要在BootLoader模式下读取flash的内容该如何操作?该BootLoader也没有关于APP version的信息,它在什么地方记录了APP version呢?我怎么样能够获得当前的APP version,从而来判断我的APP需不需要更新呢?