Cannot flash custom firmware

Firmware/software/electronics/mechanics
Post Reply
droneteamNOK
Beginner
Posts: 5
Joined: Fri Oct 23, 2020 8:25 am

Cannot flash custom firmware

Post by droneteamNOK »

Hi!

I'm trying to get the crazyflie 2 and the lighthouse deck to work with multiple steamvr -basestations. From what I understand I need to edit the firmware and flash it to the drone, specifically the

Code: Select all

#define PULSE_PROCESSOR_N_BASE_STATIONS 
in pulse_processor.h from 2 to a larger number, in my case 4. I have done this and zipped the custom firmware, but when I try to flash it to the crazyflie with cfclient, the client says "Flashing" for a few seconds, then for a tiny amount of time it says "Resetting to firmware, disconnected" and then disconnects the drone. How can I make the client not do this?

Thanks!
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Cannot flash custom firmware

Post by tobias »

Support for more then 2 basestations doesn't work yet. Please see this thread where it is also discussed.
narulaprince65
Beginner
Posts: 1
Joined: Mon Aug 23, 2021 2:31 pm

Re: Cannot flash custom firmware

Post by narulaprince65 »

I have the same issue. Any tips for solution? spice money
teatv apk
jonasdn
Expert
Posts: 132
Joined: Mon Mar 01, 2021 3:13 pm

Re: Cannot flash custom firmware

Post by jonasdn »

Hi!

Before we start debugging the flashing issues please make sure you have the latest version of both the cfclient and the cflib!

You can check the versions by:

Code: Select all

$ pip show cflib

Code: Select all

$ pip show cfclient
And you can attempt to upgrade them by:

Code: Select all

$ pip install --upgrade cflib --user 

Code: Select all

$ pip install --upgrade cfclient --user 
Jonas
Post Reply