CMD_INVALID_ARG
CMD_INVALID_ARG error in Koheron V1 firmware.
CMD_INVALID_ARG is a common Koheron V1 firmware error. A command argument, value, or runtime request is invalid.
| Field | Value |
|---|---|
| Error | CMD_INVALID_ARG |
| Bit | 3 |
| Mask | 00000008 |
| Scope | Common |
| Raised by current firmware | Yes |
Meaning
The command was recognized, but its shape, value, or runtime request is invalid. This includes wrong argument counts, malformed values, parse errors, integer overflows, booleans other than 0 or 1, values outside the documented range, and requests that are not valid in the current state.
Typical causes
Wrong number of arguments; malformed hexadecimal or numeric value; value outside the documented range; unsupported runtime request for the current state.
Recommended action
Review the command documentation, correct the argument count and values, then retry the command. CMD_INVALID_ARG means the command shape, value, or runtime request is invalid. CMD_ACCESS_DENIED means the command shape is valid, but the current user mode is too low.
Related commands
Use the relevant command documentation and errclr after correcting the command.