Pinecilv1 update

· seth's blog

#pinecil #soldering

I jumped on the Pinecil bandwagon early on because I was just getting into soldering, and it was a really cheap piece of hardware with a bunch of additional features. I really appreciated the accessibility and the open source firmware being developed for it, so I've been using it since launch. Recently, I switched from lead based solder to lead free (don't ask, I was under the wrong impression. And duh, don't touch lead) so it was important to ramp up temps even faster with the latest version of IronOS, the software that Pinecil runs.

The information below covers that process on a laptop running an Ubuntu distro.

Download latest firmware from IronOS Github #

https://github.com/Ralim/IronOS/releases

Connect device via USB C, while holding (-) before plugging into the laptop. Take another 10 seconds #

Run command to figure out interface #

seth@huckleberry:~/Downloads/Pinecil$ sudo dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [28e9:0189] ver=0100, devnum=31, cfg=1, intf=0, path="3-1", alt=1, name="@Option Bytes  /0x1FFFF800/01*016Be", serial="??"
Found DFU: [28e9:0189] ver=0100, devnum=31, cfg=1, intf=0, path="3-1", alt=0, name="@Internal Flash  /0x08000000/128*001Kg", serial="??"
Found Runtime: [0408:5484] ver=0002, devnum=2, cfg=1, intf=2, path="3-4", alt=0, name="Camera DFU Device", serial="0001"

Install OS while identifying DFU interface and alt number (this is important so you don't flash camera device) #

You would focus on the "intf" and "alt" values

seth@huckleberry:~/Downloads/Pinecil$ sudo dfu-util -D Pinecil_EN.dfu -i 0 -a 0
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Match vendor ID from file: 28e9
Match product ID from file: 0189
Opening DFU capable USB device...
ID 28e9:0189
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash  "
file contains 1 DFU images
parsing DFU image 1
image for alternate setting 0, (1 elements, total size = 53804)
parsing element 1, address = 0x08000000, size = 53796
Download	[=========================] 100%        53796 bytes
Download done.
done parsing DfuSe file

#pinecil #soldering