sandeepmistry / arduino-nRF5

Arduino Core for Nordic Semiconductor nRF5 based boards
Other
892 stars 276 forks source link

Error while flashing SoftDevice - ID107HR, S130, HW/SW, COM4, BMP #421

Open Carbon18 opened 4 years ago

Carbon18 commented 4 years ago

Hi everybody - I could use a little help.

I think I sorted the softdevice version issue from 2.0.0 to 2.0.1. I change the URL in a script and updated the hex file. I finally got the Accept the Terms popup; however, I'm not sure why I'm still getting an error when I "nRF5 Flash SoftDevice". I have verbose output on for compilation and upload, but Arduino doesn't give me much information. Here's the only info:

Arduino: 1.8.13 (Windows 10), Board: "ID107HR, S130, I2C:Accel=HW, HeartRate=SW"

C:\Users...\AppData\Local\Arduino15\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-gdb -quiet -ex target extended-remote \.\COM3 -ex monitor swdp_scan -ex attach 1 -ex monitor erase mass -ex echo \nErase finished!\n -ex detach -ex quit

Remote debugging using \.\COM3 Target voltage: 3.3V SW-DP scan failed! Attaching to Remote target Attaching to Remote target failed Target does not support this command.

The program is not being run. Erase finished!

C:\Users...\AppData\Local\Arduino15\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-gdb -quiet -cd C:\Users...\AppData\Local\Arduino15\packages\micooke\hardware\nRF5\0.2.1/cores/nRF5/SDK/components/softdevice/s130/hex/ -ex target extended-remote \.\COM3 -ex monitor swdp_scan -ex attach 1 -ex monitor erase mass -ex load s130_nrf51_2.0.1_softdevice.hex -ex echo \nSoftdevice upload complete!\n -ex detach -ex quit

Remote debugging using \.\COM3 Target voltage: 3.3V SW-DP scan failed! Attaching to Remote target Attaching to Remote target failed Target does not support this command. Load failed Loading section .sec1, size 0x7c0 lma 0x0

The program is not being run. Softdevice upload complete!

I've changed the data cable six times with six different data cables. It seems to tell me the SoftDevice upload is complete but then it throws an error without much info. Any helpful input would be really appreciated...

Thanks!

Carbon18 commented 4 years ago

Really weird I got no input... Not even a lite jeering from the usual sarcastic Github troller...

I've updated the dfu-utility on the BMP. The lights started blinking like crazy. Hopefully that's good.