PSOC6 FATFAS On NorFlash of S25FL512SAGMFI011 in CY8CKIT-062-BLE?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
David_Zhang
Level 5
Level 5
Distributor - Arrow(GC)
First like received 50 sign-ins 25 sign-ins

Dear Cypress:

   as we know ,we can use the FATFAS on SDCard,   if we want to use NorFlash with fatfas,  How to do it ?

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Adding to ShipingW_81​, you could implement FatFS on NOR Flash but it is not recommended. Reasons being that, you need to erase the memory each time before writing. Based on the type of NOR Flash used, you will need to erase hundreds to kilobytes every time you write.

So simply adding an empty file in the file system will require you to re-write a huge portion of the file system itself, not only the entry for the new file.

However, if you plan to have a read-only file-system then it should be fine. But we don't have any reference examples on this.

Regards,

Dheeraj

View solution in original post

2 Replies
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

We only have FatFs demo on MicroSD card, and I don't see any application on Nor flash devices by now.

0 Likes
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Adding to ShipingW_81​, you could implement FatFS on NOR Flash but it is not recommended. Reasons being that, you need to erase the memory each time before writing. Based on the type of NOR Flash used, you will need to erase hundreds to kilobytes every time you write.

So simply adding an empty file in the file system will require you to re-write a huge portion of the file system itself, not only the entry for the new file.

However, if you plan to have a read-only file-system then it should be fine. But we don't have any reference examples on this.

Regards,

Dheeraj