Software for writing (programming) and reading a QSPI flash (MT25QU128ABA8ESF-0SIT) using a USB FTDI development module (UMFT4222EV), which has FT4222H.
Computer software is required to communicate with the UMFT4222EV through a USB connection. With a board that connects UMFT4222EV to MT25QU128ABA8ESF-0SIT, one can then communicate with the MT25QU128ABA8ESF-0SIT through the USB connection. This repository provides the software required for commuicating with the UMFT4222EV, which then communicates with MT25QU128ABA8ESF-0SIT through the QSPI interface.
Download the Mac OSX FT4222H library, which can be found at https://www.ftdichip.com/Products/ICs/FT4222H.html. Move relevent files to appropriate folders
mkdir downloads; cd downloads
wget https://www.ftdichip.com/Support/SoftwareExamples/LibFT4222-mac-v1.4.2.184.zip
unzip LibFT4222-mac-v1.4.2.184.zip
hdiutil attach libft4222.1.4.2.184.dmg
cd ../
mkdir lib
cp /Volumes/ft422/libft4222.1.4.2.184.dylib lib
mkdir include #if not already there
cp /Volumes/ft422/*.h include
hdiutil detach /Volumes/ft422
cd downloads
wget -O boost_1_66_0.tar.gz https://sourceforge.net/projects/boost/files/boost/1.66.0/boost_1_66_0.tar.gz/download
tar -xvf boost_1_66_0.tar.gz
cd boost_1_66_0
./bootstrap.sh --prefix=$(pwd)/../../boost-1.66.0
./b2
./b2 install
export DYLD_LIBRARY_PATH=$PWD/lib/:$PWD/boost-1.66.0/lib${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}}
make
Below is a list of the software
-
FT4222H status checker: readFt4222Status
-
MT25QU128ABA8ESF status checker: readMt25StatusChecker
-
MT25QU128ABA8ESF writer : mt25Writer
-
MT25QU128ABA8ESF reader : mt25Reader
-
MT25QU128ABA8ESF write and read test : mt25Tester