Problem flashing BLE code #191
-
Hi, I have ordered a board from JLCPCB with all parts assembled and am using the J-Link EDU mini programmer. I have connected the parasite according to this pinout plan: connecting the parasite's board VCC to pin 1, IO to pin 2, CLK to pin 4 and GND to pin 3 (according to the Wiki ). I was able to build the BLE sample code, but when I try to flash it I get the error
I presume the line saying When I power the parasite with the battery (and don't connect VCC), I receive a similar error, but with the message I first thought that there's a short circuit on the board, but with inserted battery the voltage between VCC and GND is stable around 3.1V. Any idea what I am doing wrong or how I can figure out what the problem is? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @fsalfner-dev, I believe the J-Link EDU Mini cannot power the target. The actual pinout is: The main difference being pin 1 -- VTref instead of VCC. So this explains why you're seeing 0 volts in the first scenario, as the target has no power. For the second scenario, I would expect it to work. I would:
Let us know how it goes. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much @rbaron . Your hint that the J-Link Edu mini cannot power the parasite, and that the first pin is VTref rather than VCC helped me to find a solution: I had to connect VCC to VTref and power the parasite with the battery. Since the Wiki suggests to not connect both at the same time, I might add a hint to the wiki, too. Thanks @rbaron, this is an awesome project! |
Beta Was this translation helpful? Give feedback.
Thank you very much @rbaron .
Your hint that the J-Link Edu mini cannot power the parasite, and that the first pin is VTref rather than VCC helped me to find a solution:
I had to connect VCC to VTref and power the parasite with the battery.
Since the Wiki suggests to not connect both at the same time, I might add a hint to the wiki, too.
Thanks @rbaron, this is an awesome project!