Raptor:Data Logging Read

From NewEagleWiki
Jump to navigation Jump to search

Return to the main Raptor page

Return to Data Logging page

Raptor™ Data Logging Read

Description

This block works with onboard FLASH datalogging memory (if available) on the selected ECU target. This block will read out a desired size of data from a data log memory, given the address. The read (size) must not cross a sector boundary (e.g. 16kb), multiple reads should be used in such a case

Models configured for targets which do not support this feature will print an error message to diagnostic output on model update or compilation.

The address input will be used as an offset to the base address of the datalog flash memory region of the controller automatically. For example, if the datalog flash memory region of the targeted controller starts at address 0x80000000, providing 0 to the address input of the block will read N bytes starting from address 0x80000000, where N is the value of the Size internal block parameter.

Inputs

Input Type Description
Address uint32 Address (offset from base address of datalog flash region) at which to begin the read.

Outputs

Output Type Description
Status uint8 Status of the operation: 0 - Failure, 1 - Success
Data uint8 Array of data that has been read.

Parameters

Parameter Type Description
Size Number The size of the data in bytes.