Reading Flash Contents of Crazyflie Serially

Firmware/software/electronics/mechanics
Post Reply
sammy1997
Beginner
Posts: 3
Joined: Thu Sep 19, 2019 4:53 am

Reading Flash Contents of Crazyflie Serially

Post by sammy1997 »

Hello Developers.
I have just started using Crazyflie. I am working with a research group, and we are trying to read the flash contents serially from Crazyflie's memory.

Can anyone provide any insight/reference to achieve this?

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

Re: Reading Flash Contents of Crazyflie Serially

Post by tobias »

Hi and welcome!

There are many ways to do it, could you maybe explain a bit more how you would like to do it? E.g. the expansion port I2C pins SDA, SCL are multiplexed with the USART1 which contains the STM324F05 ROM serial bootloader. Otherwise you could "spit out" the data on on of the expansion port UARTs.
sammy1997
Beginner
Posts: 3
Joined: Thu Sep 19, 2019 4:53 am

Re: Reading Flash Contents of Crazyflie Serially

Post by sammy1997 »

Thank you for replying!
I am trying to use stm32flash bootloader (https://sourceforge.net/p/stm32flash/wiki/Home/) to download the flash contents over the UART port. However, I am getting an error "Failed to init device". I can't find any useful resources online. Can you provide me some useful documentation on this problem?
Post Reply