I used the RTD4.0.0 library +SPD
According to the descriptions in some documents, my understanding is that after the initialization of EMCEMCHU (EMI,EMR,FCCU,DCM initialization), EMI selects the injected channel and error type, such as RAM errors, and then operates on RAM, such as reading or clearing the cache. At this point, it will jump to BusFault_Handler, and then detect whether the alarm interrupt of FCCU has occurred. If so, it will jump and clear the error.
The current problem encountered is the failure of the EIM injection error. I saw that no value was written to the EIM register after initialization, and when initiating and selecting the injection error, it would jump to the NMI error or BusFault_Handler
I think there might be problems with some of my configurations because most of the documents are done using MCAL's libraries, while I do it using Drivers.
I have uploaded the entire project to the website. Please help check where the problems are. Thank you