Raptor:Data Logging Erase: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
(Created page with 'Return to the main Raptor page Return to File IO page [[File:RaptorDataLoggingErase.png|right|frame|Raptor™ Data Logging Erase]…')
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[RaptorWiki|Return to the main Raptor page]]
[[RaptorWiki|Return to the main Raptor page]]


[[Raptor:Data Logging File IO|Return to File IO page]]
[[Raptor:Data Logging|Return to Data Logging page]]


[[File:RaptorDataLoggingErase.png|right|frame|Raptor™ Data Logging Erase]]
[[File:RaptorDataLoggingErase.png|right|frame|Raptor™ Data Logging Erase]]


== Description ==
== Description ==
<p>This block is used to erase a value from the data log.</p>
<p>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.</p>
 
<p>Models configured for targets which do not support this feature will print an error message to diagnostic output on model update or compilation.</p>
 
<p>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.</p>


== Inputs ==
== Inputs ==
Line 17: Line 21:
! Address
! Address
| uint32
| uint32
|  
| Address (offset from base address of datalog flash region) of sector to erase.
|}
|}


Line 28: Line 32:
|-
|-
! Status
! Status
|  
| uint8
|  
| Status of the operation: 0 - Failure, 1 - Success
|}
 
== Parameters ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 15%;"|Parameter
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
|}
|}

Latest revision as of 20:27, 12 September 2023

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