btashton commented on pull request #2464:
URL: https://github.com/apache/incubator-nuttx/pull/2464#issuecomment-738652538


   > > You had also mentioned that the board resets several seconds after boot, 
this is likely because of the watchdog timer WTAUTO fuse. You might want to 
enable `CONFIG_WDT_DISABLE_ON_RESET` or enable `WDT_THREAD` (which it looks 
like is already enabled in the nsh configuration in master.
   > 
   > The originally `nsh` config is enable the `WDT`,  I don't know it's 
usefulness. But the board will auto reset by 5 seconds  after boot , and did 
this forever.let alone to handle SD Card initial. This issue I had have 
mentioned at [#2276 
](https://github.com/apache/incubator-nuttx/issues/2276#issue-739704580)
   
   This is all related. The watchdog thread does not work because sleeping does 
not work. 
   
   I would enable the `CONFIG_WDT_DISABLE_ON_RESET` that should stop the board 
from rebooting. 
   
   Then if you can use gdb to check if that function I mentioned is getting 
called we can figure out why the sleep is hanging. My guess is there is a clock 
configuration issue for this board.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to