Live data from Hacker News

JLink JTAG Access on the Pinecil

danielmangum.com

11–18 of 18 posts

Re: JLink JTAG Access on the Pinecil

#13
post #6

Earlier quoted context omitted.

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

> 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 i…

'Connect under reset' is an STM32 thing, nrf52840 can't really do that and the probe doesn't use hardware reset pin. Once the MCU is out of pin reset, Ctrl-AP can hold the mcu in soft reset, but that's the standard behavior.

The difference between Pico and Pi Debug Probe are those 100Ω resistors on CLK/DIO lines, so I guess it working for you means I need to try again with resistors soldered.

Thanks for verifying it works!

Re: JLink JTAG Access on the Pinecil

#14
post #7

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 expectati…

I saw one useful feature added, which was support for lower resistance tips. You can also get it to report on the input voltage which is marginally useful if running on battery.

Most of it seems to be people having fun. Animations, enabling Bluetooth, web interfaces over aforementioned Bluetooth, etc. That's all pretty cool and hacker news is hardly the place to question why you'd want to do it, but I'll admit I find the number of people interested in hacking on a soldering iron a bit of a surprise!

Re: JLink JTAG Access on the Pinecil

#15
post #13

Earlier quoted context omitted.

> 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 i…

'Connect under reset' is an STM32 thing, nrf52840 can't really do that and the probe doesn't use hardware reset pin. Once the MCU is out of pin reset, Ctrl-AP can hold the mcu in soft reset, but that's the standard behavior. The difference between Pico and Pi Debug Probe are those 100Ω resistors on CLK/DIO lines, so I guess it working for you means I need to try again with resistors soldered. Thanks for verifying it…

There's basically zero chance 100Ω resistors are contributing to your issues on a protocol that is host-clocked and can operate in the single kilobaud range.

Lower speed or try one of the other fifty debug firmware projects.

https://github.com/raspberrypi/debugprobe

https://github.com/bugadani/rusty-probe-embassy

https://github.com/probe-rs/rusty-probe

https://github.com/ciniml/rust-dap

https://github.com/ccattuto/rp2040-dap-probe

Not all firmware implements all modes or the CMSIS-DAP spec correctly (most don't implement JTAG, either.)

Re: JLink JTAG Access on the Pinecil

#16
post #15
post #13

Earlier quoted context omitted.

'Connect under reset' is an STM32 thing, nrf52840 can't really do that and the probe doesn't use hardware reset pin. Once the MCU is out of pin reset, Ctrl-AP can hold the mcu in soft reset, but that's the standard behavior. The difference between Pico and Pi Debug Probe are those 100Ω resistors on CLK/DIO lines, so I guess it working for you means I need to try again with resistors soldered. Thanks for verifying it…

There's basically zero chance 100Ω resistors are contributing to your issues on a protocol that is host-clocked and can operate in the single kilobaud range. Lower speed or try one of the other fifty debug firmware projects. https://github.com/raspberrypi/debugprobe https://github.com/bugadani/rusty-probe-embassy https://github.com/probe-rs/rusty-probe https://github.com/ciniml/rust-dap https://github.com/ccattuto/rp…

Okay i'm officially a dumbass - looking at the pinout i can clearly see Arduino pins and normal GPIO pins are mixed up on the board I used (seeed xiao rp2040). Arduino strikes again!

Just checked - of course if works fine on proper pins

Re: JLink JTAG Access on the Pinecil

#17
post #7

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 expectati…

Do you run it at 20V or USB 5V? I ask because I found it heated up very slowly at 5V (and had trouble maintaining high heat), while once I got a nice USB PD power supply, it worked very well.

It replaced my weller almost instantly (the weller just inserts heat insert nuts now).

Re: JLink JTAG Access on the Pinecil

#18
post #17
post #7

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 expectati…

Do you run it at 20V or USB 5V? I ask because I found it heated up very slowly at 5V (and had trouble maintaining high heat), while once I got a nice USB PD power supply, it worked very well. It replaced my weller almost instantly (the weller just inserts heat insert nuts now).

20v everywhere plus I made up a high power DC power cord with a barrel connector. My company’s marketing department has really nice USB-C power bricks emblazoned with our logo. I also invested in a biggish Anker battery with full USB-PD support.
Post reply on HN