Search found 9 matches

by dblockil
Wed May 11, 2022 4:15 pm
Forum: Bitcraze
Topic: Testing a Large number of Crazyflies
Replies: 2
Views: 9228

Re: Testing a Large number of Crazyflies

Ok thanks.

Dan
by dblockil
Tue May 10, 2022 4:07 pm
Forum: Bitcraze
Topic: Testing a Large number of Crazyflies
Replies: 2
Views: 9228

Testing a Large number of Crazyflies

Last year University of Illinois Aerospace department purchased a large number of CFs for its Quadrotor class. The class was very much a success thanks to the great products you sell. This class is only offered in the Fall. I have the task of testing the 80 Crazyflies that students used last Fall ov...
by dblockil
Fri Jul 02, 2021 4:12 pm
Forum: Developer Discussions
Topic: Does the DEBUG_PRINT_ON_SWO define work?
Replies: 8
Views: 1858

Re: Does the DEBUG_PRINT_ON_SWO define work?

Yes I have tried to run both at the same time. I am testing this on a Ubuntu 18.04 machine, not the virtual machine. Here are the steps I tried: 1. In a separate terminal from VSCode, I changed to the firmware's folder and ran make rtt. This launches fine. 2. Then inside VSCode I click the green arr...
by dblockil
Thu Jun 24, 2021 10:12 pm
Forum: Developer Discussions
Topic: Does the DEBUG_PRINT_ON_SWO define work?
Replies: 8
Views: 1858

Re: Does the DEBUG_PRINT_ON_SWO define work?

I installed openocd 0.11 from source and now "make rtt" works. Thanks. It is not quite what I am wanting though. Maybe I am asking for too much but I would both like be able to single set through the CF code and have the DEBUG_PRINT messages print to the telnet session. Is that possible? H...
by dblockil
Wed Jun 23, 2021 5:17 pm
Forum: Developer Discussions
Topic: Does the DEBUG_PRINT_ON_SWO define work?
Replies: 8
Views: 1858

Re: Does the DEBUG_PRINT_ON_SWO define work?

Could you step me through the procedure to try this out. I have not had success yet to get OpenOCD working. It looks like openocd does not like the rtt command on my end. Here is what I tried: I cloned the latest crazyflie firmware just in case I missed something. I made config.mk and uncommented th...
by dblockil
Tue Jun 22, 2021 9:20 pm
Forum: Developer Discussions
Topic: Does the DEBUG_PRINT_ON_SWO define work?
Replies: 8
Views: 1858

Re: Does the DEBUG_PRINT_ON_SWO define work?

Does the DEBUG_PRINT_ON_SEGGER_RTT flag work? Would I need a different debugger than the ST_LINK V2? Does this different debugger work with GDB in VS Code?
by dblockil
Tue Jun 22, 2021 9:12 pm
Forum: Developer Discussions
Topic: ENABLE_UART1 and DEBUG_PRINT_ON_UART for UART debug prints
Replies: 3
Views: 1110

Re: ENABLE_UART1 and DEBUG_PRINT_ON_UART for UART debug prints

In system.c, I changed the baud rate to 115200 and the CF boots all the way with no assertfails. Thinking about RAM issues when using DMA, made me think that the serial port was not sending fast enough and too many characters were being buffered. So by changing the baud rate maybe this does not happ...
by dblockil
Mon Jun 21, 2021 9:32 pm
Forum: Developer Discussions
Topic: Does the DEBUG_PRINT_ON_SWO define work?
Replies: 8
Views: 1858

Does the DEBUG_PRINT_ON_SWO define work?

Looking at Debug.h I noticed there was a define DEBUG_PRINT_ON_SWO. I am thinking that the intent of this define is when active the DEBUG_PRINT command will print to the console of the GDB (connected through the debug adapter and the ST-LINK/V2) instead of printing to the CFClient Console. I modifie...
by dblockil
Mon Jun 21, 2021 9:24 pm
Forum: Developer Discussions
Topic: ENABLE_UART1 and DEBUG_PRINT_ON_UART for UART debug prints
Replies: 3
Views: 1110

ENABLE_UART1 and DEBUG_PRINT_ON_UART for UART debug prints

I am trying to enable UART1 for debug prints instead of having DEBUG_PRINT print through the radio or USB. In the crazyflie firmware I edited the Makefile and added CFLAGS += -DENABLE_UART1 CFLAGS += -DDEBUG_PRINT_ON_UART The code compiles and flashes to my CF 2.1. But when I turn my CF 2.1 on, it d...