How to find the sector number of each flash block in S32K3 family

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

How to find the sector number of each flash block in S32K3 family

How to find the sector number of each flash block in S32K3 family

Hi,

   Firstly, you should get the flash block size of your S32K3xx. Table in RM could be the reference.

OliverTian_0-1641979572873.png

   Secondly, you should know that there are super sector and sector in S32K3xx.

 

Sector                    Subdivision of the Flash Block that is independently erasable. Sector Size is always 8 KB.
Super sector          Subdivision of the flash block that includes a group of sectors. Super Sector Size is always 64 KB, and consists of 8 sectors.

   Thirdly, based on the information of PFCBLKx_SSPELOCK in RM, you can calculate the numbers of super sector and sector in each flash block.

 OliverTian_2-1641979572947.png

For example in S32K312, it has 2MB flash totally and each block is 1MB. So, in each 1MB, its first 768KB is with super sector granularity. The numbers of super sector is 768/64=12; the followed sector number is 256/8=32.

Cheers!

Oliver

評価なし
バージョン履歴
最終更新日:
‎01-12-2022 02:30 AM
更新者: