I'm debugging WDOG circuit coming from the EVK for IMX6ULL.
I tried to read the register WDOG1_WCR but with bus error
/unit_tests# ./memtoool 0x20bc000 1
Reading 0x1 count starting at adUnhandled fault: external abort on non-linefetch (0x1008) at 00
pgd = 88718000
[76f63000] *pgd=88c4f835, *pte=020bc703, *ppte=020bce33
dress 0x020BC000
Bus error
Why???
Do you have an examples about how WDOG works?
thanks
Hi Fabio
one can check if wdog clocks are enabled in CCM_CCGR3 register,
for testing one can try unit tests:
wdog\test - imx-test - i.MX Driver Test Application Software
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
the clock in CCN_CCGR3 is correctly enabled
the test you indicated die :-(
it is not able to access to register 0x21cc000 ... it blocks
Any other suggestion?
Thanks
unit tests should work fine with nxp linux releases from
source.codeaurora.org/external/imx/linux-imx repository
linux-imx - i.MX Linux kernel
So suggest try them or Demo Images from
i.MX Software and Development Tools | NXP
Best regards
igor