![]() |
nRF Connect SDK API 3.4.99
|
| int nrf_rpc_rram_wear_test | ( | size_t | index, |
| uint64_t | addr_start, | ||
| uint64_t | addr_end, | ||
| bool | force ) |
#include <rram_wear_test.h>
Run write/readback verify on a selected remote flash region.
| index | Partition index from the array. |
| 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. |
| -EPERM | if region is custom and force is false. |
| -EINVAL | for invalid arguments or an out-of-bounds custom range. |
| -ENOENT | if the named partition is not present in the build. |
| -ENODEV | if the flash device cannot be resolved for a custom range. |
| Other | negative errno from flash operations, or -EIO on verify mismatch. |
| -EBADMSG | if the RPC response could not be decoded. |