Crate probe_rs_target

Crate probe_rs_target 

Source
Expand description

Target description schema

For debugging and flashing different chips, called target in probe-rs, some target specific configuration is required. This includes the architecture of the chip, e.g. RISC-V or ARM, and information about the memory map of the target, which can be used together with a flash algorithm to program the flash memory of a target.

This crate contains the schema structs for the YAML target description files.

Modules§

chip_detection
Chip detection information.

Structs§

ArmCoreAccessOptions
The data required to access an ARM core
Chip
A single chip variant.
ChipFamily
This describes a chip family with all its variants.
Core
An individual core inside a chip
FlashProperties
Properties of flash memory, which are used when programming Flash memory.
GenericRegion
Represents a generic region.
Jtag
Configuration for JTAG probes.
MemoryAccess
Represents access permissions of a region in RAM.
NvmRegion
Represents a region in non-volatile memory (e.g. flash or EEPROM).
PageInfo
Holds information about a page in flash.
RamRegion
Represents a region in RAM.
RawFlashAlgorithm
The raw flash algorithm is the description of a flash algorithm, and is usually read from a target description file.
RiscvCoreAccessOptions
The data required to access a Risc-V core
RiscvJtagTunnel
Configuration for JTAG tunneling.
ScanChainElement
Represents a DAP scan chain element.
SectorDescription
Information about a group of flash sectors, which is used as part of the FlashProperties struct.
SectorInfo
Holds information about a specific, individual flash sector.
XtensaCoreAccessOptions
The data required to access an Xtensa core

Enums§

ApAddress
An address for AP accesses
Architecture
The architecture family of a specific CoreType.
CoreAccessOptions
The data required to access a core
CoreType
Type of a supported core.
Endian
The current endianness of a core
InstructionSet
Instruction set used by a core
MemoryRegion
Declares the type of a memory region.
TargetDescriptionSource
Source of a target description.
TransferEncoding
Data encoding used by the flash algorithm.

Traits§

MemoryRange
Enables the user to do range intersection testing.
RegionMergeIterator
Merges adjacent regions if they have the same access permissions.