You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/06/25 12:39:53 UTC

[GitHub] [incubator-nuttx] gustavonihei opened a new pull request #3975: xtensa/esp32: Fix RTC WDT deinitialization on start routine

gustavonihei opened a new pull request #3975:
URL: https://github.com/apache/incubator-nuttx/pull/3975


   ## Summary
   This PR intends to fix the RTC WDT deinitialization on the NuttX startup.
   Write protection must be disabled before performing changes to the WDT registers. Furthermore, the routine was resetting the wrong field from the RTC WDT register.
   The `RTC_CNTL_WDT_FLASHBOOT_MOD_EN` field relates to Flash Boot Protection and it is enabled by the 1st stage bootloader. The 2nd stage bootloader takes care of disabling it.
   
   Then the 2nd stage bootloader enables the RTC WDT for checking the startup sequence of the application image.
   
   ## Impact
   Now it is now possible to once again enable the RTC WDT on the ESP32 2nd stage bootloader.
   
   ## Testing
   Tested `esp32-wrover-kit:nsh` with ESP-IDF vanilla 2nd stage bootloader.
   
   


-- 
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:
users@infra.apache.org



[GitHub] [incubator-nuttx] acassis merged pull request #3975: xtensa/esp32: Fix RTC WDT deinitialization on start routine

Posted by GitBox <gi...@apache.org>.
acassis merged pull request #3975:
URL: https://github.com/apache/incubator-nuttx/pull/3975


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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