Flash Mass Erase 9s12X

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flash Mass Erase 9s12X

1,358 次查看
micromo
Contributor I
I am using the 9s12X512
 
Question is regrading using the Flash mass erase command
 
I noticed in the docs it does divid the Flash in to BLOCKS, but where do the BLOCkS
begin. for example
 
Block 0
780000 - 79FFFF
Block 1
7A0000 - 7BFFFF
Block 2
7C0000- 7DFFFF
Block 3
7E0000- 7FFFFF
 
using PAGING to MASS erase BLOCK 0  I would use PPAGE = F8
and point to address 0x8000 and it will earse the whole BLOCK ?
 
Thank you in advance for any help
 
 
标签 (1)
0 项奖励
回复
1 回复

421 次查看
kef
Specialist I


micromo wrote:
I am using the 9s12X512
 
Question is regrading using the Flash mass erase command
 
I noticed in the docs it does divid the Flash in to BLOCKS, but where do the BLOCkS
begin. for example
 
Block 0
780000 - 79FFFF
Block 1
7A0000 - 7BFFFF
Block 2
7C0000- 7DFFFF
Block 3
7E0000- 7FFFFF
 
That's right.
 
using PAGING to MASS erase BLOCK 0  I would use PPAGE = F8
and point to address 0x8000 and it will earse the whole BLOCK ?
 
No, you should use PPAGE = $E0 and point to $8000
 
Thank you in advance for any help
 
 



0 项奖励
回复