Hi,
We have a custom TDA4V-mid board running QNX on A72.
We are trying to configure Physical Timer from user space. We tried to enable the timer by writing to CNTP_CTL_EL0 register.
For writing we are using this call:
aa64_sr_wr32(cntp_ctl_el0, val);
Once this function is invoked we are getting this error:
Process 335884 (timer) terminated SIGILL code=5 fltno=2 ip=00000000100c8b18(/sd/ph00_qnx/./timer@_btext+0x00000000000001e8) mapaddr=0000000000000b18.
Illegal instruction (core dumped)
We tried to read/write from/to other registers as well but we are always getting the same errors (with different code).
What could cause this behaviour?
Thanks,
Mladen Stupar