How to directly operate registers in the application layer of IMX8QXP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to directly operate registers in the application layer of IMX8QXP

779 Views
zheliu
Contributor I

How to directly operate registers in the application layer of IMX8QXP? I use devmem or memtool to set and read register data, but it is not correct. Is there a special tool for IMX8QXP to read and write registers?

0 Kudos
Reply
3 Replies

669 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @zheliu 

you can use the pinconf-pins to see the register value, But if you want to change it, There is no way to complete it in sysfs, you can modify it by dts file.

B.R

0 Kudos
Reply

755 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @zheliu 

I use devmem or memtool to set and read register data, but it is not correct

>>>Could you tell more about this incorrect, what register did you change?

B.R

0 Kudos
Reply

713 Views
zheliu
Contributor I

zheliu_0-1735800613589.png

I want to read and write this register,

Use devmem to report bus error.

zheliu_1-1735800820104.png

 

0 Kudos
Reply