Flash Mass Erase 9s12X

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flash Mass Erase 9s12X

1,636件の閲覧回数
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 返信

699件の閲覧回数
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 件の賞賛
返信