Hi all,
I had used memtool to read register but it would print below message.
Reading 0x1 count starting at adUnhandled fault: external abort on non-linefetch (0x1018) at 0x2aac5000
dress 0x53FC8000
Bus error
So I am not sure these address could be read by memtool. Maybe these address are not in the trustzone with MMU?
By the way, I find the solution for my flexcan driver issue. According the documentation of socketcan "can.txt" point this description in section 3.2 and 6.2, I add the device flag "IFF_ECHO" in flexcan/drv.c. The echo message would not be received itself and srx_dis register could be workable, too. I don't know why flexcan source code is not add this flag in default.
After all, the srx_dis bit is workable in my board but the flexcan driver need add IFF_ECHO flag to stop receiving message sent itself.
Ushnek