ADI constructor
Debug transport to use
Optional mode: DAPProtocolDebug mode to use (default 0)
Optional clockFrequency: numberCommunication clock frequency to use (default 10000000)
ADI constructor
Proxy to use
Protected concatRead from an access port register
AP register to read
Promise of register value
Protected readAPCommandRead from a debug port register
DP register to read
Promise of register value
Protected readDPCommandProtected readProtected readProtected readRead 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
Protected readProtected transferProtected waitContinually 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
Protected writeAPCommandWrite to a debug port register
DP register to write
Value to write
Promise
Protected writeDPCommandProtected writeProtected writeProtected writeProtected write
Arm Debug Interface class