HOME
  • GM-3568JHF
  • M4-R1
  • M5-R1
  • SC-3568HA
  • M-K1HSE
  • CF-NRS1
  • CF-CRA2
  • 1684XB-32T
  • 1684X-416T
  • C-3568BQ
  • C-3588LQ
  • GC-3568JBAF
  • C-K1BA
Shop
  • English
  • 简体中文
HOME
  • GM-3568JHF
  • M4-R1
  • M5-R1
  • SC-3568HA
  • M-K1HSE
  • CF-NRS1
  • CF-CRA2
  • 1684XB-32T
  • 1684X-416T
  • C-3568BQ
  • C-3588LQ
  • GC-3568JBAF
  • C-K1BA
Shop
  • English
  • 简体中文
  • GM-3568JHF

    • 1. Introduction

      • GM-3568JHF Introduction
    • 2. Quick Start

      • 01 Environment Construction
      • 02 Compilation Instructions
      • 03 Burning Guide
      • 04 Debugging Tools
      • 05 Software Update
      • 06 View information
      • 07 Test Command
      • 08 Application Compilation
      • 09 Source code acquisition
    • 3. Peripherals and Interfaces

      • USB
      • Display and touch
      • Ethernet
      • WIFI
      • Bluetooth
      • TF-Card
      • Audio
      • Serial Port
      • CAN
      • RTC
    • 4. Application Development

      • 01 UART read and write case
      • 02 Key detection case
      • 03 LED light flashing case
      • 04 MIPI screen detection case
      • 05 Read USB device information example
      • 06 FAN Detection Case
      • 07 FPGA FSPI Communication Case
      • 08 FPGA DMA read and write case
      • 09 GPS debugging case
      • 10 Ethernet Test Cases
      • 11 RS485 reading and writing examples
      • 12 FPGA IIC read and write examples
      • 13 PN532 NFC card reader case
      • 14 TF card reading and writing case
    • 5. QT Development

      • 01 ARM64 cross compiler environment construction
      • 02 QT program added automatic startup service
    • 6. Others

      • 01 Modification of the root directory file system
      • 02 System auto-start service

TF-Card

TF card interface introduction

TF card (TransFlash Card), also known as MicroSD card, is a small flash memory card widely used in mobile devices (such as mobile phones, tablets, cameras, drones, etc.) and embedded devices (such as development boards, single-board computers, etc.). TF card has become one of the most commonly used storage media in portable devices due to its small size, large storage capacity and high cost performance.

TF card picture:

TF

There is a TF card slot on the development board, which supports hot swapping of TF cards

TF_2

Mount TF card

If a TF card is inserted, you can mount it by following the steps below:

  1. View the device node:
root@linaro-alip:/# fdisk -l
···
Disk /dev/mmcblk1: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 23000000-0000-4C4A-8000-699000005ABB
  1. Create a mount point and mount the device:
mkdir /mnt/TF_Card
mount /dev/sda1 /mnt/TF_Card
  1. View the mounting results:
root@linaro-alip:/# df -h
Filesystem      Size  Used Avail Use% Mounted on
...
/dev/mmcblk1     30G  2.1G   28G   7% /mnt/TF_Card
  1. Check the TF card storage content
root@linaro-alip:/# ls -l mnt/TF_Card/
total 2154976
-rwxr-xr-x 1 root root          0 Oct 29 13:29  BOOT
-rwxr-xr-x 1 root root   25777653 Oct 29 13:29  boot.1-of-2.gz
-rwxr-xr-x 1 root root      30566 Oct 29 13:29  boot.2-of-2.gz
-rwxr-xr-x 1 root root        830 Oct 29 13:29  boot.cmd
-rwxr-xr-x 1 root root       1290 Oct 29 13:29  boot_emmc-boot.cmd
-rwxr-xr-x 1 root root       1362 Oct 29 13:29  boot_emmc-boot.scr
-rwxr-xr-x 1 root root       1463 Oct 29 13:29  boot_emmc.cmd
-rwxr-xr-x 1 root root       1315 Oct 29 13:29  boot_emmc-data.cmd
  1. Uninstall the device:
umount /mnt/TF_Card
Edit this page on GitHub
Last Updated:
Contributors: zsl, zwhuang
Prev
Bluetooth
Next
Audio