Kinetis KX0 - get program flash sector size

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Kinetis KX0 - get program flash sector size

709 Views
abi01
Contributor I

Hello,

I would like to know hot to get information about program flash sector size from the uC?

Is it true that bits 8:7 of the SIM_SDID register reflects the sector size?

 

Thanks for the answer and bets regards.

0 Kudos
2 Replies

456 Views
ignisuti
Contributor IV

Robert,

Any luck?


I have the same question.

0 Kudos

456 Views
abi01
Contributor I

To the best of my knowledge, you can't get sector size directly. But any Kinetis family member working on frequency 120/150MHz uses phrase (64 bits) programming  - sector size is 4KB. Kinetis devices running on 100MHz or less uses longword (32 bits) programming - sector size is 2KB. So the max. frequency of operations gives indirect information about sector size.

0 Kudos