cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 6

David_Zhang
New Contributor II

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

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

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

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

Top labels