Scope Pro CLI


1. Support Products

All of the following must be used with a Transcend RDF5 card reader:


2. System Requirements

Ubuntu 32/64 & Ubuntu ARM 64-bit

Raspberry Pi

NVIDIA Jetson Nano

Note: You must have Administrator privileges to run the ScopePro.
Note: ARM platform not support SATA interface.


3. Package Installation

Ubuntu (32/64):

1. Add ScopePro repository to system's Software Sources

sudo add-apt-repository ppa:transcend-rd/scopepro-cli
Copied

2. Update resource

sudo apt update
Copied

3. Install ScopePro package

sudo apt-get install scopepro-cli
Copied

ARM64 System:

1. Add ScopePro repository to system's Software Sources

NVIDIA Jetson Nano:

sudo add-apt-repository ppa:transcend-rd/scopepro-cli-arm
Copied

Raspberry Pi 5:

sudo apt update
Copied
sudo mkdir -p /etc/apt/keyrings
Copied
gpg --no-default-keyring --keyring ./temp-keyring.gpg 
  --keyserver keyserver.ubuntu.com --recv-keys 5C9FE2D57773DDEB615142F069F5420A6B377382 && 
gpg --no-default-keyring --keyring ./temp-keyring.gpg 
  --export | sudo tee /etc/apt/keyrings/transcend.gpg > /dev/null && 
rm ./temp-keyring.gpg
Copied
cd /etc/apt/source.list.d
Copied
sudo nano raspi.list
Copied

Add the following 2 lines to the file and save

deb [signed-by=/etc/apt/keyrings/transcend.gpg] 
http://ppa.launchpadcontent.net/transcend-rd/scopepro-cli-arm/ubuntu bionic main
deb-src [signed-by=/etc/apt/keyrings/transcend.gpg] 
http://ppa.launchpadcontent.net/transcend-rd/scopepro-cli-arm/ubuntu bionic main
Copied

2. Update resource

sudo apt update
Copied

3. Install ScopePro package

sudo apt-get install scopepro-cli-arm
Copied

4. Functions

Drive Status


$ sudo scopepro -id /dev/sda

---------- Disk Information ----------

Model :TS512GSSD470K

FW Version :22Z2UCFS

Serial No :H735380001

Support Interface :SATA


$ sudo scopepro -id /dev/sda

type :SD

Manufacturer ID :0x74 Transcend

Product Name :USDU1

Product Revision :0x20

Manufacture Date :2024 sep

CRC checksum :0x00

S.M.A.R.T Status


$ sudo scopepro -smart /dev/sda

---------------- S.M.A.R.T Information ----------------

01 Read Error Rate 0

05 Reallocated Sectors Count 1

09 Power-On Hours 5520

OC Power Cycle Count 664

A0 Uncorrectable sectors count when read/write 1

A1 Number of Valid Spare Blocks 108

A3 Number of Initial Invalid Blocks 47

A4 Total Erase Count 55937

A5 Maximum Erase Count 78

A6 Minimum Erase Count 9

A7 Average Erase Count 27

A8 Max Erase Count of Spec 3000

A9 Remain Life (percentage) 100

AF Worst Component Program Fail Count 0

BO Worst Component Erase Fail Count 0

B1 Total Wear Level Count 0

B2 Grown Bad Block Count 0

B5 Total Program Fail Count 0

B6 Total Erase Fail Count 0

CO Sudden Power Count 164

C2 Enclosure Temperature 26

C3 Hardware ECC Recovered 870

C4 Reallocation Event Count 2

C5 Current Pending Sector Count 0

C6 Reported Uncorrectable Errors 1

C7 CRC Error Count 8

E8 Available Reserved Space 100

F1 Host 32MB/unit Written (TLC) 733037

F2 Host 32MB/unit Read (TLC) 766228

F5 NAND 32MB/unit Written (TLC) 894992


$ sudo scopepro -smart /dev/sda

---------------- S.M.A.R.T Information ----------------

Card Marker: Transcend

Bus Width: 4 bit Width

Secured Mode: Not in the secured mode

Speed Class: Class 10

UHS Speed Grade: 30MB/s and above

New Bad block Count: 0

Spare Block: 0

Min Erase Count: 0

Max Erase count: 1

Total Erase Count: 3

Avg. Erase Count: 0

NAND P/E Cycle: 3000

Card Life: 100%

Current SD Card Speed Mode: SDR104

Total Write CRC Count: 0

Power On/Off Count: 9

NAND Flash ID: 45-48-98-03-76-66

SMI SD Controller P/N: SM2706

SD Firmware Version: V0217

Abnormal Power Detect: 0

Disk Health


$ sudo scopepro -health /dev/sda

---------------- Health Information ----------------

Health Percentage: 100%

Secure Erase

(Only support with SATA SSD)


$ sudo scopepro -secure_erase /dev/sda

This operation will permanently ERASE all data. Do you want to proceed? (Y/N)

Y

Final warning : Are you certain you want to perform an ERASE ? (Y/N)

Y

Secure erase in progress...

Success. Please disconnecdt the SATA power cable for the change to take effect.


$ sudo scopepro -enhanced_secure_erase /dev/sda

This operation will permanently ERASE all data. Do you want to proceed? (Y/N)

Y

Final warning : Are you certain you want to perform an ERASE ? (Y/N)

Y

Enhanced secure erase in progress...

Success. Please disconnecdt the SATA power cable for the change to take effect.

Sanitize Erase

(Only support with PCIe SSD)


$ sudo scopepro -isSupportsanitize /dev/sda

is support  true

$ sudo scopepro -sanitize /dev/sda

This operation will permanently ERASE all data. Do you want to proceed? (Y/N)

Please enter 'Y' or 'N' to continue...

Y

Final warning : Are you certain you want to perform an ERASE ? (Y/N)

Please enter 'Y' or 'N' to continue...

Y

Sanitize Erase Success

Self Test

(Only support with PCIe SSD)

Short


$ sudo scopepro -selftest short /dev/nvme0n1

short self-test has begun.

Completion: 100%

Oeration completed: No errors found.

Extended


$ sudo scopepro -selftest extended /dev/nvme0n1

extended self-test has begun.

Completion: 100%

Oeration completed: No errors found.

DRAM Information

(Only support with DDR3/DDR4/DDR5)


$ sudo scopepro -dram

[/dev/i2c-0:0x50]

--------------------- SPD Information ---------------------

RAM Type             :DDR5-5600

DIMM Type            :SO-DIMM

Support ECC          :No

Module Manufacturer  :Transcend

DRAM Manufacturer    :Samsung

Part Number          :TS4GSA64V6E-I

Serial Number        :K09805-0392

Module Size          :32GB

Week/Year            :27/26

Temperature          :32.0 °C

CAS# Latency         :46

tRCD                 :45

tRP                  :45

tRAS                 :90

tRC                  :135

Voltage              :1.10 V

SD Card Security

SD Lock


$ sudo scopepro -sd_lock 1234 /dev/sda

Status: Lock

SD Unlock


$ sudo scopepro -sd_unlock 1234 /dev/sda

Status: Unlock

Clear SD Password


$ sudo scopepro -sd_clear_pwd 1234 /dev/sda

Status: Unlock

SD Status


$ sudo scopepro -sd_status /dev/sda

Device is Locked

SD Erase

(Only support USD460I with FW: W0519)


$ sudo scopepro -sd_erase /dev/sda

Warning: all card data will be erased together with PWD

Do you want to continue? [Y/n] Y

Erase success. Please use mkfs command to format.

5. Others


$ sudo scopepro -h

Usage:

scopepro

show all information of devices

scopepro [option] <device>

show specific information of the device by option

scopepro -dram

show SPD information of all Transcend dram on this computer

scopepro -selftest [self-test option] <device>

execute NVMe SSD self-test



Options:

-all: list all information of the device

-id: list id table information of the device

-smart: list S.M.A.R.T table information of the device

-health: list the health information of the device

-secure_erase: do secure erase of the device

-enhanced_secure_erase: do enhanced secure erase of the device

-license: display the End User License Agreement and Statement

-V: display the application version

Self-test Options:

short: start a short device self-test operation

extended: start a extended device self-test operation



SD Secure Usage:

scopepro [SD option] <password> <device>

do secure function of SD device



SD Options:

-sd_lock: set SD password and lock the card

-sd_unlock: unlock SD by password

-sd_clear_pwd: clear SD password

-sd_status: scopepro -sd_status <device> to check SD secure status

-sd_erase: scopepro -sd_erase <device> to force erase SD card (only support USD460I with FW=V0902D)



Sanitize Usage:

scopepro [sanitize options] <device>

execute sanitize erase



Santize options:

-isSupportsanitize: identify device sanitize type support

-sanitize: start device sanitize erase


6. License