Crazyflie bootloader

Post here to get support
Post Reply
luokui111
Beginner
Posts: 4
Joined: Thu Oct 10, 2013 1:47 am

Crazyflie bootloader

Post by luokui111 » Tue Oct 22, 2013 9:14 am

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
Attachments
QQ图片20131022171434.jpg
123.JPG



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

Re: Crazyflie bootloader

Post by tobias » Wed Oct 23, 2013 8:28 am

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"

luokui111
Beginner
Posts: 4
Joined: Thu Oct 10, 2013 1:47 am

Re: Crazyflie bootloader

Post by luokui111 » Thu Oct 24, 2013 10:08 am

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.
Attachments
QQ图片20131024180215.jpg
QQ图片20131024180212.jpg
QQ图片20131024180202.jpg

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

Re: Crazyflie bootloader

Post by tobias » Fri Oct 25, 2013 12:00 pm

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"

Post Reply