3.5.1.12 QSPI/ECSPI
The SCM188 with SCB184 supports 1 QSPI and 1 ECSPI external connector. User can
connect spi device and porting customize configuration.
QSPI
Please follow below commands to execute QSPI/ECSPI device (using SPI NOR flash for
example)
⚫
To display the SPI NOR flash information, execute the below command.
sh-5.1#
cat /proc/mtd
⚫
To mount the SPI NOR flash partitions, execute the below command.
sh-5.1#
flash_erase -jq /dev/mtd0 0 0
sh-5.1#
mkdir /<mount_directory>
sh-5.1#
mount -t jffs2 /dev/mtdblock0 /<mount_directory>
⚫
To view the files and folders in mounted partitions, execute the below command.
sh-5.1#
cd /<mount_directory>
sh-5.1#
ls
⚫
To create a directory and remove a directory in mounted partition, execute the below
commands respectively.
sh-5.1#
mkdir <directory_name>
sh-5.1#
rm -rf <target_directory>
⚫
To copy a file to the mounted partition, execute the below command.
sh-5.1#
cp <soruce_file> <Destination>
⚫
To exit from the mount partitions and to unmount, execute the below command.
sh-5.1#
cd /root
sh-5.1#
umount <Mount Directory>
SCM188 BSP User Guide
SCM188 NXP i.MX 8M Plus ARM-based SMARC Module
ECSPI
37
Need help?
Do you have a question about the SCM188 and is the answer not in the manual?
Questions and answers