pub enum RiscvError {
Show 14 variants
DmiTransfer(DmiOperationStatus),
DebugProbe(DebugProbeError),
Timeout,
AbstractCommand(AbstractCommandErrorKind),
RequestNotAcknowledged,
UnsupportedDebugTransportModuleVersion(u8),
UnsupportedDebugModuleVersion(DebugModuleVersion),
UnsupportedCsrAddress(u16),
UnsupportedProgramBufferRegister(usize),
ProgramBufferTooSmall,
UnsupportedBusAccessWidth(RiscvBusAccess),
SystemBusAccess,
UnexpectedTriggerType(u32),
NoRiscvTarget,
}
Expand description
Something error occurered when working with the RISC-V core.
Variants§
DmiTransfer(DmiOperationStatus)
An error during read/write of the DMI register happened.
DebugProbe(DebugProbeError)
An error with operating the debug probe occurred.
Timeout
A timeout occurred during JTAG register access.
AbstractCommand(AbstractCommandErrorKind)
An error occurred during the execution of an abstract command.
RequestNotAcknowledged
The request for reset, resume or halt was not acknowledged.
UnsupportedDebugTransportModuleVersion(u8)
This debug transport module (DTM) version is currently not supported.
UnsupportedDebugModuleVersion(DebugModuleVersion)
This version of the debug module is not supported.
UnsupportedCsrAddress(u16)
The provided csr address was invalid/unsupported
UnsupportedProgramBufferRegister(usize)
The given program buffer register is not supported.
ProgramBufferTooSmall
The program buffer is too small for the supplied program.
UnsupportedBusAccessWidth(RiscvBusAccess)
Memory width larger than 32 bits is not supported yet.
SystemBusAccess
An error during system bus access occurred.
UnexpectedTriggerType(u32)
The given trigger type is not available for the address breakpoint.
NoRiscvTarget
The connected target is not a RISCV device.