Search found 3 matches

by KiteFlier
Mon Mar 26, 2018 1:12 pm
Forum: General discussions
Topic: Using STLink-v2 with debug adapter
Replies: 7
Views: 975

Re: Using STLink-v2 with debug adapter

Hi, Thanks. Mine is http://artofcircuits.com/product/st-link-v2-mini-stm8-stm32-programmer-debugger-with-metallic-case. Console output is as follows: openocd -d2 -f interface/stlink-v2.cfg -f target/stm32f4x_stlink.cfg -c init -c targets -c "reset halt" \ -c "flash write_image erase cf2.bin 0x800400...
by KiteFlier
Mon Mar 26, 2018 12:47 pm
Forum: General discussions
Topic: Using STLink-v2 with debug adapter
Replies: 7
Views: 975

Re: Using STLink-v2 with debug adapter

Hi, My STLink v2 is the blue one. Just to confirm the below connection is correct as I still encounter "Unable to connect to target" when make flash. GND (STLink-V2) --> GND (STM32 Discovery Debug pin) SWDIO (STLink-V2) --> SWDIO (STM32 Discovery Debug pin) SWCLK (STLink-V2) --> SWCLK (STM32 Discove...
by KiteFlier
Sat Mar 24, 2018 9:11 am
Forum: General discussions
Topic: Using STLink-v2 with debug adapter
Replies: 7
Views: 975

Using STLink-v2 with debug adapter

Hi, I am trying to using STLink-V2 with debug adapter to debug and flash crazyflie 2. I use make flash and encounter error ("Unable to connect to target"). Am I doing it in the right way by (1) connecting the STLink v2 to the debug adapter via STM32 Discovery Debug pin and SWV to the CrazyFlie 2 and...