![]() |
nRF Connect SDK API 3.3.99
|
| 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.
| index | Partition index from the array to test. |
| addr_start | Optional start offset for a custom range (used if addr_end > addr_start). |
| addr_end | Optional end offset (exclusive) for a custom range. |
| force | Must be true for custom ranges or -EPERM is returned. |
| 0 | on success, negative errno otherwise (-EIO on pattern mismatch). |