Raptor:Data Logging Erase

From NewEagleWiki
Jump to navigation Jump to search

Return to the main Raptor page

Return to Data Logging page

Raptor™ Data Logging Erase

Description

This block works with onboard FLASH datalogging memory (if available) on the selected ECU target. It will erase the sector (e.g. 16KB region) containing the address passed into the input.

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 erase the sector beginning at address 0x80000000.

Inputs

Input Type Description
Address uint32 Address (offset from base address of datalog flash region) of sector to erase.

Outputs

Output Type Description
Status uint8 Status of the operation: 0 - Failure, 1 - Success