🌘 透過 JLink 在 Pinecil 上實現 JTAG 調試
➤ 深入底層:為 Pinecil 解鎖 JTAG 除錯功能
https://danielmangum.com/posts/jlink-jtag-pinecil/
本文記錄了作者如何利用 JLink 除錯器對 Pinecil 電烙鐵進行 JTAG 連接的過程。隨著 Zephyr OS 對 Bouffalo Lab BL706 微控制器支援度的提升,作者進一步深入探索了除錯需求。透過自製轉接板並正確對接引腳,作者成功實現了對底層 SiFive E24 核心的調試,不僅能監控系統初始化與驅動程式行為,還能透過 GDB 進行單步除錯,為 Pinecil 的開發提供了更強大的底層診斷能力。
+ 太棒了!有了 JTAG 調試,對 Pinecil 進行韌體開發時排查系統啟動問題就容易多了,不再需要單靠 UART 打印日誌。
+ 對於剛開始玩 RISC-V 的人來說,這篇引腳對接的說明非常有參考價值,特別是那個 VTref 接線的注意事項。
#硬體開發 #嵌入式系統 #RISC-V #Pinecil #除錯工具
JLink JTAG Access on the Pinecil

It has been more than two years since I bought a Pinecil soldering iron and wrote about soldering the breakout board and accessing the UART. I’ve been doing more work with the Pinecil as of late following the addition of upstream support for the Bouffalo Lab BL706 MCU in Zephyr (big shout out to @VynDragon, @will-tm, @josuah, and everyone else who has been contributing to the upstream Bouffalo Lab efforts!).

😂🔧 Ah, the riveting tale of how a soldering iron became the protagonist in a #JTAG drama! Two years of tireless toil, and behold! The #Pinecil finally speaks JTAG, thanks to an entourage of code wizards and a namedrop parade. 🎉 To the select few who find excitement in accessing an MCU's innermost secrets, your hero's journey is complete. 🌟
https://danielmangum.com/posts/jlink-jtag-pinecil/ #solderingiron #codewizards #MCUhero #technologydrama #HackerNews #ngated
JLink JTAG Access on the Pinecil

It has been more than two years since I bought a Pinecil soldering iron and wrote about soldering the breakout board and accessing the UART. I’ve been doing more work with the Pinecil as of late following the addition of upstream support for the Bouffalo Lab BL706 MCU in Zephyr (big shout out to @VynDragon, @will-tm, @josuah, and everyone else who has been contributing to the upstream Bouffalo Lab efforts!).

JLink JTAG Access on the Pinecil

It has been more than two years since I bought a Pinecil soldering iron and wrote about soldering the breakout board and accessing the UART. I’ve been doing more work with the Pinecil as of late following the addition of upstream support for the Bouffalo Lab BL706 MCU in Zephyr (big shout out to @VynDragon, @will-tm, @josuah, and everyone else who has been contributing to the upstream Bouffalo Lab efforts!).

@Erdrandbewohner Da ist was dran, ich empfehle den #Pinecil, den kann man an einem USB-C PD Netzteil betreiben, das ist ja meist schon dabei, und recht klein ist er auch.

Das Schöne am #Pinecil Lötkolben? Ich kann jetzt auf dem Balkon mit Strom aus der Sonne Löten 😎
Und gleichzeitig den Laptop Laden.

Danke @marove - Die Anschaffung bei der #eh23 hat mir echt nochmal mehr Motivation zum Basteln gebracht 🎉

In case someone else owns a #Bosch #Series6 battery vacuum cleaner (wouldn't buy it again) and the brush stops spinning: In my case it was the connection directly on motor. The leg of a fuse, soldered in between cable and motor, had broken...
Definitely cheaper to solder that on again than to buy a new brush (EB1T, #EB1T) for 40-70 €.

And a chance to show off the mobile soldering solution with an Einhell battery, a #SW3515 and a #pinecil. 😅😎

#repair #diy

I can even charge my notebook with the power tool batteries now 😎 and also my @pine64 #pinecil works via the #SW3518.

Now I just need to find out how to charge the batteries without the clumsy #Einhell chargers... 🤔

Ach, was den #Pinecil-Lötkolben angeht: Da gibt es -trotz Fachfremdheit- durchaus augenoptische Wertschöpfung.
Sollte ich nachher etwas Zeit haben, belege ich mal rechnerisch, warum #Augenoptiker*Innen und der Hersteller des Gadgets „best friends forever“ 🫶 sind.
Alles mit leichter Mathematik nachvollziehbar und Falsifizierbar ☝️
@marove
Ähhh. Ich oute mich hier mal als #Fachidiot.
Wenn keine Gasflaschen oder ein Hydrozongenerator dranhängen, habe ich keinen Dunst mit was für‘n Werkzeug ich löte. Immerhin habe ich nach 2(!) Minuten schon begriffen, dass mit „Akkubetrieb“ ein externer Akku gemeint ist… 🤦🏻‍♂️😂 Na, wenigstens wusste ich noch wie‘s geht…
Was den #Pinecil-Lötkolben angeht: Geiles Teil! Danke an die hiesigen Profis für den Tipp. Wer braucht da noch 'ne Lötstation?
@marove

My excitement is slowly growing. As I get ready to build out a few new things for my #mega65 and #c64u (namely, Idun and TeensyROM carts) I am getting my repair station built.

Today I have a successful upgrade and integration test with my #Pinecil

I really don't know how I lived before I got my #Pinepower either. These things are so amazing!

Pro tip: I use the alt text to describe things for those who want to deep dive.