Crazyflie Firmware UART1 Receive Data Problems
Posted: Fri Jun 17, 2016 1:25 am
Hi,
The latest Github crazyflie-firmware-master commit 2016.06.14 (as well as that of the prior commit 2016.05.28) contains changes that are causing problems when using the uart1Getchar() function in module uart1.c. Using the uart1Putchar() function appears to remain successfully working.
The symptoms when attempting to receive asynchronous serial data communication using UART1 appear to be timing related, but there may be problems associated with the uart1 interrupt service handling links. With all the restructuring of code, it is unclear which segments are primarily responsible. Watchdog timeouts occur causing a crazyflie reset, but the origin of the problem remains unknown. Unfortunately, I'm not familiar with using either the debug build or debug module.
I've done a little tracking of the recent captured firmware:
..crazyflie-firmware 2016.02.12 (release date Feb 17th) works fine
..crazyflie-firmware-master 2016.02.24 (github) works fine
..crazyflie-firmware-master 2016.05.12 (github) works fine
..crazyflie-firmware-master 2016.05.19 (github) works fine
..crazyflie-firmware-master 2016.05.28 (github) has uart1 problems
..crazyflie-firmware-master 2016.06.14 (github) has uart1 problems
Currently, integration of the globaltop or ublox gps receivers into the latest development commits is not possible.
Best regards,
Jack
The latest Github crazyflie-firmware-master commit 2016.06.14 (as well as that of the prior commit 2016.05.28) contains changes that are causing problems when using the uart1Getchar() function in module uart1.c. Using the uart1Putchar() function appears to remain successfully working.
The symptoms when attempting to receive asynchronous serial data communication using UART1 appear to be timing related, but there may be problems associated with the uart1 interrupt service handling links. With all the restructuring of code, it is unclear which segments are primarily responsible. Watchdog timeouts occur causing a crazyflie reset, but the origin of the problem remains unknown. Unfortunately, I'm not familiar with using either the debug build or debug module.
I've done a little tracking of the recent captured firmware:
..crazyflie-firmware 2016.02.12 (release date Feb 17th) works fine
..crazyflie-firmware-master 2016.02.24 (github) works fine
..crazyflie-firmware-master 2016.05.12 (github) works fine
..crazyflie-firmware-master 2016.05.19 (github) works fine
..crazyflie-firmware-master 2016.05.28 (github) has uart1 problems
..crazyflie-firmware-master 2016.06.14 (github) has uart1 problems
Currently, integration of the globaltop or ublox gps receivers into the latest development commits is not possible.
Best regards,
Jack