Page 1 of 1

Reading Flash Contents of Crazyflie Serially

Posted: Thu Sep 19, 2019 5:01 am
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

Re: Reading Flash Contents of Crazyflie Serially

Posted: Thu Sep 19, 2019 8:22 am
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.

Re: Reading Flash Contents of Crazyflie Serially

Posted: Wed Oct 09, 2019 4:39 am
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?