-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Programming the board? #3
Comments
I have an assembled board ready to program. |
It may be overkill, but I've picked up a J-LINK EDU which (should) work with pretty much any Cortex-M μC. While googling around I saw that the black magic probe may also work as well. I'll update this issue when I can confirm with my own hardware. |
@GHvsBB Okay, I can confirm that I can program the board using a J-Link (EDU model). I used the SWD debugging connection. You'll need to connect up the header pins as follows:
I'd imagine that there's some kind of breakout/adapter but I just used jumper wires. The VTRef connection is so that the debugger knows the board voltage level (3.3V). There's a separate +5V pin (no. 19) that could be used to supply power to the board (since the board has a voltage regulator), but I didn't use it. |
Sorry - I'm not used to having issues in my repos and totally didn't notice your question! I used a cheap ST-Link V2 clone I found on eBay to program it with SWD. I am planning to write this up at some point, although it ended up being more complicated than I expected because it required OpenOCD to be patched because of the cheap programmer! |
If you're interested, I could write up what I did and run that by you. I was thinking of blogging that anyway. |
It looks like "Programming" is coming up an a future installment, but in the mean time could you comment on what sort of debugger/programmer one would need to be able to program this board? For example, would a J-Link (SWD) work?
And thanks for the very clear intro to KiCad!
The text was updated successfully, but these errors were encountered: