AVR SD Safety Framework 1.0.0
Loading...
Searching...
No Matches
midware_memory_manager_diag_asm.h File Reference

Contains assembly APIs for the Memory Manager Diagnostics. More...

#include <stdint.h>

Functions

void ASM_InjectCpuDataParityRam (void)
 This function makes the CPU inject a parity error in the data of the following RAM write, which is detected by the RAM Data Parity Checker.
void ASM_InjectCpuAddressParityRam (void)
 This function makes the CPU inject a parity error in the address of the following RAM read, which is detected by the RAM address Parity Checker.
void ASM_InjectCpuControlParityRam (void)
 This function makes the CPU inject a parity error in the control of the following RAM read, which is detected by the RAM control Parity Checker.
void ASM_InjectNvmDataParity (uint16_t eepromDiagAddr)
 This function makes the NVMCTRL inject a parity error in the data of the following NVM (EEPROM) read, which is detected by the CPU data Parity Checker.
void ASM_InjectNvmInstructionParity (void)
 This function makes the NVMCTRL inject a parity error in the instruction of the following NVM fetch, which is detected by the CPU instruction Parity Checker.
void ASM_InjectCpuDataParityNvm (uint16_t eepromDiagAddr)
 This function makes the CPU inject a parity error in the data of the following NVM (EEPROM) write, which is detected by the NVM data Parity Checker.
void ASM_InjectCpuAddressParityNvm (uint16_t eepromDiagAddr)
 This function makes the CPU inject a parity error in the address of the following NVM (EEPROM) read, which is detected by the NVM address Parity Checker.
void ASM_InjectCpuControlParityNvm (uint16_t eepromDiagAddr)
 This function makes the CPU inject a parity error in the control of the following NVM (EEPROM) read, which is detected by the NVM control Parity Checker.
void ASM_InjectRamEccComp (void)
 This function makes the RAM controller inject a comparator error in the following RAM read, which is detected by the RAM ECC Checker.
void ASM_InjectRamEcc1 (uint16_t ramDiagAddr)
 This function makes the RAM controller inject a 1-bit ECC error in the following RAM read, which is detected by the RAM ECC Checker.
void ASM_InjectRamEcc2 (uint16_t ramDiagAddr)
 This function makes the RAM controller inject a 2-bit ECC error in the following RAM read, which is detected by the RAM ECC Checker.
void ASM_TriggerFlashEcc (uint16_t flashDiagAddr)
 This function performs a read from the provided Flash address to trigger ECC error detection after an ECC error has been injected via NVMCTRL.CTRLD.
void ASM_TriggerEepromEcc (uint16_t eepromDiagAddr)
 This function performs a read from the provided EEPROM address to trigger ECC error detection after an ECC error has been injected via NVMCTRL.CTRLD.

Detailed Description

Contains assembly APIs for the Memory Manager Diagnostics.