Posted on May 17, 2011 at 15:05Oh,sorry, it still gives me the error after i revised the _fctcpy('E') to _fctcpy('b'); [ This message was edited by: cgha21 on 29-10-2009 09:34 ]
Posted on May 17, 2011 at 15:05I've tested mozra method,and now it do not give me error,but it can not step though the while((FLASH_IAPSR &0x04) ==0);//check write finish
Posted on May 17, 2011 at 15:05Thanks! I declared E2_RfID as @eeprom U8 E2_RfID[5]; Where can mozra find out i'm using the byte programming?Sorry,i'm just confused. Yeath,i've copy the programming code in ram using _fctcpy('E') in main initilize,and...
Posted on May 17, 2011 at 15:05hello,all I am using stlink3 and stvd with cosmic.Here is my code and setting. //以�写的方�写入ID #pragma section (EE_CODE) void SetRfID(void) { U8 i; FLASH_DUKR = 0xAE; FLASH_DUKR = 0x56; //while((FLASH_I...