DCMD_F3S_LOCKSSR

Lock a secure silicon region

Synopsis:

#include <sys/dcmd_f3s.h>

#define DCMD_F3S_LOCKSSR    __DIOTF(_DCMD_F3S, F3S_LOCKSSR, uint32_t)

Arguments to devctl():

Argument Value
filedes A file descriptor that you obtained by opening /dev/fs0
dcmd DCMD_F3S_LOCKSSR
dev_data_ptr NULL, or a pointer to a uint32_t
n_bytes 0 or sizeof(uint32_t)
dev_info_ptr NULL

Description:

This command locks a secure silicon region. You can:

Input:

The number of the region to lock, or NULL to lock the entire OTP area.

Output:

None.

Example:

The Spansion S25FL QSPI flash supports multiple regions in the OTP (SSR) area. Each region can be locked separately:

See also:

DCMD_F3S_READSSR, DCMD_F3S_STATSSR, DCMD_F3S_WRITESSR

devctl() in the QNX Neutrino C Library Reference