Hi,
I am trying to activate the event generation when an ECC event occurs in the RAM of the PRU-ICSS. According to my understanding based on AM335x TRM, this is configurable trough the CFG registers of the PRU and more specifically the ISRP, ISP, IESP and IECP registers.
I tried the following code:
/* enable all ECC error events */ PRU_CFG.IESP = 0x000FFFFF; /* read back IESP register */ uint32_t iesp = PRU_CFG.IESP; // I read back 0x00000000 /* test enabling - fake event */ PRU_CFG.ISRP = 0x000FFFFF; /* read back raw event */ uint32_t isrp = PRU_CFG.ISRP; // I read back 0x000FFFFF /* read back ecc error event */ uint32_t isp = PRU_CFG.ISP; // I read back 0x00000000
Unfortunately, the configuration looks pretty simple but writing into IESP seems to do nothing. So I double-checked and this register is (for my code) at address 0x0002601C, which looks good according to the information I have access to.
Could someone please help me with that issue? My guess is that ECC error event is not behaving on AM263x as on AM335x or that the register offset as changed between AM335x and AM263x.
Thank you and Regards
Nicolas