This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How could I program the BMD-300 with a nRF52 Preview Development Kit?

Hello Everyone,

I want to program the BMD-300 with the nRF52 Preview Development Kit. I have connected:

BMD-300 -> nRF52-DK

SWDIO -> SH_SWDIO (pin #4) on P20

SWDCLK -> SH_SWDCLK (pin #5) on P20

VDD -> SH_VTG (pin #3) on P20

GND -> SH_GND_DETECT (pin #8) on P20

The BMD-300 is powered by a generator (3V).

image description

JTAG connector: www.tag-connect.com/.../TC2050-IDC-NL Datasheet.pdf


Now, when I use nRFgo Studio, it doesn’t work: Following Text is written:

Latest motherboard firmware: 7000 Boards connected: No boards connected.


When I use µvision (Keil), it doesn’t work too. Following Text is written:

JLink – Cortex-M Error No Cortex-M SW Device Found

µVision Error: Flash Download faild – Target DLL has been cancelled

Build Output:

JLink info:

DLL: V5.12f, compiled May 17 2016 16:03:35

Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 15 2016 18:03:17

Hardware: V1.00

S/N : 682984698

JLink Info: Found SWD-DP with ID 0x2BA01477

JLink Error: Communication timed out: Requested 20 bytes, received 0 bytes ! Could not read hardware status!

Error: Flash Download failed - Target DLL has been cancelled


If someone knows, what I have done wrong, I would be happy, if he/she could help me.

Thank you

Parents
  • BMD300 require performing recovery before flashing softdevice. do nrfjprog --family nrf52 --recover before you try anything else.

    Also in my experience it is quite poor quality oftentimes nRFGoStudio says flash is not erased despite --recover and many attempts of full chip erase. And since I have no remedy for that I have to discard a chip and take new one. Any ideas what it may mean?

  • could you compile your example program in keil, enter debug session (Ctrl-F5) and check that little yellow arrow is on the lefo of one of the first lines of main() function in main.c file? If there's no arrow it means that your program never completes the init. If it's there it means that errors are in your code not in the debugging setup.

Reply Children
No Data
Related