Comments (5)
I have an assembled board ready to program.
Could anyone comment of how this is done?
from hawk.
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.
from hawk.
@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:
Header pin | Function | JTAG 20-pin connector |
---|---|---|
1 | SWDIO | 7 |
2 | +3.3V | 1 (VTRef) |
3 | SWCLK | 9 |
- | N/C | - |
5 | RESET | 15 |
6 | GND | 4 |
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.
from hawk.
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!
from hawk.
If you're interested, I could write up what I did and run that by you. I was thinking of blogging that anyway.
from hawk.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hawk.