Program/Erase Cycle Counter for Flash on Real-Time Controllers with NI Linux Real-Time

Updated Jul 19, 2023

Reported In

Operating System

  • LabVIEW Real-Time (NI Linux Real-Time)

Issue Details

Is there a counter for the P/E cycles built into my Real-Time controller?

Solution

There is a debugfs view into the health of the different NAND portions, it can be found inĀ /sys/kernel/debug/ubi/ubiN/detailed_erase_block_info. It does gives information on the health of your NAND part by showing total erase counts.

Additional Information

This is a unique feature of NI Linux Real-Time, such an archive is not available in VxWorks or PharLap.