RE01 CDT Memory Adapter


Outline

The CDT Memory Adapter reads memory data blocks from the CDT debugger. The start address/size can be defined explicitly or in form of debug expressions (e.g. trace->buffer). The received data is forwarded to a configurable reader. The adapter can be combined with other adapters using a multi-adapter port.

Platforms:
32/64bit 32/64bit 32/64bit
Requirements:
  • Eclipse CDT tooling (Will be automatically installed).
Known limitations:
  • None
Status:
  • Stable
Operations:
  • Connect
  • Read
  • Sync
Parameters:
  • Enable: Enables/disables the port adapter.
  • Address/Size Mode: Fixed, Variable expression
  • Address: Define the memory address, either as a fixed value or as a debugger expression.
  • Size: Define the memory size, either as a fixed value or as a debugger expression.
  • Reader: Select the reader to parse the raw data stream.
  • Configuration: Optionally, a serialization configuration can be selected (depending on the reader).
  • Suspend: Wait (Wait for debugger to suspend), Force Suspend.
  • Write input to file: Select a file to log the input stream.
  • Insert as root: If the adapter is included in a multi adapter port, the flag will force the adapter to add its signal hierarchy into the root of the combined record.
  • Synchronisation: Allows to define a script to do adapter synchronisation.


Video

Screen Cast: Using the CDT Memory Adapter



Modes

  • In "Fixed Address" mode, the user configures address and size explicitly.  
  • If "Variable Address" mode is chosen, the adapter tries to evaluate a watch expression (e.g. trace->buffer) to get the required address/size information.


Source Configuration

Fixed Address

  • Address: Address of the memory block in the target process (e.g. 0x40000).  
  • Size: Size of the memory block in bytes (e.g. 0x200).

Variable Address

  • Address expression : Address expression of the memory block in the target process (e.g. trace->buffer).
  • Size expression: Size expression of the memory block in bytes (e.g. trace->length).

You may specify a file "Write input to file" to store the raw input for debugging purpose.



Serializer

Configure the serializer by selecting a reader and optionally a reader configuration (some reader require a configuration, e.g. the CSV reader).
You may use the buttons '+' and '...' to add and manage existing reader configurations (Preferences).
You may use the "Test Line Reader" (extracts lines from the raw input) and "Test Block Reader" (extract fixed size byte blocks) for debugging purpose.


Synchronization

Using a multi port adapter, you can combine an unlimited number of different input ports. The synchronization section of the adapters allows you to synchronize inputs with different domain bases (e.g. each input has its own time base). See 11 Synchronisation.

toem

technical software and tooling

Company

Contact Us

This email address is being protected from spambots. You need JavaScript enabled to view it.