nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ rram_wear_test()

int rram_wear_test ( size_t index,
uint64_t addr_start,
uint64_t addr_end,
bool force )

#include <include/debug/rram_wear_test.h>

Run write/readback verify on a named flash region or custom range.

Uses the internal partition table (see index), or a custom byte range on the internal flash device when addr_end is greater than addr_start.

Parameters
indexPartition index from the array to test.
addr_startOptional start offset for a custom range (used if addr_end > addr_start).
addr_endOptional end offset (exclusive) for a custom range.
forceMust be true for custom ranges or -EPERM is returned.
Return values
0on success, negative errno otherwise (-EIO on pattern mismatch).