Module probe_rs::architecture::arm

source ·
Expand description

All the interface bits for ARM.

Re-exports§

Modules§

  • Types and functions for interacting with access ports.
  • Register types and the core interface for armv6-M
  • Register types and the core interface for armv7-a
  • Register types and the core interface for armv7-M
  • Register types and the core interface for armv8-a
  • Register types and the core interface for armv8-M
  • Types and functions for interacting with CoreSight Components
  • Types and functions for interacting with debug ports.
  • Types and functions for interacting with target memory.
  • Debug sequences to operate special requirements ARM targets.
  • SWO tracing related functions.

Structs§

  • Access port address.
  • Information about the chip target we are currently attached to. This can be used for discovery, tho, for now it does not work optimally, as some manufacturers (e.g. ST Microelectronics) violate the spec and thus need special discovery procedures.
  • An implementation of the communication protocol between probe and target. Can be used to perform all sorts of generic debug access on ARM targets with probes that support low level access. (E.g. CMSIS-DAP and J-Link support this, ST-Link does not)
  • Core information data which is downloaded from the target, represents its state and can be used for debugging.
  • Information about a memory access port. Can be used for target discovery. Useful for detecting supported memory access of a target.
  • A struct to describe the default CMSIS-DAP pins that one can toggle from the host.

Enums§

  • Information about an access port. Can be used for target discovery.
  • ARM-specific errors
  • An error in the communication with an access port or debug port.
  • Debug port address.
  • The type of port we are using.

Traits§

  • To be implemented by debug probe drivers that support debugging ARM cores.
  • High-level DAP register access.
  • Low-level DAP register access.
  • A trait to be implemented on register types for typed device access.

Functions§

  • Check if the address is a valid 32 bit address. This functions is ARM specific for ease of use, so that a specific error code can be returned.