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.

关于函数BLInternalFlashStartAddrCheck()的问题



1、ui32FlashSize = ((HWREG(SYSCTL_DC0) & SYSCTL_DC0_FLASHSZ_M) + 1) << 11; //看了Datasheet没弄明白,后面的加1,然后整体左移11位表示什么?/

2、

((

#ifdef ENABLE_BL_UPDATE
(ui32Addr != 0) &&
#endif
#ifdef FLASH_RSVD_SPACE
(ui32Addr != (ui32FlashSize - FLASH_RSVD_SPACE)) &&
#endif
(ui32Addr != APP_START_ADDRESS)) ||
((ui32Addr + ui32ImgSize) > ui32FlashSize) || ((ui32Addr & 3) != 0))   // 后面的(ui32Addr & 3)!=0,怎样解释?

请帮忙分析分析,谢谢!