您好:
板子是TC389,函数FlsLoader_Erase的解释:
FlsLoader_ReturnType FlsLoader_Erase(const FlsLoader_AddressType TargetAddress, const FlsLoader_LengthType Length);
其中 Length: Number of Flash (PFlash or DFlash) sectors to be erased.
Note: Number of sectors should lie within single Flash bank. Erase opera
tion across the Flash banks is not supported. TargetAddress: Target address in Flash memory. It should be aligned to the following sector sizes of the selected Flash for erase.
PFlash: 16 Kbyte
DFlash: 4 Kbyte
我做了使用该接口擦除UCB的测试,擦除地址是0xaf400200,长度是1个sector,但是只擦除了1个UCB 512字节的内容,并不是8个UCB 4Kbyte的长度,想询问下这种情况是正常的吗,如果我要擦除配置HSM启动的这个UCB(0xaf402804, 0xaf402818这个UCB)的话,是不是也是可以用这个接口呢,会将前后的UCB一起擦除吗?