果真是这样啊!真强!
我找到中间这么一段代码
/*Add 'FILL 0x18 0xA7' command following FLASH memory space allocation to implement a TRAP interrupt service routine
opcode in the unprogrammed memory locations. Example -> PAGE_XX = READ_ONLY 0x3X8000 TO 0x3XBFFF FILL 0x18 0xA7;*/
/* unbanked FLASH ROM */
ROM_4000 = READ_ONLY 0x4000 TO 0x7FFF; /* 16K */
ROM_C000 = READ_ONLY 0xC000 TO 0xF3FF; /* ~13K */
SECURITY = READ_ONLY 0xFF00 TO 0xFF0F;
ROM_FF10 = READ_ONLY 0xFF10 TO 0xFF7F;
PAGE_3C = READ_ONLY 0x3C8000 TO 0x3CBFFF;
PAGE_3D = READ_ONLY 0x3D8000 TO 0x3DBFFF;
是不是说这部分ROM只读啊?所以才不能写??那要如何改写呢?
强烈期待老大帮助啊?