Hi
I am using an MC9S08QE128. Looking at the memory map:
There is an 8064 byte flash block from 0x2080 to 0x3FFF.
If I want to erase a 512 byte block of flash, (I am using doonstack), must the block start at a page boundary such as 0x2100? The RAM space above this block in the memory map is 0x1880 to 0x207F. Can I erase from 0x2080 since this is not the start of a boundary or would I have to erase from 0x2000 ? (which may cause problems, since the ram extends to 0x207F)
thanks
Russell
解決済! 解決策の投稿を見る。
You can erase sector at 0x2080. This will erase whole 512bytes sector. You'll get erased nonbanked addresses 0x2080..0x21FF, also banked addresses PPAGE=0:0xA000 to PPAGE=0:0xA1FF.
You can erase sector at 0x2080. This will erase whole 512bytes sector. You'll get erased nonbanked addresses 0x2080..0x21FF, also banked addresses PPAGE=0:0xA000 to PPAGE=0:0xA1FF.
many thanks for the reply