Using the µVision Socket Interface  Application Note 198
Control and monitor µVision via the built-in TCP/IP interface
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AMEM Struct Reference

Data Fields

xU64 nAddr
 Address to read / write. More...
 
UINT nBytes
 Number of bytes read / write. More...
 
xU64 ErrAddr
 Unused. More...
 
UINT nErr
 Unused. More...
 
xUC8 aBytes [1]
 nBytes of data read or to be written More...
 

Description

Memory Read / Write data

Address, length and either data to be written, or data read from memory.

This structure is used in the following messages:

Client ==> uVision (Request)

  • UV_DBG_MEM_READ (Set nAddr to the address to read, and nBytes to the length of data to read)
  • UV_DBG_MEM_WRITE (Set nAddr to the address to write, nBytes to the length of data to write and aBytes to the data to write)

Client <== uVision (Response)

  • UV_DBG_MEM_READ (uVision sets aBytes to the data read from the specified location)
  • UV_DBG_MEM_WRITE (uVision returns the same structure as in the request)

Field Documentation

xUC8 AMEM::aBytes[1]

nBytes of data read or to be written

xU64 AMEM::ErrAddr

Unused.

xU64 AMEM::nAddr

Address to read / write.

UINT AMEM::nBytes

Number of bytes read / write.

UINT AMEM::nErr

Unused.