Page 1 of 1

Crazyflie bootloader

Posted: Tue Oct 22, 2013 9:14 am
by luokui111
Hi guys
I want to burn bootloader for crazyflie,my steps as follows:
1.use a JTAG connect to the crazyflie's JTAG port
2.use VM terminal,and then input
cd ~/projects/crazyflie-bootloader
make
make flash

but it comes some error like this

my JTAG like this:


why it comes?Is my JTAG's problem?

thanks

Re: Crazyflie bootloader

Posted: Wed Oct 23, 2013 8:28 am
by tobias
You need to define the right programmer interface to OpenOCD. Since you seem to have a JLINK try this:

Code: Select all

make flash OPENOCD_INTERFACE="interface/jlink.cfg"

Re: Crazyflie bootloader

Posted: Thu Oct 24, 2013 10:08 am
by luokui111
tobias wrote:You need to define the right programmer interface to OpenOCD. Since you seem to have a JLINK try this:

Code: Select all

make flash OPENOCD_INTERFACE="interface/jlink.cfg"
I have bought a Bus Blaster v4 and link it as the picture
I do it as you said ,but it comes:Error: Cannot find jlink Interface! Please check connection and permission.

Re: Crazyflie bootloader

Posted: Fri Oct 25, 2013 12:00 pm
by tobias
If you now have a bus blaster you need to specify openocd to use that interface.

Code: Select all

make flash OPENOCD_INTERFACE="interface/busblaster.cfg"