1 Reply Latest reply on Feb 26, 2013 5:19 PM by jasonrc
      • 1. Re: Printing from a timed event function in a worker thread causes watchdog
        The default stack size of the WICED_HARDWARE_IO_WORKER_THREAD is only 512 bytes.


        See the definition here:





        Printing requires at least 4kB as noted in





        So, when you try to print from the WICED_HARDWARE_IO_WORKER_THREAD, the thread blows its stack and the system probably crashes.



        FYI, the WICED_NETWORKING_WORKER_THREAD has a 6kB stack size by default, so it is ok to print from this thread by default.