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.

Select the required user mode, then retry the write. For normal read/write commands, validation is performed in this order:

  1. No arguments: read the current value.
  2. Wrong argument count or malformed values: CMD_INVALID_ARG.
  3. Valid write shape but user mode too low: CMD_ACCESS_DENIED.
  4. Valid write shape and sufficient user mode: apply the write.

save is a no-argument write command and requires advanced mode.

See User modes for user-mode operation. save requires advanced mode.