看看6205擦除39vf040的程序,有什么问题 #define BOOTFLASH 0x1400000
*(Uint8 *)((BOOTFLASH) + 0x5555) = 0xAA; *(Uint8 *)((BOOTFLASH) + 0x2AAA) = 0x55; *(Uint8 *)((BOOTFLASH) + 0x5555) = 0x80; *(Uint8 *)((BOOTFLASH) + 0x5555) = 0xAA; *(Uint8 *)((BOOTFLASH) + 0x2AAA) = 0x55; *(Uint8 *)((BOOTFLASH) + 0x2AAA) = 0x10; delay();
居然擦除不掉,怎么回事? |