How To get memory card life time expectancy

If you wish to get the life time expectancy of a WAGO memory card, here is a solution.
8Gb WAGO memory card support S.M.A.R.T (Self-Monitoring, Analysis and Reporting Technology), and thanks to a software tool from Swissbit, advanced diagnosis data can be read out, either with a computer software, or even with a small binary that you can install directly in the controller.

 ./sbdm-cli
Swissbit Device Manager 1.2.4

Please wait while SBDM is scanning for devices...


/dev/mmcblk0
------------

  Device information
    Model:                        SD card WA 0008G
    Serial:                       1622350047
    Firmware:                     160307 1.20
    Capacity:                     8GB
    Overall status:               PASS
    Health status:                PASS
    Data integrity status:        PASS

  Spare block information
    Spare block status:           PASS
    Remaining spare blocks:       100%
    Current spare blocks (total): 366
    Initial spare blocks (total): 366

  Erase count information
    Erase status:                 PASS
    Remaining erase life time:    100%
    Flash cell mode:              Native
    Average erase count:          12
    Total erase count:            49380

  Error correction information
    ECC Refresh Counter:          0
    Total flash read commands:    396913184
    Uncorrectable ECC errors:     0

  Power on counters
    Power on cycles:              677
    Power on data repairs:        0

  Advanced counters
    Initial bad block count:      24
    Flash block count:            4096
    Total LBA written:            142545223
    Total LBA read:               110610406
    Flash LBA written:            202260480
    Resulting WAF (Total):        1.4

  Interface
    Interface status:             PASS
    Current speed:                High Speed, 4 bit width
    Max. supported speed:         SD 3.0 UHS-I / High Speed / Default Speed
    Interface errors:             0

More information here :

2 Likes