[SOLVED] Watchdog Timer & Crazyflie Reset Problem
Posted: Tue May 31, 2016 3:39 am
Hi,
I've spent a couple of days trying to track down a crazyflie problem with no luck in sight of solving it. The gtgps.c deck driver was rewritten to interface with the ublox max m8c gps receiver. After flashing a new binary (cf2.bin using firmware baseline 2016.05.28 or 2016.05.12), the crazyflie starts, but then after a few seconds resets without further communication with the client. On the client console tab it shows: "SYS:The system resumed after watchdog timeout [WARNING]", “SYS:No assert information found”. I believe this involves stm32f4xx_rcc.c, the independent watchdog timer and watchdog.c, but don't understand where the problem originates from. The gtgps (Titan-2) didn't exhibit this type of problem. The binary messages output by the Titan-2 ends with checksum bytes followed by a CRLF. The binary messages from the ublox end with checksum bytes only. Both receivers are outputting at a baudrate of 115200. Tried running at 9600 on the ublox crazyflie, but got the same problem result. Flashing the ublox driver into a crazyflie without a ublox expansion board nor running an equivalent driver configuration in a crazyflie with a ublox using an ealier version of firmware (2016.02.17) doesn't show or result in this watchdog timeout/reset.
This information may not give enough details to diagnose the likely culprit, identify the problem area or to postulate a fix, but any insight or thoughts that point to how to get around this problem would be greatly appreciated.
Best regards,
Jack
I've spent a couple of days trying to track down a crazyflie problem with no luck in sight of solving it. The gtgps.c deck driver was rewritten to interface with the ublox max m8c gps receiver. After flashing a new binary (cf2.bin using firmware baseline 2016.05.28 or 2016.05.12), the crazyflie starts, but then after a few seconds resets without further communication with the client. On the client console tab it shows: "SYS:The system resumed after watchdog timeout [WARNING]", “SYS:No assert information found”. I believe this involves stm32f4xx_rcc.c, the independent watchdog timer and watchdog.c, but don't understand where the problem originates from. The gtgps (Titan-2) didn't exhibit this type of problem. The binary messages output by the Titan-2 ends with checksum bytes followed by a CRLF. The binary messages from the ublox end with checksum bytes only. Both receivers are outputting at a baudrate of 115200. Tried running at 9600 on the ublox crazyflie, but got the same problem result. Flashing the ublox driver into a crazyflie without a ublox expansion board nor running an equivalent driver configuration in a crazyflie with a ublox using an ealier version of firmware (2016.02.17) doesn't show or result in this watchdog timeout/reset.
This information may not give enough details to diagnose the likely culprit, identify the problem area or to postulate a fix, but any insight or thoughts that point to how to get around this problem would be greatly appreciated.
Best regards,
Jack