Migrating from PSOC5 to PSOC6, with emFile -- possible alternative

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

cross mob
Level 5
Level 5
First comment on blog 100 replies posted 50 replies posted

If you wish to use and SDCard with PSOC6, take a look at the following link:  http://elm-chan.org/fsw/ff/00index_e.html

We are successfully using this code.  If an error occurs, you can handle there in the code, rather than having to patch into an exception vector.

This code can also be used in other ways, say and EMMC via direct memory or SPI or other interface.

This is fully open source, and can be used freely, the license is as follows:


/ FatFs - Generic FAT Filesystem Module Rx.xx /



/ Copyright (C) 20xx, ChaN, all right reserved.


/ FatFs module is an open source software. Redistribution and use of FatFs in

/ source and binary forms, with or without modification, are permitted provided

/ that the following condition is met:


/ 1. Redistributions of source code must retain the above copyright notice,

/ this condition and the following disclaimer.


/ This software is provided by the copyright holder and contributors "AS IS"

/ and any warranties related to this software are DISCLAIMED.

/ The copyright owner or contributors be NOT LIABLE for any damages caused

/ by use of this software.


Also take a look at PSOC5 and SDCARD, warning  regarding pins close together on PSOC 5 (may not be an issue on PSOC6).

1 Reply
250 solutions authored 250 sign-ins 5 comments on KBA

We already provide a code example that uses the FatFS with SD card. Please refer to:

GitHub - cypresssemiconductorco/mtb-example-psoc6-usb-msc-file-system: This example demonstrates how...