1 Reply Latest reply on Oct 19, 2020 4:35 PM by RodolfoG_11

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

    WaMa_286156

      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).