Thank you for your reply.
So the information in Reference Manual Rev 5 were ok, and we should be able to access EPEVTCR0 register at address 0x20000050.
But then we still have a problem. Our original SW was programming this register with value 0x00000001 with PBI commands as follow:
//.pbi
// Setting EPU module, Base address 0x20000000
write 0x570158, 0x00002000
// Software must wait after updating the ALTCBAR.
// Below is the PBL Wait command (0xc0)
write 0x6100c0, 0x000fffff
awrite 0x000050, 0x00000001 // EVT0
awrite 0x000054, 0x00000001 // EVT1
awrite 0x000058, 0x00000001 // EVT2
awrite 0x00005C, 0x00000001 // EVT3
awrite 0x000060, 0x00000001 // EVT4
awrite 0x000074, 0x00000001 // EVT9
.end
But when we try to read back these registers in u-boot or Linux, their value are still 0. Is there a way to confirm that the write was properly handled ?
Regards,
Frank