Giter VIP home page Giter VIP logo

Comments (12)

ibndias avatar ibndias commented on August 24, 2024 2

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.

ibndias avatar ibndias commented on August 24, 2024 2

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

roycewilliams avatar roycewilliams commented on August 24, 2024

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.

conashin avatar conashin commented on August 24, 2024

So, do we need any other things when flashing nrf52840 dongle?

from opensk.

conashin avatar conashin commented on August 24, 2024

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.

conashin avatar conashin commented on August 24, 2024

@SuperDeron System pop-up this window when I was trying to flash it.
IMG_20200212_162643_965

Does it need something else with hardware?

from opensk.

jmichelp avatar jmichelp commented on August 24, 2024

According to the very first line in the dialog window, your JLink probe is not detected: "No emulators connected via USB"

from opensk.

jrvanwhy avatar jrvanwhy commented on August 24, 2024

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.

jmichelp avatar jmichelp commented on August 24, 2024

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.

jrvanwhy avatar jrvanwhy commented on August 24, 2024

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.

jmichelp avatar jmichelp commented on August 24, 2024

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.

roycewilliams avatar roycewilliams commented on August 24, 2024

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)

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.