本帖最后由 yike_114 于 2013-11-21 17:58 编辑
FLASH_Unlock();
while(FLASH->SR & FLASH_FLAG_BSY);
FLASH_OB_Unlock();
while(FLASH->SR & FLASH_FLAG_BSY);
FLASH_OB_BOOTConfig(OB_BOOT1_RESET);
while(FLASH->SR & FLASH_FLAG_BSY);
FLASH_OB_RDPConfig(OB_RDP_Level_1);
while(FLASH->SR & FLASH_FLAG_BSY);
// FLASH_OB_Launch();
// while(FLASH->SR & FLASH_FLAG_BSY);
FLASH_OB_Lock();
while(FLASH->SR & FLASH_FLAG_BSY);
FLASH_Lock();
读保护不起作用 一旦加了这两句
// FLASH_OB_Launch();
// while(FLASH->SR & FLASH_FLAG_BSY);
片子就再也链接不上ulink 程序不运行 求帮助 |