sandeepmistry / arduino-nRF5

Arduino Core for Nordic Semiconductor nRF5 based boards
Other
872 stars 278 forks source link

STlink-V2 issue with Waveshare #491

Open akshaych92 opened 1 year ago

akshaych92 commented 1 year ago

Hi, I am using waveshare's https://robu.in/product/bluetooth-4-0-nrf51822-eval-kit/ and using STM32f407 discovery board (removing the jumpers for using SWD connector) for flashing using onboard STlink V2

But after trying to flash get the below error `Arduino: 1.8.19 (Windows 10), Board: "Waveshare BLE400, 32 kB RAM, 256 kB flash (xxac), S130"

c:/users/akshay.chaturvedi/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes

c:/users/akshay.chaturvedi/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes

c:/users/akshay.chaturvedi/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes

c:/users/akshay.chaturvedi/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes

c:/users/akshay.chaturvedi/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes

c:/users/akshay.chaturvedi/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes

Sketch uses 31932 bytes (21%) of program storage space. Maximum is 151552 bytes.

Open On-Chip Debugger 0.10.0-dev-00254-g696fc0a (2016-04-10-10:13) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 0 0x4000 adapter speed: 1000 kHz Error: open failed in procedure 'program' in procedure 'init' called at file "embedded:startup.tcl", line 473 in procedure 'ocd_bouncer' OpenOCD init failed shutdown command invoked

the selected serial port does not exist or your board is not connected

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. `

can anyone help with possible solution

nuhaildam commented 1 year ago

same issue with me