Debug crazyflie 2.0 JTAG

Firmware/software/electronics/mechanics
Post Reply
almaz_1c
Member
Posts: 43
Joined: Tue Dec 09, 2014 12:58 pm

Debug crazyflie 2.0 JTAG

Post by almaz_1c »

Hello.
I need to debug crazyflie 2.0 via JTAG. For this i connect JLink to debug adapter kit ( in 20 pin jack ) and connect debug adapter kit to crazyflie 2.0 via 6 pin jack. JLink can't detect quadcopter's chip. What I need to solder to connect quadcopter's chip with JLink via debug adapter kit?
Thank you.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Debug crazyflie 2.0 JTAG

Post by arnaud »

Hi, no there is nothing to solder.

Make sure the addapter board jumper is set to NRST and that JLink is well configured for SWD. That is how I can connect it:

Code: Select all

$ JLinkExe -if swd
SEGGER J-Link Commander V4.90b ('?' for help)
Compiled Aug 14 2014 11:20:56
DLL version V4.90b, compiled Aug 14 2014 11:20:48
Firmware: J-Link ARM V8 compiled Sep 22 2014 23:26:43
Hardware: V8.00
S/N: 158007830 
OEM: IAR 
VTarget = 2.963V
Info: Found SWD-DP with ID 0x2BA01477
Info: Found Cortex-M4 r0p1, Little endian.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
Info: TPIU fitted.
Info: ETM fitted.
Found 1 JTAG device, Total IRLen = 4:
Cortex-M4 identified.
Target interface speed: 100 kHz
J-Link>device STM32F405RG
Info: Device "STM32F405RG" selected (1024 KB flash, 128 KB RAM).
Reconnecting to target...
Info: Found SWD-DP with ID 0x2BA01477
Info: Found SWD-DP with ID 0x2BA01477
Info: Found Cortex-M4 r0p1, Little endian.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
Info: TPIU fitted.
Info: ETM fitted.
J-Link>
Post Reply