0 Replies Latest reply on Jun 30, 2016 9:03 PM by alex.damosys_1740326

    How to use watchdog in BCM4390WCD2

    alex.damosys_1740326

      Hi

       

      Is there anybody  who use watchdog in BCM4390WCD2?

       

      1. SDK 3.1.2

      2. Target BCM4390

      3. Issue

           - Watchdog is not working in BCM4390WCD ( SPIL SIP N04)

           - Device : BCM94390WCD with SPIL N-04 module

       

      4. Tested environment

         1) BCM94390WCD2  : Watchdog is not working

         2) BCM943362WCD4  : Watchdog is working well.

             - Test sample project :    threead_monior

             - Code in platform :

                  PLATFORM_DEFINE_ISR( dbg_watchdog_irq )

                  {

                      /* If the code breaks here, it means that the independent watchdog is about to bite.

                       * Observe the Debug view and examine where the software gets stuck and why

                       * the watchdog wasn't kicked.

                       * Click "Resume" to continue and let the actual watchdog take effect.

                       */

                      TIM7->SR = (uint16_t)~TIM_IT_Update;

                      //WICED_TRIGGER_BREAKPOINT( );

                  }

      5.  Test result in console in BCM94390

                  Do some work

                  Updating monitor: 6028

       

                  Do some work

                  Updating monitor: 6029

       

                  Do some work

                  Updating monitor: 6030

       

                  Do some work

                  Updating monitor: 6031

      5.  Test result in console in BCM943362WCD4

       

                  Do some work

                  Updating monitor: 7

       

                  Do some work

                  Updating monitor: 8

       

                  Do some work

                  Updating monitor: 9

       

                  Uh oh, I'm about to watchdog because an unexpected delay occurred!

       

                  Do some work

       

       

                  Starting WICED v3.1.2

                  Platform BCM943362WCD4 initialised

                  Started FreeRTOS v7.5.2

                  Initialising LwIP v1.4.0.rc1

                  OK 1 Initialising LwIP v1.4.0.rc1

                  OK 2 Initialising LwIP v1.4.0.rc1

                   after wiced_dct_read_lock

       

       

                  wwd_management_init called

                  before wwd_management_init call

                  WWD SDIO interface initialised

                  WLAN MAC Address : 02:0A:F7:02:EC:4D

       

                  WLAN Firmware    : wl0: Nov  7 2014 16:03:45 version 5.90.230.12 FWID 01-0

                   wiced_wlan_connectivity_init OK

       

       

                  Registering my thread monitor

       

                  Do some work

                  Updating monitor: 0

       

                  Do some work

       

      Any information is highly appreciated

       

      TKS