In the use of the diagnostic library, I initialized the SL_ESM_Init() function.
(1) When calling the SRAM diagnostic library, the diagnostic type is set to SRAM_RADECODE_DIAGNOSTICS. My understanding is that an interrupt should be triggered because the SRAM redundant address decoding error is Group2 channel 6 and Channel 8 interrupt, because the Gruop2 interrupt type and settings are fixed, so there should be no need to set the interrupt type, just initialize it?
(2) There are also comments in the code I see as follows:
It should be an interrupt that will generate ESM, but in the interrupt, it will be checked and found to be the test flag, so the fault flag will not be generated. But I added print information in the interrupt function of ESM, and no interrupt occurs,neither did the print information I added, I don't quite understand this? Please answer, thank you.