Dear I.MX Community
Am trying to verify I2C2 Controller module registers in linux using devmem2, I have hereby attached my devmem2.c file
root@imx6ull14x14evk:/# devmem2 0x21A0000
Error at line 86, file devmem2.c (1) [Operation not permitted]
whereas, I was able to access other register using devmem for example as shown below
root@imx6ull14x14evk:/# devmem2 0x21EC08C w 0x00008200
Memory mapped at address 0x76f80000.
Value at address 0x21EC08C (0x76f8008c): 0x8000
Written 0x8200; readback 0x8000
Could you please let me know how this i2c memory map registers can be accessed using devmem2?
Requesting you to let me know if there any issues in the attached devmem2.c file or share me the working devmem2 file in your test setup
Kindly do the needful as early as possible, as I stuck in this issue from past 2 weeks
Eagerly awaiting for your replies
Many Thanks in adavnce