Comments (12)
Looking more closely, I see that the upstream Tock docs do cover the docs part somewhat. If it is only possible to use the J-Link EDU with the full development board, and not the USB stick version, or what combinations might work, covering that in the README would also be helpful for users who don't have a lot of JTAG experience.
Do you already have Jlink installed?
If not then install from this .deb
Jlink Linux 64
from opensk.
@conashin if you had an error like
FileNotFoundError: [Errno 2] No such file or directory: 'JLinkExe': 'JLinkExe'
Then yes, but make sure you're downloading the right one for your platform.
JLink Download Page
from opensk.
Looking more closely, I see that the upstream Tock docs do cover the docs part somewhat. If it is only possible to use the J-Link EDU with the full development board, and not the USB stick version, or what combinations might work, covering that in the README would also be helpful for users who don't have a lot of JTAG experience. 😳
from opensk.
So, do we need any other things when flashing nrf52840 dongle?
from opensk.
Looking more closely, I see that the upstream Tock docs do cover the docs part somewhat. If it is only possible to use the J-Link EDU with the full development board, and not the USB stick version, or what combinations might work, covering that in the README would also be helpful for users who don't have a lot of JTAG experience.
Do you already have Jlink installed?
If not then install from this .deb
Jlink Linux 64
Can I install a jlink flasher?
https://www.segger.com/downloads/flasher/JLink_Linux_x86_64.deb
from opensk.
@SuperDeron System pop-up this window when I was trying to flash it.
Does it need something else with hardware?
from opensk.
According to the very first line in the dialog window, your JLink probe is not detected: "No emulators connected via USB"
from opensk.
I deployed OpenSK to a nrf52840-DK using OpenOCD rather than JLinkExe. To do so, I needed an up-to-date version of OpenOCD (newer than my distro packages), and I made tweaks to tockloader, tock, and OpenSK's deploy.sh.
I'll work on upstreaming (less hacky versions of) the changes I've made. Upstreaming will take some time, as I expect to make changes serially across three repositories. I'll open a separate issue for OpenOCD support when I've made enough progress to put together a coherent issue title/body.
from opensk.
Thanks Johnathan! Be aware that I'm currently almost done rewriting the deploy.sh
script in python3. This should give us more flexibility and portability (python3 is already a dependency for tockloader anyway).
Let's coordinate so that I'm not adding more work to merge your contributions.
from opensk.
Thanks Johnathan! Be aware that I'm currently almost done rewriting the
deploy.sh
script in python3. This should give us more flexibility and portability (python3 is already a dependency for tockloader anyway).Let's coordinate so that I'm not adding more work to merge your contributions.
I opened #35 to track/coordinate this effort. I don't expect it to collide with your deploy.sh changes. I added a flag to tockloader (tock/tockloader#52) then tweaked deploy.sh and tock so that I could pass the flags through.
from opensk.
PR #40 now checks for JLinkExe
.
Thanks to Johnathan and the community, it seems that we're going to be able to support different flashing methods, including using the pre-flashed Nordic bootloader. Covering how to setup the JTAG probes on everyone's environment is in my opinion out of scope for this project.
from opensk.
Yep, works just as intended - thanks for this!
For the upcoming native Nordic bootloader work - is that tracking under #35 ? Which issue(s) should I follow to track that? (I ask here so that other people with this interest can find the thread)
from opensk.
Related Issues (20)
- versions in develop should include FIDO_2_1 HOT 1
- "configuring device" step needs a confirmation prompt to replug device on nrf52840_dongle_dfu HOT 5
- AuthenticatorConfigParameters swaps pinUvAuthProtocol and pinUvAuthParam field IDs HOT 1
- error: failed to get `arrayref` as a dependency of package `ctap2 v1.0.0 (/home/USER/OpenSK)` HOT 6
- WebUSB compatible? HOT 4
- How to change pin in Makerdiary nRF52840-MDK USB dongle HOT 2
- Improve Tock patches
- Move storage syscalls
- Edit the readme to link to the Quantum paper and point to the implementation file.
- Setup script can't install pip packages to the user's environment on Arch Linux HOT 2
- nordic dfu in develop fails to configure HOT 4
- Key not supported on ios for Apple Id 2fa HOT 36
- wrong board type in flashing command in install.md HOT 1
- Suggested environment to be able to build/compile HOT 10
- nrf52840_dongle: deploy.py succeeds programming but testing board not recognised by testing webpages. HOT 12
- How to delete an account you no longer use? HOT 2
- Can't enable JTAG lockdown HOT 4
- `async` API for `Env`? HOT 3
- Misuse of const in sha256 module HOT 8
- Question: what is the purpose of `feature = "vendor_hid"`? HOT 2
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 opensk.