const?uint32_t?addr_data[200]?__attribute__((at(0x00070000)))?= { ????0, }; uint8_t?data_s[200]?=?{0x04,}; EEPROM_ERASE(0x00070000,?(uint32_t)200); EEPROM_WRITE(0x00070000,(uint32_t?*)data_s,?(uint32_t)200); PRINT("ad?get?da?end\n"); PRINT("addr_data:\n"); for(uint8_t?p?=?0;p?<?200;?p++){ ??????????PRINT("%x??",addr_data[p]); } PRINT("addr_end\n");
為啥我已經(jīng)擦除了起始地址
0x00070000
到之后長(zhǎng)度200的范圍數(shù)據(jù),并且調(diào)用
EEPROM_WRITE
來寫數(shù)據(jù)進(jìn)flash,但數(shù)據(jù)沒有成功燒錄進(jìn)去,打印出來全是0;這是為啥?我的芯片型號(hào)是CH585M