MPC5748G: Flash erase c55 one page

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

MPC5748G: Flash erase c55 one page

1,031件の閲覧回数
kfirbs
Contributor III

Hi,

I have an MPC5748G device, and I would like to understand what is the minimum size that can be erased from the flash.

Let's say I work on section located in 0x1000000 size of 256KB Code Flash block0, and would like to delete part of it, e.g. 1024B, and keep the rest of the section intact.

How can I achieve this?

0 件の賞賛
返信
3 返答(返信)

862件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

the smallest entity you can erase is a block. You can't erase only part of block.

There are different sizes of blocks - from 16K to 256K. If you need to rewrite some data in flash, I would recommend to use rather small blocks if possible.

Regards,

Lukas

862件の閲覧回数
kfirbs
Contributor III

Hi Lukas,

Thanks very much for the answer.

If so, I understand that if I would like to rewrite a 256KB block I would need to read it to an outside source

or have a free 256KB section to copy the code to.

0 件の賞賛
返信

862件の閲覧回数
kfirbs
Contributor III

Can someone please reply?

0 件の賞賛
返信