I'm trying to hack my CF2 using an SWD programmer (from the ST nucleo board) and openocd.
I can flash the software easily using either openocd via telnet or using the Makefile (make flash etc etc.).
I'm experiencing a lot of trouble with the firmware...
I have flashed, in this order:
- crazyflie2-stm-bootloader (Release version) on the STM32F4
- crazyflie-firmware-2015.08.1 (Release version) on the STM32F4
Next on the NRF51 I have flashed everything from:
- crazyflie2-nrf-firmware-2015-08.1 (Release version) using 'make factory_reset'
At the end of this procedure I obtain a BLUE LED (that one connected to the NRF) stucked on and anything else.
Meausuring with the tester it seems the NRF does not enable the cortex's voltage regulator and the cortex doesn't run.
If I mass erase the NRF flash the cortex run and the RED led flash 5 times.
So, any idea?
Thanks in advance
Roberto
P.S. Openocd returns me the following warning but I do not think is related with my issue
Code: Select all
Warn : Unknown device (HWID 0x00000057)
Warn : using fast async flash loader. This is currently supported
Warn : only with ST-Link and CMSIS-DAP. If you have issues, add
Warn : "set WORKAREASIZE 0" before sourcing nrf51.cfg to disable it