bouffalolab / bl_iot_sdk

BL602/BL702 SDK. Any technical topic, please access the following link.
http://bbs.bouffalolab.com
Apache License 2.0
260 stars 170 forks source link

为什么bl602分区表的"FW",有两个地址? #77

Open FlyyingPiggy2020 opened 5 months ago

FlyyingPiggy2020 commented 5 months ago

我在查看ota的代码中here,我注意到activeIndex这个东西,它到底是干什么用的?

FlyyingPiggy2020 commented 5 months ago

另外我不太清楚boot2_partition_table这个变量是怎么对应到分区表的。

我猜测它应该是分区表,它这里写了在ld文件中被使用。

而ld文件是这样的。here

这样子就能关联起来了吗?我不理解。