Skip to content

How to switch cf2.0 to cf2.1 #843

Answered by krichardsson
CasperLiZ asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
there is something called the "device type", this is an identifier that is written to the hardware in production and is used when the system is booting to figure out how to configure it. If no device type identifier is found, the system will use Crazyflie 2.0 ("CF20") as a default, I assume this is what is happening in your case.

The device type is read in platform.c.

There are two options for you

  1. Write the correct device identifier to the hardware. I don't remember how to do this though, @tobbeanton can you help with this? Also, be a bit careful, I think this is memory that can only be written one time and never erased.
  2. Compile the firmware with DEVICE_TYPE_STRING_FORCE defined as "…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@CasperLiZ
Comment options

@justinleeyang
Comment options

@CasperLiZ
Comment options

@justinleeyang
Comment options

@justinleeyang
Comment options

Answer selected by CasperLiZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants