-
Notifications
You must be signed in to change notification settings - Fork 289
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
JLinkExe missing during flash build (nrf52840_dongle) #30
Comments
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. 😳 |
So, do we need any other things when flashing nrf52840 dongle? |
Do you already have Jlink installed? |
Can I install a jlink flasher? |
@conashin if you had an error like |
@SuperDeron System pop-up this window when I was trying to flash it. Does it need something else with hardware? |
According to the very first line in the dialog window, your JLink probe is not detected: "No emulators connected via USB" |
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. |
Thanks Johnathan! Be aware that I'm currently almost done rewriting the 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. |
PR #40 now checks for 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. |
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) |
I'm the "total noob use case" smoke tester this week. 😆
Expected Behavior
Actual Behavior
Steps to Reproduce the Problem
board=nrf52840_dongle ./deploy.sh os app
without JLinkExe availableSpecifications
The text was updated successfully, but these errors were encountered: