Scope Pro CLI


1. Support Products


2. System Requirements

Ubuntu 32/64 & Ubuntu ARM 64-bit

Raspberry Pi

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

2. Update resource


$ sudo apt update

3. Install ScopePro package


$ sudo apt-get install scopepro-cli

ARM64 System:

1. Add ScopePro repository to system's Software Sources

NVIDIA Jetson Nano:


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

Raspberry Pi 5:


$ cd /etc/apt/source.list.d


$ sudo nano raspi.list

Add the following 2 lines to the file and save


deb http://ppa.launchpadcontent.net/transcend-rd/scopepro-cli-arm/ubuntu <YOUR_UBUNTU_VERSION> main
deb-src http://ppa.launchpadcontent.net/transcend-rd/scopepro-cli-arm/ubuntu <YOUR_UBUNTU_VERSION> main


$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PROJECT_PUBLIC_KEY>

The project public key here is 5C9FE2D57773DDEB615142F069F5420A6B377382

2. Update resource


$ sudo apt update

3. Install ScopePro package


$ sudo apt-get install scopepro-cli-arm


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/mmcblk0

---------------- 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


$ sudo scopepro -secure_erase /dev/sda

Do you want to erase /dev/sda

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

Y

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)


$ sudo scopepro -dram

[/dev/i2c-6:0x51]

--------------------- Module Information ---------------------

RAM Type :DDR4-3200

DIMM Type :UDIMM

Support ECC :Yes

Model Name :TS2GLH72V2B

Serial Number :H52432-0060

Module Manufacturer :Transcend

DRAM Manufacturer :Samsung

Week/Year :48/22

Voltage :1.20 V

--------------------- EEPROM Information ---------------------

SPD Revision :1.2

Number of Bytes in SPD Device :512

Number of Bytes Used :512

--------------------- Memory Information ---------------------

Module size :16GB

Banks x Rows x Columns x Bits :16 x 16 x 10 x 64

SDRAM Device width :8 bits

Ranks :2

Rank Mix :Symmetrical

Primary Bus Width :64 bits

Bus with Extension :8 bits

AA-RCD-RP-RAS (cycle) :22-22-22-52

Supported CAS Latencies :24T,22T,21T,20T,19T,18T,17T,16T,15T,14T,13T,12T,11T,10T

--------------------- Timing Information ---------------------

Minimum Cycle Time (tCKMin) :0.625 ns

Maximum Cycle Time (tCKMax) :1.600 ns

Minimum CAS Latency (tAA) :13.750 ns

Minimum RAS to CAS Delay (tRCD) :13.750 ns

Minimum Row Precharge Delay (tRP) :13.750 ns

Minimum Active to Precharge Delay (tRAS) :32.000 ns

Minimum Active to Auto-Refresh Delay (tRC) :45.750 ns

Minimum Recovery Delay (tRFC1) :350.000 ns

Minimum Recovery Delay (tRFC2) :260.000 ns

Minimum Recovery Delay (tRFC3) :160.000 ns

Minimum Four Activate Window Delay (tFAW) :21.000 ns

Minimum Row Active to Row Active Delay (tRRD S) :2.500 ns

Minimum Row Active to Row Active Delay (tRRD_L) :4.900 ns

Minimum CAS to CAS Delay (tCCD L) :5.000 ns

Minimum Write Recovery Time (tWR) :15.000 ns

Minimum Write to Read Time (tWTR S) :2.500 ns

Minimum Write to Read Time (tWTR L) :7.500 ns

SD Card Security

(Only support with Transcend RDF5 Card Reader)

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

-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)


6. License