CMD_ACCESS_DENIED
CMD_ACCESS_DENIED error in Koheron V1 firmware.
CMD_ACCESS_DENIED is a common Koheron V1 firmware error. A valid write command was rejected because the current user mode is too low.
| Field | Value |
|---|---|
| Error | CMD_ACCESS_DENIED |
| Bit | 5 |
| Mask | 00000020 |
| Scope | Common |
| Raised by current firmware | Yes |
Meaning
The command shape is valid, but the current user mode is too low for the requested write operation.
Typical causes
Trying to change a protected setting before selecting the required user mode; running save without advanced mode.
Recommended action
Select the required user mode, then retry the write. For normal read/write commands, validation is performed in this order:
- No arguments: read the current value.
- Wrong argument count or malformed values:
CMD_INVALID_ARG. - Valid write shape but user mode too low:
CMD_ACCESS_DENIED. - Valid write shape and sufficient user mode: apply the write.
save is a no-argument write command and requires advanced mode.
Related commands
See User modes for user-mode operation. save requires advanced mode.