GithubHelp home page GithubHelp logo

Programming the board? about hawk HOT 5 OPEN

malphaswats avatar malphaswats commented on August 15, 2024 1
Programming the board?

from hawk.

Comments (5)

J-P-Projects avatar J-P-Projects commented on August 15, 2024

I have an assembled board ready to program.
Could anyone comment of how this is done?

from hawk.

twopoint718 avatar twopoint718 commented on August 15, 2024

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.

twopoint718 avatar twopoint718 commented on August 15, 2024

@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.

MalphasWats avatar MalphasWats commented on August 15, 2024

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.

twopoint718 avatar twopoint718 commented on August 15, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.