| void Write_Flash(u32 *buff,u32 Addr,u16 Length,u32 Sector) {
 
 u16 i,len;
 u32 Adders;
 
 Adders=(u32)((u32 *)buff);
 FLASH_SectorErase(Sector);    //擦除内部Flash的FLASH_B1F0扇区
 
 intFLASH_BlockWrite(Adders,Addr,Length);//向内部FLASH的0x0C0000写一串数据
 }
 
 Write_Flash(buff_Ref,0x0C0000,39,FLASH_B1F0);
 |