Page 1 of 1

Crazyclone

Posted: Thu May 23, 2019 5:49 am
by fmaina
Hi. I am currently working on a custom made board where the my professor wanted to make a hexarotor from the crazyflie quadrotor. The board is a clone of crazyflie 1.0 with the only padded output being the pin-out for the two extra motors. I have flashed the board with the crazyflie firmware (cf2 bin) but the board does not come-up. Can someone guide me on how to flash a new (never flashed) crazyflie.

Re: Crazyclone

Posted: Thu May 23, 2019 7:27 am
by tobias
It it is a crazyflie 1.0 you need to flash the 1.0 FW which is not developed any more, but can still be build. Read about it in this blog post.

PS. Would be nice to see a picture if you have :D . DS

Re: Crazyclone

Posted: Thu May 23, 2019 9:07 am
by fmaina
Thanks for the reply. sorry for the mistake in the previous post, actually the board is clone of the Crazyflie 2.0. I have attached the schematic in pdf of the board I adapted. I now need to load to crazyflie firmware from scratch. the pin_out have not changed and only added pins for two extra motors and LED to suit a hexarotor design.

Re: Crazyclone

Posted: Fri May 24, 2019 9:16 am
by tobias
Nicely done, I hope you write more about it as you progress.

For the nRF51 there is a make target "factory_reset" this should flash bootloader and such. Here you need to use SWD

For the STM32 you need to flash first the bootloader, then the FW using the STM32 SWD.

Re: Crazyclone

Posted: Sat May 25, 2019 7:40 am
by fmaina
Thanks #tobias. I will update the progress. for now am still in the incubation stage. I have two questions though. I am using the st-link debugger (white one) . It does complete memory erase when flashing new firmware. How do i manage all the three firmwares without erasing the previous. On the case of the nrf51, crazyflie disconnected the pinout for the chip in their design. Do i need to reconnect the pinouts to flash the nrf firmware or i can still flash it through the SWD via the stm32.

Re: Crazyclone

Posted: Tue May 28, 2019 4:19 am
by fmaina
tobias wrote:
Fri May 24, 2019 9:16 am
Nicely done, I hope you write more about it as you progress.

For the nRF51 there is a make target "factory_reset" this should flash bootloader and such. Here you need to use SWD

For the STM32 you need to flash first the bootloader, then the FW using the STM32 SWD.
Hello tobia, I am using ST-link SWD for the stm 32, is it possible to use it with the nrf. I am always getting an error 'writing address 0X00000000 is not supported with JTAG/SWD debug port'

Re: Crazyclone

Posted: Wed Jun 26, 2019 9:47 am
by fmaina
Hello. Can someone please help me out. I want to flash the nrf51822 for the crazyclone. I can successfully read and flash the hex into the chip. I am however confused on which hex and which sequence is should follow regarding softdevices, application and bootloader. I have the following hex generated from the program in the eclipse:
1. cload-nrf-V10. hex and nrf-mbs-V10.hex under bootloader
2. cf2-nrf.hex or bin
3. tag-nrf.hex
I also have the s110-nrf51822-7.3-softdevice.hex

Re: Crazyclone

Posted: Sat Jul 06, 2019 8:04 am
by fmaina
Thanks for those who took time to reply to me. I solved my problem.