Filter results by

Accessing microSD and USB

This article describes how to use an SD card or USB to transfer or deploy a binary file to the ARTIK board.

Access microSD Card on ARTIK 5, 7, and 10

  1. In your serial terminal, type the command fdisk –l to list the disks that are accessible on ARTIK boards. The SD card device should be something like this:

    1
    2
     Device           Boot Start       End   Blocks  Id   System
     /dev/mmcblk1p1       8192     65535999 32763904   b  W95 FAT32

    Alternatively, you can use command blkid. The output looks like this:

    1
    2
    3
    4
    5
     /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="AC7E-B03B" TYPE="vfat" PARTLABEL="boot" PARTUUID="d117f98e-6f2c-d04b-a5b2-331a19f91cb2" 
     /dev/mmcblk0p2: LABEL="rootfs" UUID="ddd680fb-4343-4c74-b816-e8c81f1ccc5c" TYPE="ext4" PARTLABEL="rootfs" PARTUUID="25718777-d0ad-7443-9e60-02cb591c9737" 
     /dev/mmcblk1p1: LABEL="UNTITLED" UUID="3974-16F0" TYPE="vfat" 
     /dev/mmcblk0: PTUUID="00042021-0408-4601-9dcc-a8c51255994f" PTTYPE="gpt" 
     /dev/mmcblk1: PTTYPE="dos” 
  2. Type the command mkdir /mnt/SD to create a mount point for the SD card. You can replace /mnt/SD with any directory name you prefer.

  3. Type the command mount /dev/mmcblk1p1 /mnt/SD to mount the SD card, replacing /dev/mmcblk1p1 with the device name from Step 1 and /mnt/SD with the name of the directory you created in Step 2.

Access USB on ARTIK 7 and 10

The steps are the same as above.

  1. Type fdisk -l from your serial terminal. The USB device is normally /dev/sda* or /dev/sdb*.

    1
    2
     Device    Boot Start       End   Blocks  Id System
     /dev/sda1          2  60751871 30375935   b W95 FAT32

    The output of blkid looks like:

    1
    2
    3
    4
     /dev/loop0: UUID="2fd71144-7dfa-4caa-90c6-08c822a7b9ca" TYPE="ext4" 
     /dev/mmcblk0: PTTYPE="dos" 
     /dev/mmcblk0p1: UUID="847cfc70-1bda-4096-9a57-cff780001e5a" TYPE="ext4" 
     /dev/sda1: LABEL="UNTITLED" UUID="8417-1618" TYPE="vfat" 
  2. Repeat steps 2 and 3 in Access microSD card and replace the directory names as necessary.

Last updated on: