C90TFS Command Address Alignments

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

C90TFS Command Address Alignments

509 Views
jasonphilippi
Contributor III

Hello,

 

I am currently working on setting up a FRDM-K64F and later a custom K24 board to use the C90TFS flash driver.

(MK64FN1Mxxx12 and MK24FN1M0xxx12)

 

I didn't see a flash derivative that matched the board, so I started working on my own.

 

I based mine, FTFx_KX_1024K_0K_0K_4K_0K.h, off of FTFx_KX_(512_256_128)K_0K_0K_2K_0K.h.

 

Where in the manual can I get the information on the command address alignments?

ie. PERSBLK_ALIGN_SIZE, PERSSEC_ALIGN_SIZE, PRD1BLK_ALIGN_SIZE, etc.

 

I guess while I am at it, where can I find the Program Unit Size?

 

 

Thank you,

Jason P

Original Attachment has been moved to: FTFx_KX_1024K_0K_0K_4K_0K.h.zip

Labels (1)
0 Kudos
2 Replies

375 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Jason P,

These information you can find in the related reference manual, for example k64fn1m0vll12 chip :

- erase one sector , the sector size if 4k :

pastedImage_0.png

-  program once size : 8byte

pastedImage_1.png

- the block size is 512KB :

pastedImage_2.png

pastedImage_3.png

About the k24 chip , you can also find these information in the RM.

Hope it helps

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

Have a great day,
Alice

0 Kudos

375 Views
jasonphilippi
Contributor III

Alice,

That is fine for the information I have already found.

I was looking more for something like this. I did not see this before. I hope this is correct.

Erase Flash Block Align.PNG

#define PERSBLK_ALIGN_SIZE      FTFx_DPHRASE_SIZE

Erase Flash Sector Align.PNG

#define PERSSEC_ALIGN_SIZE      FTFx_DPHRASE_SIZE

Read 1s Block Align.PNG

#define PRD1BLK_ALIGN_SIZE      FTFx_DPHRASE_SIZE

Read 1s Section Align.PNG

#define PRD1SEC_ALIGN_SIZE      FTFx_DPHRASE_SIZE

program check align.PNG

#define PGMCHK_ALIGN_SIZE       FTFx_LONGWORD_SIZE

read resource align.PNG

#define RDRSRC_ALIGN_SIZE       FTFx_PHRASE_SIZE

#define SWAP_ALIGN_SIZE         FTFx_DPHRASE_SIZE

Regards,

Jason P

0 Kudos