ADI constructor
Debug transport to use
Debug mode to use (default 0)
Communication clock frequency to use (default 10000000)
ADI constructor
Proxy to use
Connect to target device
Promise
Disconnect from target device
Promise
Exucute code at a specified memory address
The address to put the code
The code to use
The stack pointer to use
The program counter to use
The link register to use (defaults to address + 1)
Values to add to the general purpose registers, R0, R1, R2, etc.
Get the state of the processor core
Promise of CoreState
Halt the target
Wait until halted before returning
Milliseconds to wait before aborting wait
Promise
Whether the target is halted
Promise of halted state
Read from an access port register
AP register to read
Promise of register value
Read a block of 32-bit words from a memory access port register
ID of register to read from
The count of values to read
Promise of register data
Read from a core register
The register to read
Promise of value
Read an array of core registers
The registers to read
Promise of register values in an array
Read from a debug port register
DP register to read
Promise of register value
Read a 16-bit word from a memory access port register
ID of register to read
Promise of register data
Read a 32-bit word from a memory access port register
ID of register to read
Promise of register data
Read a sequence of 32-bit words from a memory access port register, without crossing TAR auto-increment boundaries
ID of register to read from
The count of values to read
Promise of register data
Read an 8-bit word from a memory access port register
ID of register to read
Promise of register data
Reconnect to target device
Promise
Reset target device
Promise
Resume a target
Wait until resumed before returning
Milliseconds to wait before aborting wait
Promise
set the target to reset state
use hardware reset pin or software reset
Promise
soft reset the target
Promise
Continually run a function until it returns true
The function to run
Optional timeout to wait before giving up and throwing
The milliseconds to wait between each run
Promise
Write to an access port register
AP register to write
Value to write
Promise
Write a block of 32-bit words to a memory access port register
ID of register to write to
The values to write
Promise
Write to a core register
The register to write to
The value to write
Promise
Write to a debug port register
DP register to write
Value to write
Promise
Write a 16-bit word to a memory access port register
ID of register to write to
The value to write
Promise
Write a 32-bit word to a memory access port register
ID of register to write to
The value to write
Promise
Write a sequence of 32-bit words to a memory access port register, without crossing TAR auto-increment boundaries
ID of register to write to
The values to write
Promise
Write an 8-bit word to a memory access port register
ID of register to write to
The value to write
Promise
Cortex M class