Hi all,
I am using DMTimer 4 in AM335x to start enable ADC in HW synchronized one shot mode operation on Linux Platform. In the driver when i read the registers of Timer 4 i get following error:
Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa04a000
Internal error: : 1028 [#1]
When i try to read the same register using devmem2 utility, i get following error.
devmem2 0x48044000 w
/dev/mem opened.[ 44.930023] Unhandled fault: external abort on non-linefetch (0x1018) at 0x400d4000
Memory mapped at address 0x400d4000.
Bus error
I checked on the forum for similar issues and got to know that it can be something related to enabling clocks in L4S interconnect
When i read the register to enable clocks for L4S interconnect and Timer 4 i get following:
# devmem2 0x44e00000
/dev/mem opened.
Memory mapped at address 0x400c7000.
Read at address 0x44E00000 (0x400c7000): 0x18004502
# devmem2 0x44e00060
/dev/mem opened.
Memory mapped at address 0x400be000.
Read at address 0x44E00060 (0x400be060): 0x00000002
My observation is L4S intrrconnect is enabled but clock for timer4 is not.
I also removed the feature to disable all the unused clocks in linux (linux-3.2.0-psp04.06.00.10/arch/arm/plat-omap/clock.c)
//late_initcall(clk_disable_unused);
What could be the issue?? Please help...
Thanks in advance
Regards,
Prateek