JLink JTAG Access on the Pinecil

(danielmangum.com)

54 points | by hasheddan 2 days ago ago

10 comments

  • jakedata 6 hours ago

    I bought a Pinecil so I could run it off a battery. I really came to appreciate the excellent temperature control and rapid heating, and use it instead of my soldering station for jobs away from the bench.

    I have felt absolutely no need to touch the firmware. I try to forget that it is more powerful than my first three personal computers combined. Plug in, turn on, get hot. It meets my needs and exceeded my expectations. I suppose I could run a website from it if I wanted to make a point but as long as it doesn't require wifi and phone home to verify the license and leak my biometric data I expect to use it until I wear it out.

  • zeafoamrun an hour ago

    It's been a long time since I messed around with this stuff, proprietary JTAG devices and debuggers used to be leaps and bounds ahead of open source ones. Is it still the same?

  • zoobab 9 hours ago

    Jlink is closed source.

    Better use dirtyJTAG on an rp2040.

    • josephinies 7 minutes ago

      JLink + Segger Ozone is so, so good though. Supper fast to flash and really nice debugger.

    • hasheddan 9 hours ago

      Agree RP2040 / RP2350 is great for debug and UART access! I wrote[0] about using picoprobe with this device as well.

      [0] https://danielmangum.com/posts/risc-v-bytes-accessing-pineci...

      • 05 8 hours ago

        I tried to use picoprobe to debug an nrf52 chip, it failed to even detect it.. All that’s officially supported is using it to debug a raspberry pi, and maybe if I added 100Ohm resistors to the lines I would have had better luck, but.. alas

        • duskwuff 4 hours ago

          > I tried to use picoprobe to debug an nrf52 chip, it failed to even detect it

          I've literally got a Pi Debug Probe and a nRF52840 dev board on my desk, so I gave it a shot - and it works just fine. Make sure the core is awake when you try to connect for debug, or connect under reset; SWD goes to sleep with the rest of the chip.

          > All that’s officially supported is using it to debug a raspberry pi

          The Pi Debug Probe is a generic DAPlink probe, and will work for pretty much any Cortex-M part. I routinely use mine for debugging STM32 parts.

    • 05 8 hours ago

      Doesn’t look like openocd is getting dirtyjtag support any time soon, the PR has stalled since 2003 it seems https://review.openocd.org/c/openocd/+/7344

    • Graziano_M 5 hours ago

      Why that over the debug probe firmware?

  • Sweepi 8 hours ago

    Good to see an "organic" J-Link + RISC-V use case :)