CMD_INVALID_ARG
CMD_INVALID_ARG error in Koheron V1 firmware.Koheron products currently ship with firmware V0.x by default. Firmware V1 is under active development and is not publicly available yet.
Contact us if you would like early access or want to evaluate V1 firmware on your device.
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.