<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ncm</id>
	<title>PINE64 - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ncm"/>
	<link rel="alternate" type="text/html" href="https://wiki.pine64.org/wiki/Special:Contributions/Ncm"/>
	<updated>2026-04-21T13:14:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Pinecil&amp;diff=10373</id>
		<title>Pinecil</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Pinecil&amp;diff=10373"/>
		<updated>2021-05-15T04:55:51Z</updated>

		<summary type="html">&lt;p&gt;Ncm: Note Sabrent 60W hub failing&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overall description ==&lt;br /&gt;
[[File:Pinecil-bb2-01_rotate.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
The Pinecil is a portable, temperature controlled soldering iron. It also has the intended use of being a Risc-V development device using a breakout board. It's main features are:&lt;br /&gt;
&lt;br /&gt;
* Portability&lt;br /&gt;
* Settable temperature&lt;br /&gt;
* Soldering tips:&lt;br /&gt;
** Replaceable&lt;br /&gt;
** More than half a dozen available. Currently sold as 2 separate sets of 4, one fine set, the other larger.&lt;br /&gt;
** Compatible with TS100&lt;br /&gt;
* Flexible power sources:&lt;br /&gt;
** Barrel jack&lt;br /&gt;
** USB Type C power delivery&lt;br /&gt;
&lt;br /&gt;
There are additional features that include (Useful for devkit use):&lt;br /&gt;
&lt;br /&gt;
* A Programmable Gigadevice Risc-V GD32V embedded processor&lt;br /&gt;
* 0.67&amp;quot; Monochrome Display that can render text or graphics&lt;br /&gt;
* Support for Idle detection, for automatic power down of tip&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
&lt;br /&gt;
Pinecil comes with a separate heating element / tip. After inserting its barrel into the end of the handle, lightly tighten the screw onto it. Loosen this screw when changing out the tip.&lt;br /&gt;
&lt;br /&gt;
The USB port, connected to any host, provides enough power to drive the user interface, but not necessarily enough to heat the tip. 5 volts from a USB 2 port will only display the user interface.&lt;br /&gt;
&lt;br /&gt;
To check the firmware version, hold down the &amp;quot;-&amp;quot; button. It will display something like &amp;quot;v2.14.2425902 17-01-21&amp;quot;, suggesting its actual release date, here 2021-01-17. Clicking the &amp;quot;+&amp;quot; button repeatedly reveals various internal settings, such as hardware version, current temperature, time since power-on, and number of motions detected. Clicking &amp;quot;-&amp;quot; returns to the regular display of current temperature, target temperature, and supply voltage. At other times it may show power draw.&lt;br /&gt;
&lt;br /&gt;
To actually heat up the tip, you will need a power supply that can provide 12V or more. This may be a dedicated power supply with a standard barrel connector (+ center, - outside) that supplies anywhere from 12V to 21V, or a USB-C supply that can negotiate up to such a voltage. (You probably have a suitable supply disused in a box somewhere.)&lt;br /&gt;
&lt;br /&gt;
Clicking &amp;quot;+&amp;quot; starts the tip heating. The display then shows power draw, current temperature, supply voltage, and estimated time to reach target temperature. You can adjust the target temperature with further clicks of &amp;quot;+&amp;quot; and &amp;quot;-&amp;quot; buttons. Waiting for the regular display to return, then holding down &amp;quot;-&amp;quot; for a moment turns the heat off. You can watch the temperature measurement go up and down. Certain settings involve holding down both buttons.&lt;br /&gt;
&lt;br /&gt;
The iron will &amp;quot;sleep&amp;quot;, switching to a lower temperature, after it has been put down for a short time, and heat up again when it is picked up.&lt;br /&gt;
&lt;br /&gt;
Clicking &amp;quot;-&amp;quot; when heat is off steps through menus to control a variety of settings, such as the sleep temperature, time until sleep, motion sensitivity, temperature units (C or F) etc.&lt;br /&gt;
&lt;br /&gt;
'''Menu Items''' items (accurate for firmware 2.1.14)&lt;br /&gt;
&lt;br /&gt;
* Power Source &lt;br /&gt;
**(cutoff choices for voltage and battery operation)&lt;br /&gt;
* QC voltage   &lt;br /&gt;
**(voltage to negotiate for with QC chargers (9, 12, 20 volts)&lt;br /&gt;
* Soldering Settings&lt;br /&gt;
** Boost Temperature&lt;br /&gt;
** Auto Start&lt;br /&gt;
** Temperature Change (short click)&lt;br /&gt;
** Temperature Change (long click)&lt;br /&gt;
** Allow Lock (when soldering)&lt;br /&gt;
* Sleep Settings&lt;br /&gt;
** Sleep Temperature&lt;br /&gt;
** Sleep Timeout&lt;br /&gt;
** Shutdown Time&lt;br /&gt;
** Motion Sensor Sensitivity&lt;br /&gt;
** Hall Sensor Sensitivity&lt;br /&gt;
* User Interface&lt;br /&gt;
** Temperature Units (C/F)&lt;br /&gt;
** Display orientation (right/left)&lt;br /&gt;
** Cooldown Blink&lt;br /&gt;
** Scroll Speed (slow/fast)&lt;br /&gt;
** Reverse +/- buttons&lt;br /&gt;
* Advanced Options&lt;br /&gt;
** Power Limit (watts)&lt;br /&gt;
** Detailed Idle Screen&lt;br /&gt;
** Detailed Solder Screen&lt;br /&gt;
** Factory Reset?&lt;br /&gt;
** Calibrate Temperature&lt;br /&gt;
** Calibrate Voltage&lt;br /&gt;
** Power Pulse (watts)&lt;br /&gt;
&lt;br /&gt;
== Pictures ==&lt;br /&gt;
&lt;br /&gt;
Pre-release:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil_Exploded_Diagram_ver_0.9.png|Pinecil renders|alt=alt language&lt;br /&gt;
File:PinecilPrototype.jpg|Pinecil prototype|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Production:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil-bb2-01.jpg|Pinecil and TS-B2 retail package|alt=alt language&lt;br /&gt;
File:Pinecil-Case-Red-1.jpg|Pinecil red casing|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Pinecil tips ==&lt;br /&gt;
* Uses TS-100 compatible tips&lt;br /&gt;
* Tip model TS-B2 is the default tip supplied with the Pinecil&lt;br /&gt;
* Tip set 1 (left) &amp;amp; 2 (right):&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:PinecilTipSets.jpg|800px]]&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* '''Dimensions:''' 170mm with solder tip or 98mm without solder tip x 12.8mm x 16.2mm&lt;br /&gt;
* '''Weight:''' 30g with solder tip, 20g without solder tip&lt;br /&gt;
* '''CPU:''' GD32VF103TB 32-bit RV32IMAC RISC-V “Bumblebee Core” @ 108 MHz&lt;br /&gt;
* '''Display:''' 0.67&amp;quot; QUG 9616TSWCG02 96x16 Monochrome Matrix display&lt;br /&gt;
* '''Memory:'''&lt;br /&gt;
** 128KB Flash&lt;br /&gt;
** 32KB SRAM&lt;br /&gt;
* '''DC in (only one of the following at a time):'''&lt;br /&gt;
** 12V- 24V DC5525 Barrel Jack&lt;br /&gt;
** USB-C 12-20V PD&lt;br /&gt;
** QC3.0&lt;br /&gt;
** Recommend operating voltage 12-21V, maximum rating at 24V&lt;br /&gt;
&lt;br /&gt;
== Pinecil board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
* Pinecil mainboard schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v1.0a_20201120.pdf Pinecil mainboard schematic ver 1.0 20201120, this is production version schematic]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Top PDF file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Bottom PDF file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Top Drawing file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Bottom Drawing file]&lt;br /&gt;
&lt;br /&gt;
* Pinecil certifications:&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20CE%20RED%20Certificate-S20102803801001.pdf Pinecil CE RED Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20FCC%20Certificate-S20102803802001.pdf Pinecil FCC Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20RoHS10%20Certificate-S20102803803001.pdf Pinecil ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
* Pinecil breakout board schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_Breakout_Board_Schematic_v1.0_20201005.pdf Pinecil breakout board schematic ver 1.0 20201005]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_Breakout_Board_PCB_layout_v1.0_20201005.pdf Pinecil breakout board PCB layout ver 1.0]&lt;br /&gt;
* Photos:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil-breakout-board-02.jpg|Store photo&lt;br /&gt;
File:Pinecil breakout top.jpg|Top view&lt;br /&gt;
File:Pinecil breakout bottom.jpg|Bottom view&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Firmware Image Releases ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/pine64/pinecil-firmware-updater/releases/latest Latest Pinecil Firmware Updater] for MacOS and Windows&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/os/Pinecil/Pinecil_firmware_20201115.zip Pinecil production firmware 20201115, thanks to Ralimtek]&lt;br /&gt;
&lt;br /&gt;
Links to development firmware and documentation:&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/Ralim/IronOS/releases GitHub repository for IronOS, from Ralimtek]&lt;br /&gt;
* [https://github.com/Ralim/IronOS/blob/master/Documentation/Flashing.md GitHub link for IronOS flashing documentation]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for components and peripherals ==&lt;br /&gt;
* GigaDevice RISC-V SoC information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_Datasheet_Rev%201.1.pdf GigaDevice RISC-V GD32VF103TB SoC Datasheet V1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_User_Manual_EN_V1.2.pdf GigaDevice RISC-V GD32VF103TB SoC Usermanual V1.2]&lt;br /&gt;
* Display Module information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG 9616TSWCG02 Display Module Datasheet]&lt;br /&gt;
* USB Type-C PD Controller information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/FUSB302-D.PDF ON Semiconductor FUSB302 USB Type-C PD Controller Datasheet]&lt;br /&gt;
* Sensor information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/BMA223-Bosch.pdf Bosch BMA223 Acceleration Sensor Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf Silicon Lab Si7210 Hall-Effect Magnetic Position Sensor Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/TMP35_36_37.pdf Analog Device TMP36 Temparature Sensor Datasheet]&lt;br /&gt;
* Power Regulator information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/RT7272B-05.pdf Ricktek RT7272B 3A Switching Power Regulator Datasheet - on mainboard]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/LP6498B6F.pdf LowPowerSemi LP6498B6F 1.2A Switching Power Regulator Datasheet - on breakout board]&lt;br /&gt;
* Power MOSFET Switch information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/Changjiang-Electronics-Tech-CJ-CJQ7328.pdf Chang Jiang CJQ7328 8A MOSFET Datasheet]&lt;br /&gt;
* OP Amp information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGMicro SGM8557-1 Low Noise OP Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Batch changes ==&lt;br /&gt;
&lt;br /&gt;
* For the first manufacture batch of the Pinecil, the copper ring connecting the earth screw to the tip was omitted as the engineering team found the TS100 design lacking. For the second round onwards, an improved design copper ring has been included as standard, and is also included with the replacement red and black handles. For normal operation of the iron, omission of the ring does not impact it's operation. If you are working with ESD components, you will however need it in order to ground the iron tip via the earth screw at the back of the iron. If you from the first batch, and need that part, please contact info at pine64 dot org with the subject &amp;quot;Pinecil copper ring&amp;quot;, and include your order number and shipment will be arranged. &lt;br /&gt;
&lt;br /&gt;
* The first batch of Pinecil's were rated 12-24v @ 65W. After some heated discussion on the discussion group, it was decided that it would be downgraded to 12-21V @ 60W, due to concern over the connection of the DC jack to the USB-PD chip, which has a recommended maximum of 21v, and absolute maximum of 28v. &lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
! Project Homepage&lt;br /&gt;
! Project Source&lt;br /&gt;
! Implementations&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Ralimtek&lt;br /&gt;
| https://ralimtek.com&lt;br /&gt;
| https://www.gitmemory.com/Ralim&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Alvin Wong&lt;br /&gt;
| &lt;br /&gt;
| https://github.com/alvinhochun/gd32vf103-pinecil-demo-rs&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== How to update a firmware ===&lt;br /&gt;
&lt;br /&gt;
{{warning|1=While you can't brick your device permanently (DFU is in ROM); this can make your device inoperable if you flash an invalid firmware.}}&lt;br /&gt;
&lt;br /&gt;
==== With application ====&lt;br /&gt;
&lt;br /&gt;
# Download Pinecil Firmware Updater for [http://pinecil.pine64.org/updater/get-binaries.php?platform=win64 Windows], [http://pinecil.pine64.org/updater/get-binaries.php?platform=macos64 MacOS], or build by yourself from [https://github.com/pine64/pinecil-firmware-updater sources].&lt;br /&gt;
# Open it, select operating system you want to flash and click *Flash*. (Don't connect Pinecil yet)&lt;br /&gt;
# Follow application instructions for correct Pinecil connection to your PC.&lt;br /&gt;
&lt;br /&gt;
==== Manually ====&lt;br /&gt;
&lt;br /&gt;
(Method tested on Linux, should work on any OS which supply dfu-util 0.10, if your distro comes with 0.9 you might soft-brick your Pinecil)&lt;br /&gt;
&lt;br /&gt;
{{note|1=If &amp;lt;code&amp;gt;dfu-util&amp;lt;/code&amp;gt; command cannot find a device with 28e9:0189 ID, try to run it with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{note|1=To check if you can use dfu-util 0.9, you can use &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;. If it reports &amp;lt;code&amp;gt;alt=0, name=&amp;quot;@Internal Flash  /0x08000000/128*001Kg&amp;quot;&amp;lt;/code&amp;gt; you are fine, otherwise you need to upgrade to 0.10, important part is &amp;lt;code&amp;gt;128*001Kg&amp;lt;/code&amp;gt;, which is flash amount of blocks and block size, as a chip used in Pinecil have 128 KB of Flash with 1KB page size}}&lt;br /&gt;
&lt;br /&gt;
# Enter an update mode. For that plug USB cable while holding *-* button (button, that's closest to USB-C port)&lt;br /&gt;
# Make a firmware backup: &amp;lt;code&amp;gt;dfu-util -d 28e9:0189 -a 0 -U ~/pinecil/internal.flash.stock -s 0x08000000&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;28e9:0189&amp;lt;/code&amp;gt; -- USB Device ID (can be obtained from &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt; but in dfu-util output it might be hard to identify the Pinecil device)&lt;br /&gt;
## &amp;lt;code&amp;gt;-a 0&amp;lt;/code&amp;gt; -- selects partition to flash. List of possible options can be obtained via &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;. Partition 0 - internal SPI flash. Partition 1 - fuses (description of fuses can be found in User Manual for the chip)&lt;br /&gt;
## &amp;lt;code&amp;gt;-U&amp;lt;/code&amp;gt; -- specifies a mode. U is upload, which means that firmware will be downloaded and saved to file (yes, that's confusing, but it is what it is, feel free to verify that in a manual of your version of dfu-util). Command must be followed by a path to file where you want to save your firmware. dfu-util will refuse to dump firmware if you already have a file with that name.&lt;br /&gt;
## &amp;lt;code&amp;gt;-s 0x08000000&amp;lt;/code&amp;gt; -- specify the address in a flash from which dump will start. This can be obtained from &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Flash a new firmware: &amp;lt;code&amp;gt;dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt; -- is a mode to Download firmware to the device (yes, that's confusing, but you indeed Upload from device and Download to device with dfu-util). That should follow the file with the firmware. Update archive from Ralim usually contains two files: &amp;lt;code&amp;gt;.hex&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.bin&amp;lt;/code&amp;gt;. One that is required - is &amp;lt;code&amp;gt;.bin&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;_EN&amp;lt;/code&amp;gt; is the language code of the firmware, means that &amp;lt;code&amp;gt;_EN&amp;lt;/code&amp;gt; will flash english version of firmware.&lt;br /&gt;
## &amp;lt;code&amp;gt;-s 0x08000000:mass-erase:force&amp;lt;/code&amp;gt; -- specified the address where to flash the file. &amp;lt;code&amp;gt;:mass-erase:force&amp;lt;/code&amp;gt; is required to force-erase flash before updating firmware, otherwise you might have unpredictable results.&lt;br /&gt;
## If it fails with &amp;lt;code&amp;gt;Error during special command &amp;quot;MASS_ERASE&amp;quot; get_status&amp;lt;/code&amp;gt; (as has happened with recent shipments) then use ...&amp;lt;code&amp;gt;-s 0x08000000&amp;lt;/code&amp;gt; without attempting &amp;quot;mass-erase&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Disassembly steps ==&lt;br /&gt;
&lt;br /&gt;
# Remove tip if present.&lt;br /&gt;
## Let tip cool down.&lt;br /&gt;
## Loosen top (display side) screw (PH1) on the tip side of the device.&lt;br /&gt;
## Gently pull tip out.&lt;br /&gt;
# Slide rubber off towards the tip side.&lt;br /&gt;
# Remove the ground screw (longer screw on the top side towards the port side) (PH1).&lt;br /&gt;
# Remove the bottom screw (at the tip side, between the legs) (PH1).&lt;br /&gt;
# Slightly pull the two halves of the case apart at the tip side, enough to get a fingernail or guitar pick between the halves.&lt;br /&gt;
# Move the pick down the length of the split to loosen the bottom half's clips from the top half of the case.&lt;br /&gt;
# Once loose, remove the bottom half by moving it forward (it is retained by the top half at the port side).&lt;br /&gt;
# Remove the screws retaining the copper tip contacts (PH000).&lt;br /&gt;
# Remove the now loose copper tip contacts.&lt;br /&gt;
# Gently push the board towards the tip side by pushing on one of the ports (for example, by using a misaligned USB C connector).&lt;br /&gt;
# The PCB assembly is now free to be lifted out.&lt;br /&gt;
## The key caps are now no longer retained, carefully set aside the top half, or remove the caps and store them separately.&lt;br /&gt;
&lt;br /&gt;
== Assembly steps ==&lt;br /&gt;
&lt;br /&gt;
# Place the key caps into their recesses in the top half of the case.&lt;br /&gt;
# Place the PCB assembly into the top half of the case ports first.&lt;br /&gt;
## Lower the rest of the board into the case and move the PCB assembly towards the port side of the case (the DC barrel connector may be a firm place to gently push).&lt;br /&gt;
# Install the copper tip contacts.&lt;br /&gt;
## Orient the contact to align the alignment pin with the alignment hole next to the big hole on one of the big gold pads.&lt;br /&gt;
## Install and gently tighten the PH000 screw until the clip is no longer loose.&lt;br /&gt;
# Place the bottom half of the case into the top half by sliding the lip on the port side (side without the feet) of the bottom half under the arch of the port side of the top half.&lt;br /&gt;
# Gently close the case by bringing the two halves together, paying attention to each clip's alignment and ensuring the case edges align.&lt;br /&gt;
# Install the short PH1 screw at the bottom of the tip side of the case.&lt;br /&gt;
# Install the longer PH1 screw at the ground connection point at the top side of the case (between the display and the ports).&lt;br /&gt;
# Slide the rubber sleeve on (larger ridge first).&lt;br /&gt;
# Gently insert tip.&lt;br /&gt;
# Gently tighten the top PH1 screw to retain the tip.&lt;br /&gt;
&lt;br /&gt;
== Power Supply Compatibility ==&lt;br /&gt;
&lt;br /&gt;
The Pinecil can either work with a 12-21V battery or power supply via the 5525 (5.5mm outer diameter, 1.5mm post) centre-positive jack, or with any USB power supply that supports the QC2, QC3 or USB-PD (Power Delivery) specification. QC2 and QC3 power supplies will only be able to provide a maximum of 12V, limiting the Pinecil to about 17W of thermal capability. A suitable USB-PD power supply / power bank will be able to provide 20V, allowing the Pinecil to deliver the full 60W of heat to soldering tip. &lt;br /&gt;
&lt;br /&gt;
Known working QC/PD/barrel power adapters / power banks include:&lt;br /&gt;
&lt;br /&gt;
Power adapter:&lt;br /&gt;
* [https://pine64.com/product/pinepower-120w-desktop-power-supply-us-version/ PinePower Desktop]&lt;br /&gt;
* [https://www.nekteck.com/product/usb-if-certified-usb-c-charger-nekteck-60w-type-c-wall-charger-power-delivery-pd3-0-travel-charger-compatible-with-macbook-pro-2018-macbook-air-ipad-pro-pixel-3-galaxy-note-9-s9-with-6ft-cable/ Nekteck 60W with 6ft cable]&lt;br /&gt;
* Notebook AC Adapter HP L30757-002 (PD@20V)&lt;br /&gt;
* Notebook AC Adapter Lenovo ADLX65YLC3D (PD@20V)&lt;br /&gt;
* Notebook AC Adapter Lenovo LN-A0403A3C (Barrel 20V/2A)&lt;br /&gt;
* Notebook AC Adapter Delta Electronics ADP-65JH BB (DC@19V) and ADP-90CD DB&lt;br /&gt;
* Notebook AC Adapter LITEON PA-1700-02 (DC@18.5V, 65W)&lt;br /&gt;
* Smartphone Charger Samsung EP-TA20EWE (QC2@9V)&lt;br /&gt;
* Smartphone Charger Google Pixel G1000-US (PD@9V)&lt;br /&gt;
* Nintendo Switch AC Adapter (USB-C wall-wart) (PD@15V)&lt;br /&gt;
&lt;br /&gt;
Power bank:&lt;br /&gt;
* [http://beta.blitzwolf.com/-p-15.html Blitzwolf BW-P1 10400mah QC2]&lt;br /&gt;
&lt;br /&gt;
Limited usability:&lt;br /&gt;
* Notebook Docking Station HP Thunderbolt Dock 230W G2 (Pinecil Firmware: 2.14.2425902)&lt;br /&gt;
** Pinecil switches between PD@20V/unpowered at ~ 0.5 Hz =&amp;gt; No settings possible, but halfways works with power on setting or regulary pressing the heat up button&lt;br /&gt;
** Works fine when using PDC004-20V or ZY12PDN breakout on dc jack (DC@20V)&lt;br /&gt;
* Nillkin 63W USB Car Charger Quick Charge 3.0 PD (Pinecil Firmware: 2.14.2425902)&lt;br /&gt;
** QC3@9V/12V and PD@15V work, PD@20V doesn't&lt;br /&gt;
** PD@20V works fine when using PDC004-20V or ZY12PDN on dc jack (DC@20V, limit: 45W)&lt;br /&gt;
&lt;br /&gt;
Blacklist / Not compatible:&lt;br /&gt;
* Smartphone Charger RAVpower 30W Dual USB Turbo Wall Charger (Should provide QC3@9V/12V, but only provides 5 V on both ports)&lt;br /&gt;
* Sabrent HB-B7C3 USB3 hub, 7 data ports, 3 charge ports, 60W supply -- does not negotiate higher voltages.&lt;br /&gt;
&lt;br /&gt;
== Cases and 3D Models ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/kohkohwastaken/3D-Models/tree/main/Pine64 3D model of Pinecil by kohkoh]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4727212 Pinecil compact case]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4723235 Pinecil and tips case]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4734830 T12 Tip Adapter]&lt;br /&gt;
* [https://www.thingiverse.com/search?q=pinecil Thingiverse search for 'Pinecil']&lt;br /&gt;
&lt;br /&gt;
== Caring for a soldering iron ==&lt;br /&gt;
&lt;br /&gt;
https://www.weller-tools.com/how-to-care-for-soldering-iron-tips/&lt;br /&gt;
&lt;br /&gt;
https://www.eevblog.com/forum/beginners/best-way-to-clean-oxidized-soldering-iron-tip/&lt;br /&gt;
&lt;br /&gt;
== Community links ==&lt;br /&gt;
&lt;br /&gt;
* [https://t.me/joinchat/Kmi2S1iej-_4DgrVf3jjnQ Telegram]&lt;br /&gt;
* [https://matrix.to/#/#pinecil:matrix.org Matrix]&lt;br /&gt;
* [https://discordapp.com/invite/DgB7kzr Discord]&lt;br /&gt;
&lt;br /&gt;
[[Category:Pinecil]]&lt;/div&gt;</summary>
		<author><name>Ncm</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineCone&amp;diff=9857</id>
		<title>PineCone</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineCone&amp;diff=9857"/>
		<updated>2021-04-14T08:19:59Z</updated>

		<summary type="html">&lt;p&gt;Ncm: /* Loading code */ Correct instruction for jumper placement for loading code.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|Page under construction, information subject to change.}}&lt;br /&gt;
[[File:Pine64_BL602_EVB_photo-3-small.jpg|thumb|PineCone BL602 EVB (Evaluation Board)]]&lt;br /&gt;
&lt;br /&gt;
== BL602 Specifications ==&lt;br /&gt;
* '''CPU:''' 32-bit RV32IMAFC RISC-V “SiFive E24 Core”&lt;br /&gt;
** [https://www.sifive.com/cores/e24 SiFive E24 Core information]&lt;br /&gt;
* '''Memory:'''&lt;br /&gt;
** 128KB ROM&lt;br /&gt;
** 276KB SRAM&lt;br /&gt;
** 1Kb eFuse&lt;br /&gt;
** 2MB Embedded Flash&lt;br /&gt;
* '''Security:'''&lt;br /&gt;
** Secure boot&lt;br /&gt;
** Secure debug&lt;br /&gt;
** AES 128/192/256&lt;br /&gt;
** SHA-1/224/256&lt;br /&gt;
** TRNG (True Random Number Generator)&lt;br /&gt;
** PKA (Public Key Accelerator)&lt;br /&gt;
* '''Wireless:'''&lt;br /&gt;
** Wi-Fi 802.11 b/g/n&lt;br /&gt;
** Bluetooth® Low Energy 5.0&lt;br /&gt;
** Wi-Fi Fast connection with BLE assistance&lt;br /&gt;
** Wi-Fi and BLE coexistence&lt;br /&gt;
** Wi-Fi Security WPS/WEP/WPA/WPA2/WPA3&lt;br /&gt;
** STA, SoftAP and sniffer modes&lt;br /&gt;
** Multi-Cloud connectivity&lt;br /&gt;
** 2.4 GHz RF transceiver&lt;br /&gt;
** Integrated RF balun, PA/LNA&lt;br /&gt;
* '''Package Type:'''&lt;br /&gt;
** 32 pin QFN 4mm x 4mm&lt;br /&gt;
* JTAG support (See below for BL602 impact)&lt;br /&gt;
&lt;br /&gt;
[[File:BL602_Block_Diagram.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
== JTAG ==&lt;br /&gt;
{| class=&amp;quot;wikitable floatright&amp;quot;&lt;br /&gt;
|+ Default JTAG pins&lt;br /&gt;
|-&lt;br /&gt;
| GPIO Pin || JTAG Pin&lt;br /&gt;
|-&lt;br /&gt;
| GPIO17 || TDI&lt;br /&gt;
|-&lt;br /&gt;
| GPIO11 || TDO&lt;br /&gt;
|-&lt;br /&gt;
| GPIO12 || TMS&lt;br /&gt;
|-&lt;br /&gt;
| GPIO14 || TCK&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
BL602 multiplexes four GPIO pins to provide the familiar JTAG lines. See the accompanying table for the default pin mappings.&lt;br /&gt;
&lt;br /&gt;
These are the default JTAG pins in use after a cold boot. However, many pieces of software, including the demo that's installed by default on new PineCones, remap these pins to other functions. You cannot use the default wiring for JTAG while such software is running. This issue is especially prevalent on the PineCone because three of the default JTAG pins are connected to the onboard RGB LED. Nothing about the LED itself interferes with JTAG, but any program that uses the LED will necessarily remap some of the default JTAG pins to be GPIO.&lt;br /&gt;
&lt;br /&gt;
The MaskROM download mode that the BL602 enters when you tie GPIO8 high does '''not''' remap the default JTAG pins, and so you can and should use that mode while checking basic functionality of your JTAG adapter.&lt;br /&gt;
&lt;br /&gt;
Note that, just as software can remap the default JTAG pins to be something else, it can also remap other pins to be JTAG. Control over this is quite granular, with 5-6 candidate pins for each individual JTAG signal that can be mapped independently of one another. LEE Lup Yuen has written some [https://lupyuen.github.io/articles/openocd#free-the-led-from-jtag-port sample code] showing how to remap the JTAG pins so that your software can use the LED without giving up support for debugging.&lt;br /&gt;
&lt;br /&gt;
== Pine64 USB JTAG Adapter information and schematics ==&lt;br /&gt;
* [https://files.pine64.org/doc/Pinenut/PINE64%20USB%20JTAG%20Adapter%20Schematic-20201215.pdf PINE64 USB JTAG Adapter schematic 20202018 1.0]&lt;br /&gt;
* [[:File:PINE64_USB_JTAG_Adapter_Schematic_ver_1.0a-20210109.pdf|PINE64 USB JTAG Adapter schematic 20210109 1.0a]]&lt;br /&gt;
&lt;br /&gt;
== PineCone BL602 EVB information and schematics ==&lt;br /&gt;
* Approximate dimensions: 26mm x 43mm&lt;br /&gt;
* Board layout:&lt;br /&gt;
[[File:PADI-II_EVB.png]]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinenut/Pine64%20BL602%20EVB%20Schematic%20ver%201.1.pdf PineCone BL602 EVB schematic ver 1.1]&lt;br /&gt;
** Note: In PineCone revision 1.1 (&amp;quot;BL62B_EVB V1.1&amp;quot; silkscreened on back of board), CC1 and CC2 share one 5.1KΩ resistor. This means the board will fail to power when you use an e-marked USB-C cable like the one that comes with Apple chargers. See [https://medium.com/@leung.benson/how-to-design-a-proper-usb-c-power-sink-hint-not-the-way-raspberry-pi-4-did-it-f470d7a5910 this article] for details of why this happens. The next schematic design will give each line its own 5.1KΩ resistor as per the USB-C specification.&lt;br /&gt;
* The board uses a CH340 Serial/USB adapter. This chip is commonly used in Arduino-class development boards. It is a full speed (12Mbps) USB interface and has vendor ID 0x1a86 with product ID 0x7523.&lt;br /&gt;
* The GPIO pins (11, 12, 14, 17) plus the nearby RESET, POWER, and GND pins are all located on one side of the board, on J1 to provide JTAG connection.&lt;br /&gt;
&lt;br /&gt;
== Pinenut-01S Module information and schematics ==&lt;br /&gt;
[[File:Pinenut-01S_PCB-Front.png|225px]][[File:Pinenut-01S_PCB-Back.png|225px]]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinenut/Pinenut-01S%20V1.01%20SCH.pdf Pinenut-01S schematic ver 1.01]&lt;br /&gt;
* [https://wiki.pine64.org/images/6/6b/PineNut-01S_v1.01_KiCad.zip PineNut-01S KiCad schematic ver 1.01]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinenut/NUT-01S%20GPIO%20Definition%20ver%201.0.pdf Pinenut-01S GPIO Definition ver 1.0]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinenut/USB%20Adapter%20for%20Pinenut-01S%20Schematic%20V1.0.pdf USB Programmer adapter for Pinenut-01S schematic ver 1.0]&lt;br /&gt;
&lt;br /&gt;
== Pinenut-12S Module information ==&lt;br /&gt;
[[File:NUT-12S_module-front.jpg|200px]][[File:NUT-12S_module-back.jpg|200px]]&lt;br /&gt;
* [https://files.pine64.org/doc/Pinenut/NUT-12S%20GPIO%20Definition%20ver%201.0.pdf Pinenut-12S GPIO Definition ver 1.0]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Datasheets for components and peripherals ==&lt;br /&gt;
* Bouffalo BL-602 SoC information:&lt;br /&gt;
** [https://github.com/bouffalolab/bl_docs Bouffalo Lab's official bl_docs repository]: should always contain the latest SoC documentation available, in PDF, HTML, and reStructuredText source forms.&lt;br /&gt;
** [https://github.com/pine64/bl602-docs/tree/main/mirrored PINE64's bl602-docs repository]: contains an archive of all historical datasheets and reference manual PDFs but may lag behind Bouffalo's official repository. If you notice that it is, please submit a pull request!&lt;br /&gt;
* USB/Serial adapter:&lt;br /&gt;
** [https://cdn.sparkfun.com/datasheets/Dev/Arduino/Other/CH340DS1.PDF CH340 serial converter]&lt;br /&gt;
&lt;br /&gt;
== Misc notes ==&lt;br /&gt;
Planned to be available in at least three form factors:&lt;br /&gt;
* NUT-01S -&amp;gt; ESP-01S&lt;br /&gt;
* NUT-12S -&amp;gt; ESP-12S&lt;br /&gt;
* NUT-15 -&amp;gt; RTL8723/AMPAK&lt;br /&gt;
&lt;br /&gt;
== Loading code ==&lt;br /&gt;
To load code, you must move the jumper to the position closest to the edge, press reset, load the code, move the jumper back toward the center of the board, and press reset again.&lt;br /&gt;
&lt;br /&gt;
There are currently a number of loaders in progress, each with differing degrees of completeness and success on various operating systems.&lt;br /&gt;
* In the build tree, there is BLFlashCube for Windows, which is a proprietary GUI for flashing images. Linux and macOS binaries are available via [https://dev.bouffalolab.com/download Bouffalo Lab's developer portal].&lt;br /&gt;
* [https://github.com/stschake/bl60x-flash bl60x-flash] is in Python and has been reported successful on MacOS catalina (10.15.6) by Punnerud and madushan1000.&lt;br /&gt;
* [https://github.com/bouffalolab/BLOpenFlasher BLOpenFlasher] is a WIP, written in go, by Bouffalo Labs to provide source for a flash utility.&lt;br /&gt;
* [https://github.com/renzenicolai/bl602tool bl602tool] is a Python utility in development.&lt;br /&gt;
* [https://pypi.org/project/bflb-eflash-loader/ Bouffalo's Python Flash Loader] is a new (Dec 20) flash loader by the makers of the chip.&lt;br /&gt;
* &amp;lt;del&amp;gt;[https://pypi.org/project/bflb-image-build/ Bouffalo's image build] smooshes code and adds headers for downloads.&amp;lt;/del&amp;gt;&lt;br /&gt;
* [https://pypi.org/project/bflb-mcu-tool/ Bouffalo's MCU tool] (Mar 2021) image tool replaced the above. Now combined with eflash loader, deals with partitions, DTS, signing, fuses etc.&lt;br /&gt;
* [https://github.com/spacemeowx2/blflash blflash serial flasher] BL602 serial flasher, inspired by BLOpenFlasher&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
* [https://github.com/pine64/bl_iot_sdk PineCone BL602 GitHub Page (PINE64 fork)] has compilers, linkers, and all the code to build on Windows, Linux (x86_64), and MacOS.&lt;br /&gt;
* [https://github.com/bouffalolab/bl_iot_sdk Bouffalo Lab GitHub Page]&lt;br /&gt;
* [https://github.com/renzenicolai/bl602-docs/ BL602 Developer organize documentation GitHub Page]&lt;br /&gt;
* [https://github.com/renzenicolai/bl602tool BL602 Developer organize tool GitHub Page]&lt;br /&gt;
* [https://github.com/stschake/bl60x-flash Programming tool for Bouffalo Labs BL602/BL604 chips]&lt;br /&gt;
* [https://github.com/pine64/bl602-re BL602 reverse engineering working group]&lt;br /&gt;
* [https://github.com/pine64/bl602-sdio-linux Linux kernel module]&lt;br /&gt;
* [https://github.com/tchebb/bl602-docs BL602 Documentation]&lt;br /&gt;
* [https://github.com/spacemeowx2/blflash BL602 serial flasher]&lt;br /&gt;
* [https://github.com/mkroman/awesome-bouffalo#feature-matrix Awesome Bouffalo]&lt;br /&gt;
&lt;br /&gt;
== Articles and Blogs ==&lt;br /&gt;
* [https://lupyuen.github.io/articles/pinecone Quick Peek of PineCone BL602 RISC-V Evaluation Board by Lup Yuen]&lt;br /&gt;
* [https://maero.dk/bl602-firmware-image-format/ Documenting the BouffaloLab BL602 firmware image format by MK]&lt;br /&gt;
* [https://lupyuen.github.io/articles/openocd Connect PineCone BL602 to OpenOCD by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/debug Debug Rust on PineCone BL602 with VSCode and GDB by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/mynewt Porting Mynewt to PineCone BL602 by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/flash Flashing Firmware to PineCone BL602 by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/led Control PineCone BL602 RGB LED with GPIO and PWM by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/gpio Mynewt GPIO ported to PineCone BL602 RISC-V Board by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/i2c PineCone BL602 talks to I2C Sensors by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/spi PineCone BL602 talks SPI too! by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/display PineCone BL602 Blasting Pixels to ST7789 Display with LVGL Library by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/uart PineCone BL602 Talks UART to Grove E-Ink Display by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/book The RISC-V BL602 Book by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/lora Connect PineCone BL602 to LoRa Transceiver by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/wisblock RAKwireless WisBlock talks LoRa with PineCone BL602 RISC-V Board by Lup Yuen]&lt;br /&gt;
* [https://lupyuen.github.io/articles/lora2 PineCone BL602 RISC-V Board Receives LoRa Packets by Lup Yuen]&lt;br /&gt;
&lt;br /&gt;
[[Category:Nutcracker]]&lt;/div&gt;</summary>
		<author><name>Ncm</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Main_Page&amp;diff=9856</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Main_Page&amp;diff=9856"/>
		<updated>2021-04-14T08:08:52Z</updated>

		<summary type="html">&lt;p&gt;Ncm: /* Devices */ Mention PineCone&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
This is the main page of the '''official PINE64 wiki'''.&lt;br /&gt;
&lt;br /&gt;
PINE64 is a community-driven company focused on creating high-quality, low-cost ARM devices and, more recently, RISC-V devices for individuals and businesses around the globe. PINE64 made its debut with the [[PINE A64|Pine A64]] single-board computer, which successfully launched on Kickstarter in 2015. PINE64 has since released a multitude of other devices, including both development boards and end-user devices.  To learn more about the available devices, please see [[#Devices|the list]] of devices below.&lt;br /&gt;
&lt;br /&gt;
PINE64 has a large, diverse and active community, and offers a variety of resources for hobbyists and businesses to successfully leverage various PINE64 products. To become connected and involved with the community, please see [[#Community and Support|the description]] of available chat platforms and forums below. To learn more about PINE64 as a company, please visit '''[https://www.pine64.org/ www.pine64.org]''' or '''[https://www.pine64.com/ www.pine64.com]''', which are the main PINE64 website and the PINE64 store, respectively.&lt;br /&gt;
&lt;br /&gt;
= Devices =&lt;br /&gt;
[[File:Marchupdate-1024x594.jpg|thumb|upright=1.2|[[Pinebook Pro]] (left) and [[PinePhone]] (right)]]&lt;br /&gt;
&lt;br /&gt;
You can learn more about the following ARM and RISC-V devices manufactured by PINE64:&lt;br /&gt;
&lt;br /&gt;
* Phones and tablets: '''[[PinePhone]]''' and '''[[PineTab]]'''&lt;br /&gt;
* Laptops: '''[[Pinebook]]''', '''[[Pinebook Pro]]''' and '''[[Pinebook Pro Dock|Pinebook Pro Docking station]]'''&lt;br /&gt;
* Single-board computers: '''[[Quartz64]]''', '''[[ROCKPro64]]''', '''[[ROCK64]]''', '''[[PINE A64]]''', '''[[PINE A64-LTS]]''' and '''[[PINE H64]]'''&lt;br /&gt;
* Clusters and modules: '''[[Clusterboard]]''', '''[[SOPine]]''' and '''[[SOEdge]]'''&lt;br /&gt;
* Smartwatches: '''[[PineTime]]'''&lt;br /&gt;
* IP cameras: '''[[PineCube]]'''&lt;br /&gt;
* Makerspace: '''[[Pinecil]]''', '''[[PinePower]]''' and '''[[Nutcracker]]/PineCone'''&lt;br /&gt;
&lt;br /&gt;
= Community and Support =&lt;br /&gt;
Community collaboration and support is focused around the chat platforms and forums described below.  As an example of the collaborative efforts of the community, recent activity has resulted in drafting a [[PineFlash|proposal]] for a new flash-based storage device.&lt;br /&gt;
&lt;br /&gt;
== Chat Platforms ==&lt;br /&gt;
{| class=&amp;quot;wikitable floatright&amp;quot;&lt;br /&gt;
! Channel !! Matrix !! Telegram&lt;br /&gt;
|-&lt;br /&gt;
| PINE64 News               || missing                                                                        || [https://t.me/PINE64_News @PINE64_News]&lt;br /&gt;
|-&lt;br /&gt;
| PINE A64 SBC              || [https://riot.im/app/#/room/#pine64:matrix.org #pine64:matrix.org]             || [https://t.me/mtrx_rock64 @mtrx_pine64]&lt;br /&gt;
|-&lt;br /&gt;
| ROCK64 / ROCKPro64        || [https://riot.im/app/#/room/#rock64:matrix.org #rock64:matrix.org]             || [https://t.me/mtrx_rock64 @mtrx_rock64]&lt;br /&gt;
|-&lt;br /&gt;
| Quartz64                  || [https://riot.im/app/#/room/#quartz64:matrix.org #quartz64:matrix.org]         || [https://t.me/joinchat/Vq50DXkH31e0_i-f Quartz64]&lt;br /&gt;
|-&lt;br /&gt;
| Quartz64 Development      || missing                                                                        || missing&lt;br /&gt;
|-&lt;br /&gt;
| Pinebook and Pinebook Pro || [https://riot.im/app/#/room/#pinebook:matrix.org #pinebook:matrix.org]         || [https://t.me/mtx_pinebook @mtx_pinebook]&lt;br /&gt;
|-&lt;br /&gt;
| PinePhone                 || [https://riot.im/app/#/room/#pinephone:matrix.org #pinephone:matrix.org]       || [https://t.me/pinephone @pinephone]&lt;br /&gt;
|-&lt;br /&gt;
| PineTab                   || [https://riot.im/app/#/room/#pinetab:pine64.org #pinetab:matrix.org]           || [https://t.me/PineTab @PineTab]&lt;br /&gt;
|-&lt;br /&gt;
| PineTime                  || [https://riot.im/app/#/room/#pinetime:matrix.org #pinetime:matrix.org]         || [https://t.me/pinetime @pinetime]&lt;br /&gt;
|-&lt;br /&gt;
| PineTime Development      || [https://riot.im/app/#/room/#pinetime-dev:matrix.org #pinetime-dev:matrix.org] || [https://t.me/pinetime_dev @pinetime_dev]&lt;br /&gt;
|-&lt;br /&gt;
| Accessories               || missing                                                                        || missing&lt;br /&gt;
|-&lt;br /&gt;
| Pinecil                   || [https://riot.im/app/#/room/#pinecil:matrix.org #pinecil:matrix.org]           || [https://t.me/joinchat/Kmi2S1iej-_4DgrVf3jjnQ Pinecil]&lt;br /&gt;
|-&lt;br /&gt;
| Pinetalk                  || missing                                                                        || missing&lt;br /&gt;
|-&lt;br /&gt;
| Cube                      || [https://riot.im/app/#/room/#cube64:matrix.org #cube64:matrix.org]             || missing&lt;br /&gt;
|-&lt;br /&gt;
| Nutcracker                || [https://riot.im/app/#/room/#pine64-nutcracker:matrix.org #pine64-nutcracker:matrix.org] || [https://t.me/joinchat/Kmi2S0nOsT240emHk-aO6g Nutcracker]&lt;br /&gt;
|-&lt;br /&gt;
| Off-topic                 || [https://riot.im/app/#/room/#offtopic64:matrix.org #offtopic64:matrix.org]     || [https://t.me/pine64offtopic @pine64offtopic]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
PINE64 has a large and very active community. Community discussion takes place on a variety of chat platforms, which are all bridged together so the messages sent via one platform are sent to all other platforms automatically. The community chat platforms are the following:&lt;br /&gt;
&lt;br /&gt;
* '''Internet Relay Chat (IRC)''': server [ircs://irc.pine64.org irc.pine64.org], type &amp;lt;code&amp;gt;/list&amp;lt;/code&amp;gt; to see all available channels; web interface is available on [https://www.pine64.org/web-irc/ www.pine64.org/web-irc], but only some of the channels are available&lt;br /&gt;
* '''Discord''': use the [https://discordapp.com/invite/DgB7kzr invite link]; all channels are available&lt;br /&gt;
* '''Matrix and Telegram''': see the table in this section for the list of available channels&lt;br /&gt;
&lt;br /&gt;
== Forums ==&lt;br /&gt;
PINE64 runs an offical forum powered by open-source [https://mybb.com/ MyBB] forum server software. According to the [https://www.pine64.org/gettings-started/ general guidelines], the forum can be used to report issues, help out other users, offer findings and new information, etc.  Users can also engage directly with the community and the developers of partner projects, as well as with the PINE64 members.&lt;br /&gt;
&lt;br /&gt;
The official PINE64 forum can be accessed on '''[https://forum.pine64.org/ forum.pine64.org]'''.&lt;br /&gt;
&lt;br /&gt;
Also, these are the official Reddit subsections, commonly referred to as subreddits:&lt;br /&gt;
&lt;br /&gt;
* [https://www.reddit.com/r/PINE64official/ Official PINE64 Reddit]&lt;br /&gt;
* [https://www.reddit.com/r/PinePhoneOfficial/ Official PinePhone Reddit]&lt;br /&gt;
&lt;br /&gt;
= Help for Beginners  =&lt;br /&gt;
There are sections in the wiki dedicated to the very beginners who are just getting started in the world of single-board computers (SBCs) and ARM architecture. If you're just starting out and having issues with getting going, please consider browsing these sections for pointers:&lt;br /&gt;
&lt;br /&gt;
* '''[[NOOB|Getting started]]''': basic information on setting up and handling PINE64 devices, such as how to write (flash) OS images to microSD cards and eMMC modules&lt;br /&gt;
* '''[[Project|Project ideas]]''': a variety of well-documented PINE64 projects to serve as inspiration&lt;/div&gt;</summary>
		<author><name>Ncm</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Pinecil&amp;diff=9706</id>
		<title>Pinecil</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Pinecil&amp;diff=9706"/>
		<updated>2021-04-07T04:32:35Z</updated>

		<summary type="html">&lt;p&gt;Ncm: Power supply details&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overall description ==&lt;br /&gt;
[[File:Pinecil-bb2-01_rotate.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
The Pinecil is a portable, temperature controlled soldering iron. It also has the intended use of being a Risc-V development device using a breakout board. It's main features are:&lt;br /&gt;
&lt;br /&gt;
* Portability&lt;br /&gt;
* Settable temperature&lt;br /&gt;
* Soldering tips:&lt;br /&gt;
** Replaceable&lt;br /&gt;
** More than half a dozen available. Currently sold as 2 separate sets of 4, one fine set, the other larger.&lt;br /&gt;
** Compatible with TS100&lt;br /&gt;
* Flexible power sources:&lt;br /&gt;
** Barrel jack&lt;br /&gt;
** USB Type C power delivery&lt;br /&gt;
&lt;br /&gt;
There are additional features that include (Useful for devkit use):&lt;br /&gt;
&lt;br /&gt;
* A Programmable Gigadevice Risc-V GD32V embedded processor&lt;br /&gt;
* 0.67&amp;quot; Monochrome Display that can render text or graphics&lt;br /&gt;
* Support for Idle detection, for automatic power down of tip&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
&lt;br /&gt;
Pinecil comes with a separate heating element / tip. After inserting its barrel into the end of the handle, lightly tighten the screw onto it. Loosen this screw when changing out the tip.&lt;br /&gt;
&lt;br /&gt;
The USB port, connected to any host, provides enough power to drive the user interface, but not necessarily enough to heat the tip. To check the firmware version, hold down the &amp;quot;-&amp;quot; button. It will display something like &amp;quot;v2.14.2425902 17-01-21&amp;quot;, suggesting its actual release date, here 2021-01-17. Clicking the &amp;quot;+&amp;quot; button repeatedly reveals various internal settings, such as hardware version, current temperature, time since power-on, and number of motions detected. Clicking &amp;quot;-&amp;quot; returns to the regular display of current temperature, target temperature, and supply voltage. At other times it may show power draw.&lt;br /&gt;
&lt;br /&gt;
To actually heat up the tip, you will need a power supply that can provide 12V or more. This may be a dedicated power supply with a standard barrel connector (+ center, - outside) that supplies anywhere from 12V to 21V, or a USB-C supply that can negotiate up to such a voltage. (You probably have a suitable supply disused in a box somewhere.)&lt;br /&gt;
&lt;br /&gt;
Clicking &amp;quot;+&amp;quot; starts the tip heating. The display then shows power draw, current temperature, supply voltage, and estimated time to reach target temperature. You can adjust the target temperature with further clicks of &amp;quot;+&amp;quot; and &amp;quot;-&amp;quot; buttons. Waiting for the regular display to return, then holding down &amp;quot;-&amp;quot; for a moment turns the heat off. You can watch the temperature measurement go up and down. Certain settings involve holding down both buttons.&lt;br /&gt;
&lt;br /&gt;
The iron will &amp;quot;sleep&amp;quot;, switching to a lower temperature, after it has been put down for a short time, and heat up again when it is picked up.&lt;br /&gt;
&lt;br /&gt;
Clicking &amp;quot;-&amp;quot; when heat is off steps through menus to control a variety of settings, such as the sleep temperature, time until sleep, motion sensitivity, temperature units (C or F) etc.&lt;br /&gt;
&lt;br /&gt;
== Pictures ==&lt;br /&gt;
&lt;br /&gt;
Pre-release:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil_Exploded_Diagram_ver_0.9.png|Pinecil renders|alt=alt language&lt;br /&gt;
File:PinecilPrototype.jpg|Pinecil prototype|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Production:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil-bb2-01.jpg|Pinecil and TS-B2 retail package|alt=alt language&lt;br /&gt;
File:Pinecil-Case-Red-1.jpg|Pinecil red casing|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Pinecil tips ==&lt;br /&gt;
* Uses TS-100 compatible tips&lt;br /&gt;
* Tip model TS-B2 is the default tip supplied with the Pinecil&lt;br /&gt;
* Tip set 1 (left) &amp;amp; 2 (right):&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:PinecilTipSets.jpg|800px]]&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* '''Dimensions:''' 170mm with solder tip or 98mm without solder tip x 12.8mm x 16.2mm&lt;br /&gt;
* '''Weight:''' 30g with solder tip, 20g without solder tip&lt;br /&gt;
* '''CPU:''' GD32VF103TB 32-bit RV32IMAC RISC-V “Bumblebee Core” @ 108 MHz&lt;br /&gt;
* '''Display:''' 0.67&amp;quot; QUG 9616TSWCG02 96x16 Monochrome Matrix display&lt;br /&gt;
* '''Memory:'''&lt;br /&gt;
** 128KB Flash&lt;br /&gt;
** 32KB SRAM&lt;br /&gt;
* '''DC in (only one of the following at a time):'''&lt;br /&gt;
** 12V- 24V DC5525 Barrel Jack&lt;br /&gt;
** USB-C 12-20V PD&lt;br /&gt;
** QC3.0&lt;br /&gt;
** Recommend operating voltage 12-21V, maximum rating at 24V&lt;br /&gt;
&lt;br /&gt;
== Pinecil board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
* Pinecil mainboard schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v1.0a_20201120.pdf Pinecil mainboard schematic ver 1.0 20201120, this is production version schematic]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Top PDF file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Bottom PDF file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Top Drawing file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Bottom Drawing file]&lt;br /&gt;
&lt;br /&gt;
* Pinecil certifications:&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20CE%20RED%20Certificate-S20102803801001.pdf Pinecil CE RED Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20FCC%20Certificate-S20102803802001.pdf Pinecil FCC Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20RoHS10%20Certificate-S20102803803001.pdf Pinecil ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
* Pinecil breakout board schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_Breakout_Board_Schematic_v1.0_20201005.pdf Pinecil breakout board schematic ver 1.0 20201005]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_Breakout_Board_PCB_layout_v1.0_20201005.pdf Pinecil breakout board PCB layout ver 1.0]&lt;br /&gt;
* Photos:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil-breakout-board-02.jpg|Store photo&lt;br /&gt;
File:Pinecil breakout top.jpg|Top view&lt;br /&gt;
File:Pinecil breakout bottom.jpg|Bottom view&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Firmware Image Releases ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/pine64/pinecil-firmware-updater/releases/latest Latest Pinecil Firmware Updater] for MacOS and Windows&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/os/Pinecil/Pinecil_firmware_20201115.zip Pinecil production firmware 20201115, thanks to Ralimtek]&lt;br /&gt;
&lt;br /&gt;
Links to development firmware and documentation:&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/Ralim/IronOS/releases GitHub repository for IronOS, from Ralimtek]&lt;br /&gt;
* [https://github.com/Ralim/IronOS/blob/master/Documentation/Flashing.md GitHub link for IronOS flashing documentation]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for components and peripherals ==&lt;br /&gt;
* GigaDevice RISC-V SoC information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_Datasheet_Rev%201.1.pdf GigaDevice RISC-V GD32VF103TB SoC Datasheet V1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_User_Manual_EN_V1.2.pdf GigaDevice RISC-V GD32VF103TB SoC Usermanual V1.2]&lt;br /&gt;
* Display Module information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG 9616TSWCG02 Display Module Datasheet]&lt;br /&gt;
* USB Type-C PD Controller information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/FUSB302-D.PDF ON Semiconductor FUSB302 USB Type-C PD Controller Datasheet]&lt;br /&gt;
* Sensor information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/BMA223-Bosch.pdf Bosch BMA223 Acceleration Sensor Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf Silicon Lab Si7210 Hall-Effect Magnetic Position Sensor Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/TMP35_36_37.pdf Analog Device TMP36 Temparature Sensor Datasheet]&lt;br /&gt;
* Power Regulator information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/RT7272B-05.pdf Ricktek RT7272B 3A Switching Power Regulator Datasheet - on mainboard]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/LP6498B6F.pdf LowPowerSemi LP6498B6F 1.2A Switching Power Regulator Datasheet - on breakout board]&lt;br /&gt;
* Power MOSFET Switch information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/Changjiang-Electronics-Tech-CJ-CJQ7328.pdf Chang Jiang CJQ7328 8A MOSFET Datasheet]&lt;br /&gt;
* OP Amp information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGMicro SGM8557-1 Low Noise OP Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Batch changes ==&lt;br /&gt;
&lt;br /&gt;
* For the first manufacture batch of the Pinecil, the copper ring connecting the earth screw to the tip was omitted as the engineering team found the TS100 design lacking. For the second round onwards, an improved design copper ring has been included as standard, and is also included with the replacement red and black handles. For normal operation of the iron, omission of the ring does not impact it's operation. If you are working with ESD components, you will however need it in order to ground the iron tip via the earth screw at the back of the iron. If you from the first batch, and need that part, please contact info at pine64 dot org with the subject &amp;quot;Pinecil copper ring&amp;quot;, and include your order number and shipment will be arranged. &lt;br /&gt;
&lt;br /&gt;
* The first batch of Pinecil's were rated 12-24v @ 65W. After some heated discussion on the discussion group, it was decided that it would be downgraded to 12-21V @ 60W, due to concern over the connection of the DC jack to the USB-PD chip, which has a recommended maximum of 21v, and absolute maximum of 28v. &lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
! Project Homepage&lt;br /&gt;
! Project Source&lt;br /&gt;
! Implementations&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Ralimtek&lt;br /&gt;
| https://ralimtek.com&lt;br /&gt;
| https://www.gitmemory.com/Ralim&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Alvin Wong&lt;br /&gt;
| &lt;br /&gt;
| https://github.com/alvinhochun/gd32vf103-pinecil-demo-rs&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== How to update a firmware ===&lt;br /&gt;
&lt;br /&gt;
{{warning|1=While you can't brick your device permanently (DFU is in ROM); this can make your device inoperable if you flash an invalid firmware.}}&lt;br /&gt;
&lt;br /&gt;
==== With application ====&lt;br /&gt;
&lt;br /&gt;
# Download Pinecil Firmware Updater for [http://pinecil.pine64.org/updater/get-binaries.php?platform=win64 Windows], [http://pinecil.pine64.org/updater/get-binaries.php?platform=macos64 MacOS], or build by yourself from [https://github.com/pine64/pinecil-firmware-updater sources].&lt;br /&gt;
# Open it, select operating system you want to flash and click *Flash*. (Don't connect Pinecil yet)&lt;br /&gt;
# Follow application instructions for correct Pinecil connection to your PC.&lt;br /&gt;
&lt;br /&gt;
==== Manually ====&lt;br /&gt;
&lt;br /&gt;
(Method tested on Linux, should work on any OS which supply dfu-util 0.10, if your distro comes with 0.9 you might soft-brick your Pinecil)&lt;br /&gt;
&lt;br /&gt;
{{note|1=If &amp;lt;code&amp;gt;dfu-util&amp;lt;/code&amp;gt; command cannot find a device with 28e9:0189 ID, try to run it with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{note|1=To check if you can use dfu-util 0.9, you can use &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;. If it reports &amp;lt;code&amp;gt;alt=0, name=&amp;quot;@Internal Flash  /0x08000000/128*001Kg&amp;quot;&amp;lt;/code&amp;gt; you are fine, otherwise you need to upgrade to 0.10, important part is &amp;lt;code&amp;gt;128*001Kg&amp;lt;/code&amp;gt;, which is flash amount of blocks and block size, as a chip used in Pinecil have 128 KB of Flash with 1KB page size}}&lt;br /&gt;
&lt;br /&gt;
# Enter an update mode. For that plug USB cable while holding *-* button (button, that's closest to USB-C port)&lt;br /&gt;
# Make a firmware backup: &amp;lt;code&amp;gt;dfu-util -d 28e9:0189 -a 0 -U ~/pinecil/internal.flash.stock -s 0x08000000&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;28e9:0189&amp;lt;/code&amp;gt; -- USB Device ID (can be obtained from &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt; but in dfu-util output it might be hard to identify the Pinecil device)&lt;br /&gt;
## &amp;lt;code&amp;gt;-a 0&amp;lt;/code&amp;gt; -- selects partition to flash. List of possible options can be obtained via &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;. Partition 0 - internal SPI flash. Partition 1 - fuses (description of fuses can be found in User Manual for the chip)&lt;br /&gt;
## &amp;lt;code&amp;gt;-U&amp;lt;/code&amp;gt; -- specifies a mode. U is upload, which means that firmware will be downloaded and saved to file (yes, that's confusing, but it is what it is, feel free to verify that in a manual of your version of dfu-util). Command must be followed by a path to file where you want to save your firmware. dfu-util will refuse to dump firmware if you already have a file with that name.&lt;br /&gt;
## &amp;lt;code&amp;gt;-s 0x08000000&amp;lt;/code&amp;gt; -- specify the address in a flash from which dump will start. This can be obtained from &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Flash a new firmware: &amp;lt;code&amp;gt;dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt; -- is a mode to Download firmware to the device (yes, that's confusing, but you indeed Upload from device and Download to device with dfu-util). That should follow the file with the firmware. Update archive from Ralim usually contains two files: &amp;lt;code&amp;gt;.hex&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.bin&amp;lt;/code&amp;gt;. One that is required - is &amp;lt;code&amp;gt;.bin&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;_EN&amp;lt;/code&amp;gt; is the language code of the firmware, means that &amp;lt;code&amp;gt;_EN&amp;lt;/code&amp;gt; will flash english version of firmware.&lt;br /&gt;
## &amp;lt;code&amp;gt;-s 0x08000000:mass-erase:force&amp;lt;/code&amp;gt; -- specified the address where to flash the file. &amp;lt;code&amp;gt;:mass-erase:force&amp;lt;/code&amp;gt; is required to force-erase flash before updating firmware, otherwise you might have unpredictable results.&lt;br /&gt;
## If it fails with &amp;lt;code&amp;gt;Error during special command &amp;quot;MASS_ERASE&amp;quot; get_status&amp;lt;/code&amp;gt; (as has happened with recent shipments) then use ...&amp;lt;code&amp;gt;-s 0x08000000&amp;lt;/code&amp;gt; without attempting &amp;quot;mass-erase&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Disassembly steps ==&lt;br /&gt;
&lt;br /&gt;
# Remove tip if present.&lt;br /&gt;
## Let tip cool down.&lt;br /&gt;
## Loosen top (display side) screw (PH1) on the tip side of the device.&lt;br /&gt;
## Gently pull tip out.&lt;br /&gt;
# Slide rubber off towards the tip side.&lt;br /&gt;
# Remove the ground screw (longer screw on the top side towards the port side) (PH1).&lt;br /&gt;
# Remove the bottom screw (at the tip side, between the legs) (PH1).&lt;br /&gt;
# Slightly pull the two halves of the case apart at the tip side, enough to get a fingernail or guitar pick between the halves.&lt;br /&gt;
# Move the pick down the length of the split to loosen the bottom half's clips from the top half of the case.&lt;br /&gt;
# Once loose, remove the bottom half by moving it forward (it is retained by the top half at the port side).&lt;br /&gt;
# Remove the screws retaining the copper tip contacts (PH000).&lt;br /&gt;
# Remove the now loose copper tip contacts.&lt;br /&gt;
# Gently push the board towards the tip side by pushing on one of the ports (for example, by using a misaligned USB C connector).&lt;br /&gt;
# The PCB assembly is now free to be lifted out.&lt;br /&gt;
## The key caps are now no longer retained, carefully set aside the top half, or remove the caps and store them separately.&lt;br /&gt;
&lt;br /&gt;
== Assembly steps ==&lt;br /&gt;
&lt;br /&gt;
# Place the key caps into their recesses in the top half of the case.&lt;br /&gt;
# Place the PCB assembly into the top half of the case ports first.&lt;br /&gt;
## Lower the rest of the board into the case and move the PCB assembly towards the port side of the case (the DC barrel connector may be a firm place to gently push).&lt;br /&gt;
# Install the copper tip contacts.&lt;br /&gt;
## Orient the contact to align the alignment pin with the alignment hole next to the big hole on one of the big gold pads.&lt;br /&gt;
## Install and gently tighten the PH000 screw until the clip is no longer loose.&lt;br /&gt;
# Place the bottom half of the case into the top half by sliding the lip on the port side (side without the feet) of the bottom half under the arch of the port side of the top half.&lt;br /&gt;
# Gently close the case by bringing the two halves together, paying attention to each clip's alignment and ensuring the case edges align.&lt;br /&gt;
# Install the short PH1 screw at the bottom of the tip side of the case.&lt;br /&gt;
# Install the longer PH1 screw at the ground connection point at the top side of the case (between the display and the ports).&lt;br /&gt;
# Slide the rubber sleeve on (larger ridge first).&lt;br /&gt;
# Gently insert tip.&lt;br /&gt;
# Gently tighten the top PH1 screw to retain the tip.&lt;br /&gt;
&lt;br /&gt;
== Power Supply Compatibility ==&lt;br /&gt;
&lt;br /&gt;
The Pinecil can either work with a 12-21V battery or power supply via the 5525 (5.5mm outer diameter, 1.5mm post) centre-positive jack, or with any USB power supply that supports the QC2, QC3 or USB-PD (Power Delivery) specification. QC2 and QC3 power supplies will only be able to provide a maximum of 12V, limiting the Pinecil to about 17W of thermal capability. A suitable USB-PD power supply / power bank will be able to provide 20V, allowing the Pinecil to deliver the full 60W of heat to soldering tip. &lt;br /&gt;
&lt;br /&gt;
Known working QC/PD/barrel power adapters / power banks include:&lt;br /&gt;
&lt;br /&gt;
Power adapter:&lt;br /&gt;
* [https://pine64.com/product/pinepower-120w-desktop-power-supply-us-version/ PinePower Desktop]&lt;br /&gt;
* [https://www.nekteck.com/product/usb-if-certified-usb-c-charger-nekteck-60w-type-c-wall-charger-power-delivery-pd3-0-travel-charger-compatible-with-macbook-pro-2018-macbook-air-ipad-pro-pixel-3-galaxy-note-9-s9-with-6ft-cable/ Nekteck 60W with 6ft cable]&lt;br /&gt;
* Notebook AC Adapter HP L30757-002 (PD@20V)&lt;br /&gt;
* Notebook AC Adapter Lenovo ADLX65YLC3D (PD@20V) or LN-A0403A3C (Barrel 20V/2A)&lt;br /&gt;
* Notebook AC Adapter Delta Electronics ADP-65JH BB (DC@19V) and ADP-90CD DB&lt;br /&gt;
* Notebook AC Adapter LITEON PA-1700-02 (DC@18.5V, 65W)&lt;br /&gt;
* Smartphone Charger Samsung EP-TA20EWE (QC2@9V)&lt;br /&gt;
* Smartphone Charger Google Pixel G1000-US (PD@9V)&lt;br /&gt;
&lt;br /&gt;
Power bank:&lt;br /&gt;
* [http://beta.blitzwolf.com/-p-15.html Blitzwolf BW-P1 10400mah QC2]&lt;br /&gt;
&lt;br /&gt;
Limited usability:&lt;br /&gt;
* Notebook Docking Station HP Thunderbolt Dock 230W G2 (Pinecil Firmware: 2.14.2425902)&lt;br /&gt;
** Pinecil switches between PD@20V/unpowered at ~ 0.5 Hz =&amp;gt; No settings possible, but halfways works with power on setting or regulary pressing the heat up button&lt;br /&gt;
** Works fine when using PDC004-20V or ZY12PDN breakout on dc jack (DC@20V)&lt;br /&gt;
* Nillkin 63W USB Car Charger Quick Charge 3.0 PD (Pinecil Firmware: 2.14.2425902)&lt;br /&gt;
** QC3@9V/12V and PD@15V work, PD@20V doesn't&lt;br /&gt;
** PD@20V works fine when using PDC004-20V or ZY12PDN on dc jack (DC@20V, limit: 45W)&lt;br /&gt;
&lt;br /&gt;
Blacklist / Not compatible:&lt;br /&gt;
* Smartphone Charger RAVpower 30W Dual USB Turbo Wall Charger (Should provide QC3@9V/12V, but only provides 5 V on both ports)&lt;br /&gt;
&lt;br /&gt;
== Cases and 3D Models ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/kohkohwastaken/3D-Models/tree/main/Pine64 3D model of Pinecil by kohkoh]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4727212 Pinecil compact case]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4723235 Pinecil and tips case]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4734830 T12 Tip Adapter]&lt;br /&gt;
* [https://www.thingiverse.com/search?q=pinecil Thingiverse search for 'Pinecil']&lt;br /&gt;
&lt;br /&gt;
== Caring for a soldering iron ==&lt;br /&gt;
&lt;br /&gt;
https://www.weller-tools.com/how-to-care-for-soldering-iron-tips/&lt;br /&gt;
&lt;br /&gt;
https://www.eevblog.com/forum/beginners/best-way-to-clean-oxidized-soldering-iron-tip/&lt;br /&gt;
&lt;br /&gt;
== Community links ==&lt;br /&gt;
&lt;br /&gt;
* [https://t.me/joinchat/Kmi2S1iej-_4DgrVf3jjnQ Telegram]&lt;br /&gt;
* [https://matrix.to/#/#pinecil:matrix.org Matrix]&lt;br /&gt;
* [https://discordapp.com/invite/DgB7kzr Discord]&lt;br /&gt;
&lt;br /&gt;
[[Category:Pinecil]]&lt;/div&gt;</summary>
		<author><name>Ncm</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Pinecil&amp;diff=9705</id>
		<title>Pinecil</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Pinecil&amp;diff=9705"/>
		<updated>2021-04-07T04:11:56Z</updated>

		<summary type="html">&lt;p&gt;Ncm: Add introductory usage instructions.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overall description ==&lt;br /&gt;
[[File:Pinecil-bb2-01_rotate.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
The Pinecil is a portable, temperature controlled soldering iron. It also has the intended use of being a Risc-V development device using a breakout board. It's main features are:&lt;br /&gt;
&lt;br /&gt;
* Portability&lt;br /&gt;
* Settable temperature&lt;br /&gt;
* Soldering tips:&lt;br /&gt;
** Replaceable&lt;br /&gt;
** More than half a dozen available. Currently sold as 2 separate sets of 4, one fine set, the other larger.&lt;br /&gt;
** Compatible with TS100&lt;br /&gt;
* Flexible power sources:&lt;br /&gt;
** Barrel jack&lt;br /&gt;
** USB Type C power delivery&lt;br /&gt;
&lt;br /&gt;
There are additional features that include (Useful for devkit use):&lt;br /&gt;
&lt;br /&gt;
* A Programmable Gigadevice Risc-V GD32V embedded processor&lt;br /&gt;
* 0.67&amp;quot; Monochrome Display that can render text or graphics&lt;br /&gt;
* Support for Idle detection, for automatic power down of tip&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
&lt;br /&gt;
Pinecil comes with a separate heating element / tip. After inserting its barrel into the end of the handle, lightly tighten the screw onto it. Loosen this screw when changing out the tip.&lt;br /&gt;
&lt;br /&gt;
The USB port, connected to any host, provides enough power to drive the user interface, but not necessarily enough to heat the tip. To check the firmware version, hold down the &amp;quot;-&amp;quot; button. It will display something like &amp;quot;v2.14.2425902 17-01-21&amp;quot;, suggesting its actual release date, here 2021-01-17. Clicking the &amp;quot;+&amp;quot; button repeatedly reveals various internal settings, such as hardware version, current temperature, time since power-on, and number of motions detected. Clicking &amp;quot;-&amp;quot; returns to the regular display of current temperature, target temperature, and supply voltage. At other times it may show power draw.&lt;br /&gt;
&lt;br /&gt;
To actually heat up the tip, you will need a power supply that can provide 12V or more. This may be a dedicated power supply with a standard barrel connector (+ center, - outside) that supplies anywhere from 12V to 21V, or a USB-C supply that can negotiate up to such a voltage. (You probably have a suitable supply disused in a box somewhere.)&lt;br /&gt;
&lt;br /&gt;
Clicking &amp;quot;+&amp;quot; starts the tip heating. The display then shows power draw, current temperature, supply voltage, and estimated time to reach target temperature. You can adjust the target temperature with further clicks of &amp;quot;+&amp;quot; and &amp;quot;-&amp;quot; buttons. Waiting for the regular display to return, then holding down &amp;quot;-&amp;quot; for a moment turns the heat off. You can watch the temperature measurement go up and down. Certain settings involve holding down both buttons.&lt;br /&gt;
&lt;br /&gt;
The iron will &amp;quot;sleep&amp;quot;, switching to a lower temperature, after it has been put down for a short time, and heat up again when it is picked up.&lt;br /&gt;
&lt;br /&gt;
Clicking &amp;quot;-&amp;quot; when heat is off steps through menus to control a variety of settings, such as the sleep temperature, time until sleep, motion sensitivity, temperature units (C or F) etc.&lt;br /&gt;
&lt;br /&gt;
== Pictures ==&lt;br /&gt;
&lt;br /&gt;
Pre-release:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil_Exploded_Diagram_ver_0.9.png|Pinecil renders|alt=alt language&lt;br /&gt;
File:PinecilPrototype.jpg|Pinecil prototype|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Production:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil-bb2-01.jpg|Pinecil and TS-B2 retail package|alt=alt language&lt;br /&gt;
File:Pinecil-Case-Red-1.jpg|Pinecil red casing|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Pinecil tips ==&lt;br /&gt;
* Uses TS-100 compatible tips&lt;br /&gt;
* Tip model TS-B2 is the default tip supplied with the Pinecil&lt;br /&gt;
* Tip set 1 (left) &amp;amp; 2 (right):&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:PinecilTipSets.jpg|800px]]&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* '''Dimensions:''' 170mm with solder tip or 98mm without solder tip x 12.8mm x 16.2mm&lt;br /&gt;
* '''Weight:''' 30g with solder tip, 20g without solder tip&lt;br /&gt;
* '''CPU:''' GD32VF103TB 32-bit RV32IMAC RISC-V “Bumblebee Core” @ 108 MHz&lt;br /&gt;
* '''Display:''' 0.67&amp;quot; QUG 9616TSWCG02 96x16 Monochrome Matrix display&lt;br /&gt;
* '''Memory:'''&lt;br /&gt;
** 128KB Flash&lt;br /&gt;
** 32KB SRAM&lt;br /&gt;
* '''DC in (only one of the following at a time):'''&lt;br /&gt;
** 12V- 24V DC5525 Barrel Jack&lt;br /&gt;
** USB-C 12-20V PD&lt;br /&gt;
** QC3.0&lt;br /&gt;
** Recommend operating voltage 12-21V, maximum rating at 24V&lt;br /&gt;
&lt;br /&gt;
== Pinecil board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
* Pinecil mainboard schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v1.0a_20201120.pdf Pinecil mainboard schematic ver 1.0 20201120, this is production version schematic]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Top PDF file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Bottom PDF file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Top Drawing file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Bottom Drawing file]&lt;br /&gt;
&lt;br /&gt;
* Pinecil certifications:&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20CE%20RED%20Certificate-S20102803801001.pdf Pinecil CE RED Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20FCC%20Certificate-S20102803802001.pdf Pinecil FCC Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20RoHS10%20Certificate-S20102803803001.pdf Pinecil ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
* Pinecil breakout board schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_Breakout_Board_Schematic_v1.0_20201005.pdf Pinecil breakout board schematic ver 1.0 20201005]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_Breakout_Board_PCB_layout_v1.0_20201005.pdf Pinecil breakout board PCB layout ver 1.0]&lt;br /&gt;
* Photos:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil-breakout-board-02.jpg|Store photo&lt;br /&gt;
File:Pinecil breakout top.jpg|Top view&lt;br /&gt;
File:Pinecil breakout bottom.jpg|Bottom view&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Firmware Image Releases ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/pine64/pinecil-firmware-updater/releases/latest Latest Pinecil Firmware Updater] for MacOS and Windows&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/os/Pinecil/Pinecil_firmware_20201115.zip Pinecil production firmware 20201115, thanks to Ralimtek]&lt;br /&gt;
&lt;br /&gt;
Links to development firmware and documentation:&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/Ralim/IronOS/releases GitHub repository for IronOS, from Ralimtek]&lt;br /&gt;
* [https://github.com/Ralim/IronOS/blob/master/Documentation/Flashing.md GitHub link for IronOS flashing documentation]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for components and peripherals ==&lt;br /&gt;
* GigaDevice RISC-V SoC information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_Datasheet_Rev%201.1.pdf GigaDevice RISC-V GD32VF103TB SoC Datasheet V1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_User_Manual_EN_V1.2.pdf GigaDevice RISC-V GD32VF103TB SoC Usermanual V1.2]&lt;br /&gt;
* Display Module information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG 9616TSWCG02 Display Module Datasheet]&lt;br /&gt;
* USB Type-C PD Controller information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/FUSB302-D.PDF ON Semiconductor FUSB302 USB Type-C PD Controller Datasheet]&lt;br /&gt;
* Sensor information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/BMA223-Bosch.pdf Bosch BMA223 Acceleration Sensor Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf Silicon Lab Si7210 Hall-Effect Magnetic Position Sensor Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/TMP35_36_37.pdf Analog Device TMP36 Temparature Sensor Datasheet]&lt;br /&gt;
* Power Regulator information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/RT7272B-05.pdf Ricktek RT7272B 3A Switching Power Regulator Datasheet - on mainboard]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/LP6498B6F.pdf LowPowerSemi LP6498B6F 1.2A Switching Power Regulator Datasheet - on breakout board]&lt;br /&gt;
* Power MOSFET Switch information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/Changjiang-Electronics-Tech-CJ-CJQ7328.pdf Chang Jiang CJQ7328 8A MOSFET Datasheet]&lt;br /&gt;
* OP Amp information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGMicro SGM8557-1 Low Noise OP Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Batch changes ==&lt;br /&gt;
&lt;br /&gt;
* For the first manufacture batch of the Pinecil, the copper ring connecting the earth screw to the tip was omitted as the engineering team found the TS100 design lacking. For the second round onwards, an improved design copper ring has been included as standard, and is also included with the replacement red and black handles. For normal operation of the iron, omission of the ring does not impact it's operation. If you are working with ESD components, you will however need it in order to ground the iron tip via the earth screw at the back of the iron. If you from the first batch, and need that part, please contact info at pine64 dot org with the subject &amp;quot;Pinecil copper ring&amp;quot;, and include your order number and shipment will be arranged. &lt;br /&gt;
&lt;br /&gt;
* The first batch of Pinecil's were rated 12-24v @ 65W. After some heated discussion on the discussion group, it was decided that it would be downgraded to 12-21V @ 60W, due to concern over the connection of the DC jack to the USB-PD chip, which has a recommended maximum of 21v, and absolute maximum of 28v. &lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
! Project Homepage&lt;br /&gt;
! Project Source&lt;br /&gt;
! Implementations&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Ralimtek&lt;br /&gt;
| https://ralimtek.com&lt;br /&gt;
| https://www.gitmemory.com/Ralim&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Alvin Wong&lt;br /&gt;
| &lt;br /&gt;
| https://github.com/alvinhochun/gd32vf103-pinecil-demo-rs&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== How to update a firmware ===&lt;br /&gt;
&lt;br /&gt;
{{warning|1=While you can't brick your device permanently (DFU is in ROM); this can make your device inoperable if you flash an invalid firmware.}}&lt;br /&gt;
&lt;br /&gt;
==== With application ====&lt;br /&gt;
&lt;br /&gt;
# Download Pinecil Firmware Updater for [http://pinecil.pine64.org/updater/get-binaries.php?platform=win64 Windows], [http://pinecil.pine64.org/updater/get-binaries.php?platform=macos64 MacOS], or build by yourself from [https://github.com/pine64/pinecil-firmware-updater sources].&lt;br /&gt;
# Open it, select operating system you want to flash and click *Flash*. (Don't connect Pinecil yet)&lt;br /&gt;
# Follow application instructions for correct Pinecil connection to your PC.&lt;br /&gt;
&lt;br /&gt;
==== Manually ====&lt;br /&gt;
&lt;br /&gt;
(Method tested on Linux, should work on any OS which supply dfu-util 0.10, if your distro comes with 0.9 you might soft-brick your Pinecil)&lt;br /&gt;
&lt;br /&gt;
{{note|1=If &amp;lt;code&amp;gt;dfu-util&amp;lt;/code&amp;gt; command cannot find a device with 28e9:0189 ID, try to run it with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{note|1=To check if you can use dfu-util 0.9, you can use &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;. If it reports &amp;lt;code&amp;gt;alt=0, name=&amp;quot;@Internal Flash  /0x08000000/128*001Kg&amp;quot;&amp;lt;/code&amp;gt; you are fine, otherwise you need to upgrade to 0.10, important part is &amp;lt;code&amp;gt;128*001Kg&amp;lt;/code&amp;gt;, which is flash amount of blocks and block size, as a chip used in Pinecil have 128 KB of Flash with 1KB page size}}&lt;br /&gt;
&lt;br /&gt;
# Enter an update mode. For that plug USB cable while holding *-* button (button, that's closest to USB-C port)&lt;br /&gt;
# Make a firmware backup: &amp;lt;code&amp;gt;dfu-util -d 28e9:0189 -a 0 -U ~/pinecil/internal.flash.stock -s 0x08000000&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;28e9:0189&amp;lt;/code&amp;gt; -- USB Device ID (can be obtained from &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt; but in dfu-util output it might be hard to identify the Pinecil device)&lt;br /&gt;
## &amp;lt;code&amp;gt;-a 0&amp;lt;/code&amp;gt; -- selects partition to flash. List of possible options can be obtained via &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;. Partition 0 - internal SPI flash. Partition 1 - fuses (description of fuses can be found in User Manual for the chip)&lt;br /&gt;
## &amp;lt;code&amp;gt;-U&amp;lt;/code&amp;gt; -- specifies a mode. U is upload, which means that firmware will be downloaded and saved to file (yes, that's confusing, but it is what it is, feel free to verify that in a manual of your version of dfu-util). Command must be followed by a path to file where you want to save your firmware. dfu-util will refuse to dump firmware if you already have a file with that name.&lt;br /&gt;
## &amp;lt;code&amp;gt;-s 0x08000000&amp;lt;/code&amp;gt; -- specify the address in a flash from which dump will start. This can be obtained from &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Flash a new firmware: &amp;lt;code&amp;gt;dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt; -- is a mode to Download firmware to the device (yes, that's confusing, but you indeed Upload from device and Download to device with dfu-util). That should follow the file with the firmware. Update archive from Ralim usually contains two files: &amp;lt;code&amp;gt;.hex&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.bin&amp;lt;/code&amp;gt;. One that is required - is &amp;lt;code&amp;gt;.bin&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;_EN&amp;lt;/code&amp;gt; is the language code of the firmware, means that &amp;lt;code&amp;gt;_EN&amp;lt;/code&amp;gt; will flash english version of firmware.&lt;br /&gt;
## &amp;lt;code&amp;gt;-s 0x08000000:mass-erase:force&amp;lt;/code&amp;gt; -- specified the address where to flash the file. &amp;lt;code&amp;gt;:mass-erase:force&amp;lt;/code&amp;gt; is required to force-erase flash before updating firmware, otherwise you might have unpredictable results.&lt;br /&gt;
## If it fails with &amp;lt;code&amp;gt;Error during special command &amp;quot;MASS_ERASE&amp;quot; get_status&amp;lt;/code&amp;gt; (as has happened with recent shipments) then use ...&amp;lt;code&amp;gt;-s 0x08000000&amp;lt;/code&amp;gt; without attempting &amp;quot;mass-erase&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Disassembly steps ==&lt;br /&gt;
&lt;br /&gt;
# Remove tip if present.&lt;br /&gt;
## Let tip cool down.&lt;br /&gt;
## Loosen top (display side) screw (PH1) on the tip side of the device.&lt;br /&gt;
## Gently pull tip out.&lt;br /&gt;
# Slide rubber off towards the tip side.&lt;br /&gt;
# Remove the ground screw (longer screw on the top side towards the port side) (PH1).&lt;br /&gt;
# Remove the bottom screw (at the tip side, between the legs) (PH1).&lt;br /&gt;
# Slightly pull the two halves of the case apart at the tip side, enough to get a fingernail or guitar pick between the halves.&lt;br /&gt;
# Move the pick down the length of the split to loosen the bottom half's clips from the top half of the case.&lt;br /&gt;
# Once loose, remove the bottom half by moving it forward (it is retained by the top half at the port side).&lt;br /&gt;
# Remove the screws retaining the copper tip contacts (PH000).&lt;br /&gt;
# Remove the now loose copper tip contacts.&lt;br /&gt;
# Gently push the board towards the tip side by pushing on one of the ports (for example, by using a misaligned USB C connector).&lt;br /&gt;
# The PCB assembly is now free to be lifted out.&lt;br /&gt;
## The key caps are now no longer retained, carefully set aside the top half, or remove the caps and store them separately.&lt;br /&gt;
&lt;br /&gt;
== Assembly steps ==&lt;br /&gt;
&lt;br /&gt;
# Place the key caps into their recesses in the top half of the case.&lt;br /&gt;
# Place the PCB assembly into the top half of the case ports first.&lt;br /&gt;
## Lower the rest of the board into the case and move the PCB assembly towards the port side of the case (the DC barrel connector may be a firm place to gently push).&lt;br /&gt;
# Install the copper tip contacts.&lt;br /&gt;
## Orient the contact to align the alignment pin with the alignment hole next to the big hole on one of the big gold pads.&lt;br /&gt;
## Install and gently tighten the PH000 screw until the clip is no longer loose.&lt;br /&gt;
# Place the bottom half of the case into the top half by sliding the lip on the port side (side without the feet) of the bottom half under the arch of the port side of the top half.&lt;br /&gt;
# Gently close the case by bringing the two halves together, paying attention to each clip's alignment and ensuring the case edges align.&lt;br /&gt;
# Install the short PH1 screw at the bottom of the tip side of the case.&lt;br /&gt;
# Install the longer PH1 screw at the ground connection point at the top side of the case (between the display and the ports).&lt;br /&gt;
# Slide the rubber sleeve on (larger ridge first).&lt;br /&gt;
# Gently insert tip.&lt;br /&gt;
# Gently tighten the top PH1 screw to retain the tip.&lt;br /&gt;
&lt;br /&gt;
== Power Supply Compatibility ==&lt;br /&gt;
&lt;br /&gt;
The Pinecil can either work with a 12-21V battery or power supply via the 5525 centre positive jack, or with USB power supplies that support the QC2/QC3 or USB-PD (Power Delivery) specifications. QC2 and QC3 power supplies will only be able to provide a maximum of 12V, limiting the Pinecil to about 17W of thermal capability. A suitable USB-PD power supply / power bank will be able to provide 20V, allowing the Pinecil to deliver the full 60W of heat to soldering tip. &lt;br /&gt;
&lt;br /&gt;
Known working QC/PD power adapters / power banks include:&lt;br /&gt;
&lt;br /&gt;
Power adapter:&lt;br /&gt;
* [https://pine64.com/product/pinepower-120w-desktop-power-supply-us-version/ PinePower Desktop]&lt;br /&gt;
* [https://www.nekteck.com/product/usb-if-certified-usb-c-charger-nekteck-60w-type-c-wall-charger-power-delivery-pd3-0-travel-charger-compatible-with-macbook-pro-2018-macbook-air-ipad-pro-pixel-3-galaxy-note-9-s9-with-6ft-cable/ Nekteck 60W with 6ft cable]&lt;br /&gt;
* Notebook AC Adapter HP L30757-002 (PD@20V)&lt;br /&gt;
* Notebook AC Adapter Lenovo ADLX65YLC3D or LN-A0403A3C (PD@20V)&lt;br /&gt;
* Notebook AC Adapter Delta Electronics ADP-65JH BB (DC@19V) and ADP-90CD DB&lt;br /&gt;
* Notebook AC Adapter LITEON PA-1700-02 (DC@18.5V, 65W)&lt;br /&gt;
* Smartphone Charger Samsung EP-TA20EWE (QC2@9V)&lt;br /&gt;
* Smartphone Charger Google Pixel G1000-US (PD@9V)&lt;br /&gt;
&lt;br /&gt;
Power bank:&lt;br /&gt;
* [http://beta.blitzwolf.com/-p-15.html Blitzwolf BW-P1 10400mah QC2]&lt;br /&gt;
&lt;br /&gt;
Limited usability:&lt;br /&gt;
* Notebook Docking Station HP Thunderbolt Dock 230W G2 (Pinecil Firmware: 2.14.2425902)&lt;br /&gt;
** Pinecil switches between PD@20V/unpowered at ~ 0.5 Hz =&amp;gt; No settings possible, but halfways works with power on setting or regulary pressing the heat up button&lt;br /&gt;
** Works fine when using PDC004-20V or ZY12PDN breakout on dc jack (DC@20V)&lt;br /&gt;
* Nillkin 63W USB Car Charger Quick Charge 3.0 PD (Pinecil Firmware: 2.14.2425902)&lt;br /&gt;
** QC3@9V/12V and PD@15V work, PD@20V doesn't&lt;br /&gt;
** PD@20V works fine when using PDC004-20V or ZY12PDN on dc jack (DC@20V, limit: 45W)&lt;br /&gt;
&lt;br /&gt;
Blacklist / Not compatible:&lt;br /&gt;
* Smartphone Charger RAVpower 30W Dual USB Turbo Wall Charger (Should provide QC3@9V/12V, but only provides 5 V on both ports)&lt;br /&gt;
&lt;br /&gt;
== Cases and 3D Models ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/kohkohwastaken/3D-Models/tree/main/Pine64 3D model of Pinecil by kohkoh]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4727212 Pinecil compact case]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4723235 Pinecil and tips case]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4734830 T12 Tip Adapter]&lt;br /&gt;
* [https://www.thingiverse.com/search?q=pinecil Thingiverse search for 'Pinecil']&lt;br /&gt;
&lt;br /&gt;
== Caring for a soldering iron ==&lt;br /&gt;
&lt;br /&gt;
https://www.weller-tools.com/how-to-care-for-soldering-iron-tips/&lt;br /&gt;
&lt;br /&gt;
https://www.eevblog.com/forum/beginners/best-way-to-clean-oxidized-soldering-iron-tip/&lt;br /&gt;
&lt;br /&gt;
== Community links ==&lt;br /&gt;
&lt;br /&gt;
* [https://t.me/joinchat/Kmi2S1iej-_4DgrVf3jjnQ Telegram]&lt;br /&gt;
* [https://matrix.to/#/#pinecil:matrix.org Matrix]&lt;br /&gt;
* [https://discordapp.com/invite/DgB7kzr Discord]&lt;br /&gt;
&lt;br /&gt;
[[Category:Pinecil]]&lt;/div&gt;</summary>
		<author><name>Ncm</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Pinecil&amp;diff=9700</id>
		<title>Pinecil</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Pinecil&amp;diff=9700"/>
		<updated>2021-04-05T07:05:31Z</updated>

		<summary type="html">&lt;p&gt;Ncm: Note alternative for if dfu-util download fails&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overall description ==&lt;br /&gt;
[[File:Pinecil-bb2-01_rotate.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
The Pinecil is a portable, temperature controlled soldering iron. It also has the intended use of being a Risc-V development device using a breakout board. It's main features are:&lt;br /&gt;
&lt;br /&gt;
* Portability&lt;br /&gt;
* Settable temperature&lt;br /&gt;
* Soldering tips:&lt;br /&gt;
** Replaceable&lt;br /&gt;
** More than half a dozen available. Currently sold as 2 separate sets of 4, one fine set, the other larger.&lt;br /&gt;
** Compatible with TS100&lt;br /&gt;
* Flexible power sources:&lt;br /&gt;
** Barrel jack&lt;br /&gt;
** USB Type C power delivery&lt;br /&gt;
&lt;br /&gt;
There are additional features that include (Useful for devkit use):&lt;br /&gt;
&lt;br /&gt;
* A Programmable Gigadevice Risc-V GD32V embedded processor&lt;br /&gt;
* 0.67&amp;quot; Monochrome Display that can render text or graphics&lt;br /&gt;
* Support for Idle detection, for automatic power down of tip&lt;br /&gt;
&lt;br /&gt;
== Pictures ==&lt;br /&gt;
&lt;br /&gt;
Pre-release:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil_Exploded_Diagram_ver_0.9.png|Pinecil renders|alt=alt language&lt;br /&gt;
File:PinecilPrototype.jpg|Pinecil prototype|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Production:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil-bb2-01.jpg|Pinecil and TS-B2 retail package|alt=alt language&lt;br /&gt;
File:Pinecil-Case-Red-1.jpg|Pinecil red casing|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Pinecil tips ==&lt;br /&gt;
* Uses TS-100 compatible tips&lt;br /&gt;
* Tip model TS-B2 is the default tip supplied with the Pinecil&lt;br /&gt;
* Tip set 1 (left) &amp;amp; 2 (right):&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:PinecilTipSets.jpg|800px]]&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* '''Dimensions:''' 170mm with solder tip or 98mm without solder tip x 12.8mm x 16.2mm&lt;br /&gt;
* '''Weight:''' 30g with solder tip, 20g without solder tip&lt;br /&gt;
* '''CPU:''' GD32VF103TB 32-bit RV32IMAC RISC-V “Bumblebee Core” @ 108 MHz&lt;br /&gt;
* '''Display:''' 0.67&amp;quot; QUG 9616TSWCG02 96x16 Monochrome Matrix display&lt;br /&gt;
* '''Memory:'''&lt;br /&gt;
** 128KB Flash&lt;br /&gt;
** 32KB SRAM&lt;br /&gt;
* '''DC in (only one of the following at a time):'''&lt;br /&gt;
** 12V- 24V DC5525 Barrel Jack&lt;br /&gt;
** USB-C 12-20V PD&lt;br /&gt;
** QC3.0&lt;br /&gt;
** Recommend operating voltage 12-21V, maximum rating at 24V&lt;br /&gt;
&lt;br /&gt;
== Pinecil board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
* Pinecil mainboard schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v1.0a_20201120.pdf Pinecil mainboard schematic ver 1.0 20201120, this is production version schematic]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Top PDF file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Bottom PDF file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Top Drawing file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Bottom Drawing file]&lt;br /&gt;
&lt;br /&gt;
* Pinecil certifications:&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20CE%20RED%20Certificate-S20102803801001.pdf Pinecil CE RED Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20FCC%20Certificate-S20102803802001.pdf Pinecil FCC Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20RoHS10%20Certificate-S20102803803001.pdf Pinecil ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
* Pinecil breakout board schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_Breakout_Board_Schematic_v1.0_20201005.pdf Pinecil breakout board schematic ver 1.0 20201005]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_Breakout_Board_PCB_layout_v1.0_20201005.pdf Pinecil breakout board PCB layout ver 1.0]&lt;br /&gt;
* Photos:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil-breakout-board-02.jpg|Store photo&lt;br /&gt;
File:Pinecil breakout top.jpg|Top view&lt;br /&gt;
File:Pinecil breakout bottom.jpg|Bottom view&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Firmware Image Releases ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/pine64/pinecil-firmware-updater/releases/latest Latest Pinecil Firmware Updater] for MacOS and Windows&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/os/Pinecil/Pinecil_firmware_20201115.zip Pinecil production firmware 20201115, thanks to Ralimtek]&lt;br /&gt;
&lt;br /&gt;
Links to development firmware and documentation:&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/Ralim/IronOS/releases GitHub repository for IronOS, from Ralimtek]&lt;br /&gt;
* [https://github.com/Ralim/IronOS/blob/master/Documentation/Flashing.md GitHub link for IronOS flashing documentation]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for components and peripherals ==&lt;br /&gt;
* GigaDevice RISC-V SoC information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_Datasheet_Rev%201.1.pdf GigaDevice RISC-V GD32VF103TB SoC Datasheet V1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_User_Manual_EN_V1.2.pdf GigaDevice RISC-V GD32VF103TB SoC Usermanual V1.2]&lt;br /&gt;
* Display Module information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG 9616TSWCG02 Display Module Datasheet]&lt;br /&gt;
* USB Type-C PD Controller information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/FUSB302-D.PDF ON Semiconductor FUSB302 USB Type-C PD Controller Datasheet]&lt;br /&gt;
* Sensor information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/BMA223-Bosch.pdf Bosch BMA223 Acceleration Sensor Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf Silicon Lab Si7210 Hall-Effect Magnetic Position Sensor Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/TMP35_36_37.pdf Analog Device TMP36 Temparature Sensor Datasheet]&lt;br /&gt;
* Power Regulator information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/RT7272B-05.pdf Ricktek RT7272B 3A Switching Power Regulator Datasheet - on mainboard]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/LP6498B6F.pdf LowPowerSemi LP6498B6F 1.2A Switching Power Regulator Datasheet - on breakout board]&lt;br /&gt;
* Power MOSFET Switch information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/Changjiang-Electronics-Tech-CJ-CJQ7328.pdf Chang Jiang CJQ7328 8A MOSFET Datasheet]&lt;br /&gt;
* OP Amp information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGMicro SGM8557-1 Low Noise OP Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Batch changes ==&lt;br /&gt;
&lt;br /&gt;
* For the first manufacture batch of the Pinecil, the copper ring connecting the earth screw to the tip was omitted as the engineering team found the TS100 design lacking. For the second round onwards, an improved design copper ring has been included as standard, and is also included with the replacement red and black handles. For normal operation of the iron, omission of the ring does not impact it's operation. If you are working with ESD components, you will however need it in order to ground the iron tip via the earth screw at the back of the iron. If you from the first batch, and need that part, please contact info at pine64 dot org with the subject &amp;quot;Pinecil copper ring&amp;quot;, and include your order number and shipment will be arranged. &lt;br /&gt;
&lt;br /&gt;
* The first batch of Pinecil's were rated 12-24v @ 65W. After some heated discussion on the discussion group, it was decided that it would be downgraded to 12-21V @ 60W, due to concern over the connection of the DC jack to the USB-PD chip, which has a recommended maximum of 21v, and absolute maximum of 28v. &lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
! Project Homepage&lt;br /&gt;
! Project Source&lt;br /&gt;
! Implementations&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Ralimtek&lt;br /&gt;
| https://ralimtek.com&lt;br /&gt;
| https://www.gitmemory.com/Ralim&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Alvin Wong&lt;br /&gt;
| &lt;br /&gt;
| https://github.com/alvinhochun/gd32vf103-pinecil-demo-rs&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== How to update a firmware ===&lt;br /&gt;
&lt;br /&gt;
{{warning|1=While you can't brick your device permanently (DFU is in ROM); this can make your device inoperable if you flash an invalid firmware.}}&lt;br /&gt;
&lt;br /&gt;
==== With application ====&lt;br /&gt;
&lt;br /&gt;
# Download Pinecil Firmware Updater for [http://pinecil.pine64.org/updater/get-binaries.php?platform=win64 Windows], [http://pinecil.pine64.org/updater/get-binaries.php?platform=macos64 MacOS], or build by yourself from [https://github.com/pine64/pinecil-firmware-updater sources].&lt;br /&gt;
# Open it, select operating system you want to flash and click *Flash*. (Don't connect Pinecil yet)&lt;br /&gt;
# Follow application instructions for correct Pinecil connection to your PC.&lt;br /&gt;
&lt;br /&gt;
==== Manually ====&lt;br /&gt;
&lt;br /&gt;
(Method tested on Linux, should work on any OS which supply dfu-util 0.10, if your distro comes with 0.9 you might soft-brick your Pinecil)&lt;br /&gt;
&lt;br /&gt;
{{note|1=If &amp;lt;code&amp;gt;dfu-util&amp;lt;/code&amp;gt; command cannot find a device with 28e9:0189 ID, try to run it with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{note|1=To check if you can use dfu-util 0.9, you can use &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;. If it reports &amp;lt;code&amp;gt;alt=0, name=&amp;quot;@Internal Flash  /0x08000000/128*001Kg&amp;quot;&amp;lt;/code&amp;gt; you are fine, otherwise you need to upgrade to 0.10, important part is &amp;lt;code&amp;gt;128*001Kg&amp;lt;/code&amp;gt;, which is flash amount of blocks and block size, as a chip used in Pinecil have 128 KB of Flash with 1KB page size}}&lt;br /&gt;
&lt;br /&gt;
# Enter an update mode. For that plug USB cable while holding *-* button (button, that's closest to USB-C port)&lt;br /&gt;
# Make a firmware backup: &amp;lt;code&amp;gt;dfu-util -d 28e9:0189 -a 0 -U ~/pinecil/internal.flash.stock -s 0x08000000&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;28e9:0189&amp;lt;/code&amp;gt; -- USB Device ID (can be obtained from &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt; but in dfu-util output it might be hard to identify the Pinecil device)&lt;br /&gt;
## &amp;lt;code&amp;gt;-a 0&amp;lt;/code&amp;gt; -- selects partition to flash. List of possible options can be obtained via &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;. Partition 0 - internal SPI flash. Partition 1 - fuses (description of fuses can be found in User Manual for the chip)&lt;br /&gt;
## &amp;lt;code&amp;gt;-U&amp;lt;/code&amp;gt; -- specifies a mode. U is upload, which means that firmware will be downloaded and saved to file (yes, that's confusing, but it is what it is, feel free to verify that in a manual of your version of dfu-util). Command must be followed by a path to file where you want to save your firmware. dfu-util will refuse to dump firmware if you already have a file with that name.&lt;br /&gt;
## &amp;lt;code&amp;gt;-s 0x08000000&amp;lt;/code&amp;gt; -- specify the address in a flash from which dump will start. This can be obtained from &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Flash a new firmware: &amp;lt;code&amp;gt;dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt; -- is a mode to Download firmware to the device (yes, that's confusing, but you indeed Upload from device and Download to device with dfu-util). That should follow the file with the firmware. Update archive from Ralim usually contains two files: &amp;lt;code&amp;gt;.hex&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.bin&amp;lt;/code&amp;gt;. One that is required - is &amp;lt;code&amp;gt;.bin&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;_EN&amp;lt;/code&amp;gt; is the language code of the firmware, means that &amp;lt;code&amp;gt;_EN&amp;lt;/code&amp;gt; will flash english version of firmware.&lt;br /&gt;
## &amp;lt;code&amp;gt;-s 0x08000000:mass-erase:force&amp;lt;/code&amp;gt; -- specified the address where to flash the file. &amp;lt;code&amp;gt;:mass-erase:force&amp;lt;/code&amp;gt; is required to force-erase flash before updating firmware, otherwise you might have unpredictable results.&lt;br /&gt;
## If it fails with &amp;lt;code&amp;gt;Error during special command &amp;quot;MASS_ERASE&amp;quot; get_status&amp;lt;/code&amp;gt; (as has happened with recent shipments) then use ...&amp;lt;code&amp;gt;-s 0x08000000&amp;lt;/code&amp;gt; without attempting &amp;quot;mass-erase&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Disassembly steps ==&lt;br /&gt;
&lt;br /&gt;
# Remove tip if present.&lt;br /&gt;
## Let tip cool down.&lt;br /&gt;
## Loosen top (display side) screw (PH1) on the tip side of the device.&lt;br /&gt;
## Gently pull tip out.&lt;br /&gt;
# Slide rubber off towards the tip side.&lt;br /&gt;
# Remove the ground screw (longer screw on the top side towards the port side) (PH1).&lt;br /&gt;
# Remove the bottom screw (at the tip side, between the legs) (PH1).&lt;br /&gt;
# Slightly pull the two halves of the case apart at the tip side, enough to get a fingernail or guitar pick between the halves.&lt;br /&gt;
# Move the pick down the length of the split to loosen the bottom half's clips from the top half of the case.&lt;br /&gt;
# Once loose, remove the bottom half by moving it forward (it is retained by the top half at the port side).&lt;br /&gt;
# Remove the screws retaining the copper tip contacts (PH000).&lt;br /&gt;
# Remove the now loose copper tip contacts.&lt;br /&gt;
# Gently push the board towards the tip side by pushing on one of the ports (for example, by using a misaligned USB C connector).&lt;br /&gt;
# The PCB assembly is now free to be lifted out.&lt;br /&gt;
## The key caps are now no longer retained, carefully set aside the top half, or remove the caps and store them separately.&lt;br /&gt;
&lt;br /&gt;
== Assembly steps ==&lt;br /&gt;
&lt;br /&gt;
# Place the key caps into their recesses in the top half of the case.&lt;br /&gt;
# Place the PCB assembly into the top half of the case ports first.&lt;br /&gt;
## Lower the rest of the board into the case and move the PCB assembly towards the port side of the case (the DC barrel connector may be a firm place to gently push).&lt;br /&gt;
# Install the copper tip contacts.&lt;br /&gt;
## Orient the contact to align the alignment pin with the alignment hole next to the big hole on one of the big gold pads.&lt;br /&gt;
## Install and gently tighten the PH000 screw until the clip is no longer loose.&lt;br /&gt;
# Place the bottom half of the case into the top half by sliding the lip on the port side (side without the feet) of the bottom half under the arch of the port side of the top half.&lt;br /&gt;
# Gently close the case by bringing the two halves together, paying attention to each clip's alignment and ensuring the case edges align.&lt;br /&gt;
# Install the short PH1 screw at the bottom of the tip side of the case.&lt;br /&gt;
# Install the longer PH1 screw at the ground connection point at the top side of the case (between the display and the ports).&lt;br /&gt;
# Slide the rubber sleeve on (larger ridge first).&lt;br /&gt;
# Gently insert tip.&lt;br /&gt;
# Gently tighten the top PH1 screw to retain the tip.&lt;br /&gt;
&lt;br /&gt;
== Power Supply Compatibility ==&lt;br /&gt;
&lt;br /&gt;
The Pinecil can either work with a 12-21V battery or power supply via the 5525 centre positive jack, or with USB power supplies that support the QC2/QC3 or USB-PD (Power Delivery) specifications. QC2 and QC3 power supplies will only be able to provide a maximum of 12V, limiting the Pinecil to about 17W of thermal capability. A suitable USB-PD power supply / power bank will be able to provide 20V, allowing the Pinecil to deliver the full 60W of heat to soldering tip. &lt;br /&gt;
&lt;br /&gt;
Known working QC/PD power adapters / power banks include:&lt;br /&gt;
&lt;br /&gt;
Power adapter:&lt;br /&gt;
* [https://pine64.com/product/pinepower-120w-desktop-power-supply-us-version/ PinePower Desktop]&lt;br /&gt;
* [https://www.nekteck.com/product/usb-if-certified-usb-c-charger-nekteck-60w-type-c-wall-charger-power-delivery-pd3-0-travel-charger-compatible-with-macbook-pro-2018-macbook-air-ipad-pro-pixel-3-galaxy-note-9-s9-with-6ft-cable/ Nekteck 60W with 6ft cable]&lt;br /&gt;
* Notebook AC Adapter HP L30757-002 (PD@20V)&lt;br /&gt;
* Notebook AC Adapter Lenovo ADLX65YLC3D or LN-A0403A3C (PD@20V)&lt;br /&gt;
* Notebook AC Adapter Delta Electronics ADP-65JH BB (DC@19V)&lt;br /&gt;
* Smartphone Charger Samsung EP-TA20EWE (QC2@9V)&lt;br /&gt;
* Smartphone Charger Google Pixel G1000-US (PD@9V)&lt;br /&gt;
&lt;br /&gt;
Power bank:&lt;br /&gt;
* [http://beta.blitzwolf.com/-p-15.html Blitzwolf BW-P1 10400mah QC2]&lt;br /&gt;
&lt;br /&gt;
Limited usability:&lt;br /&gt;
* Notebook Docking Station HP Thunderbolt Dock 230W G2 (Pinecil Firmware: 2.14.2425902)&lt;br /&gt;
** Pinecil switches between PD@20V/unpowered at ~ 0.5 Hz =&amp;gt; No settings possible, but halfways works with power on setting or regulary pressing the heat up button&lt;br /&gt;
** Works fine when using PDC004-20V or ZY12PDN breakout on dc jack (DC@20V)&lt;br /&gt;
* Nillkin 63W USB Car Charger Quick Charge 3.0 PD (Pinecil Firmware: 2.14.2425902)&lt;br /&gt;
** QC3@9V/12V and PD@15V work, PD@20V doesn't&lt;br /&gt;
** PD@20V works fine when using PDC004-20V or ZY12PDN on dc jack (DC@20V, limit: 45W)&lt;br /&gt;
&lt;br /&gt;
Blacklist / Not compatible:&lt;br /&gt;
* Smartphone Charger RAVpower 30W Dual USB Turbo Wall Charger (Should provide QC3@9V/12V, but only provides 5 V on both ports)&lt;br /&gt;
&lt;br /&gt;
== Cases and 3D Models ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/kohkohwastaken/3D-Models/tree/main/Pine64 3D model of Pinecil by kohkoh]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4727212 Pinecil compact case]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4723235 Pinecil and tips case]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4734830 T12 Tip Adapter]&lt;br /&gt;
* [https://www.thingiverse.com/search?q=pinecil Thingiverse search for 'Pinecil']&lt;br /&gt;
&lt;br /&gt;
== Caring for a soldering iron ==&lt;br /&gt;
&lt;br /&gt;
https://www.weller-tools.com/how-to-care-for-soldering-iron-tips/&lt;br /&gt;
&lt;br /&gt;
https://www.eevblog.com/forum/beginners/best-way-to-clean-oxidized-soldering-iron-tip/&lt;br /&gt;
&lt;br /&gt;
== Community links ==&lt;br /&gt;
&lt;br /&gt;
* [https://t.me/joinchat/Kmi2S1iej-_4DgrVf3jjnQ Telegram]&lt;br /&gt;
* [https://matrix.to/#/#pinecil:matrix.org Matrix]&lt;br /&gt;
* [https://discordapp.com/invite/DgB7kzr Discord]&lt;br /&gt;
&lt;br /&gt;
[[Category:Pinecil]]&lt;/div&gt;</summary>
		<author><name>Ncm</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Pinecil&amp;diff=9697</id>
		<title>Pinecil</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Pinecil&amp;diff=9697"/>
		<updated>2021-04-03T20:45:42Z</updated>

		<summary type="html">&lt;p&gt;Ncm: Add other Lenovo power adapter found to work&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overall description ==&lt;br /&gt;
[[File:Pinecil-bb2-01_rotate.jpg]]&amp;lt;br&amp;gt;&lt;br /&gt;
The Pinecil is a portable, temperature controlled soldering iron. It also has the intended use of being a Risc-V development device using a breakout board. It's main features are:&lt;br /&gt;
&lt;br /&gt;
* Portability&lt;br /&gt;
* Settable temperature&lt;br /&gt;
* Soldering tips:&lt;br /&gt;
** Replaceable&lt;br /&gt;
** More than half a dozen available. Currently sold as 2 separate sets of 4, one fine set, the other larger.&lt;br /&gt;
** Compatible with TS100&lt;br /&gt;
* Flexible power sources:&lt;br /&gt;
** Barrel jack&lt;br /&gt;
** USB Type C power delivery&lt;br /&gt;
&lt;br /&gt;
There are additional features that include (Useful for devkit use):&lt;br /&gt;
&lt;br /&gt;
* A Programmable Gigadevice Risc-V GD32V embedded processor&lt;br /&gt;
* 0.67&amp;quot; Monochrome Display that can render text or graphics&lt;br /&gt;
* Support for Idle detection, for automatic power down of tip&lt;br /&gt;
&lt;br /&gt;
== Pictures ==&lt;br /&gt;
&lt;br /&gt;
Pre-release:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil_Exploded_Diagram_ver_0.9.png|Pinecil renders|alt=alt language&lt;br /&gt;
File:PinecilPrototype.jpg|Pinecil prototype|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Production:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil-bb2-01.jpg|Pinecil and TS-B2 retail package|alt=alt language&lt;br /&gt;
File:Pinecil-Case-Red-1.jpg|Pinecil red casing|alt=alt language&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Pinecil tips ==&lt;br /&gt;
* Uses TS-100 compatible tips&lt;br /&gt;
* Tip model TS-B2 is the default tip supplied with the Pinecil&lt;br /&gt;
* Tip set 1 (left) &amp;amp; 2 (right):&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:PinecilTipSets.jpg|800px]]&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
* '''Dimensions:''' 170mm with solder tip or 98mm without solder tip x 12.8mm x 16.2mm&lt;br /&gt;
* '''Weight:''' 30g with solder tip, 20g without solder tip&lt;br /&gt;
* '''CPU:''' GD32VF103TB 32-bit RV32IMAC RISC-V “Bumblebee Core” @ 108 MHz&lt;br /&gt;
* '''Display:''' 0.67&amp;quot; QUG 9616TSWCG02 96x16 Monochrome Matrix display&lt;br /&gt;
* '''Memory:'''&lt;br /&gt;
** 128KB Flash&lt;br /&gt;
** 32KB SRAM&lt;br /&gt;
* '''DC in (only one of the following at a time):'''&lt;br /&gt;
** 12V- 24V DC5525 Barrel Jack&lt;br /&gt;
** USB-C 12-20V PD&lt;br /&gt;
** QC3.0&lt;br /&gt;
** Recommend operating voltage 12-21V, maximum rating at 24V&lt;br /&gt;
&lt;br /&gt;
== Pinecil board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
* Pinecil mainboard schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_schematic_v1.0a_20201120.pdf Pinecil mainboard schematic ver 1.0 20201120, this is production version schematic]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Top PDF file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.pdf Pinecil mainboard ver 1.0 PCB Component Placement Bottom PDF file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-topplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Top Drawing file]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil-PCB-placement-v1.0-bottomplace.dxf Pinecil mainboard ver 1.0 PCB Component Placement Bottom Drawing file]&lt;br /&gt;
&lt;br /&gt;
* Pinecil certifications:&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20CE%20RED%20Certificate-S20102803801001.pdf Pinecil CE RED Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20FCC%20Certificate-S20102803802001.pdf Pinecil FCC Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/Pinecil%20RoHS10%20Certificate-S20102803803001.pdf Pinecil ROHS Certificate]&lt;br /&gt;
&lt;br /&gt;
* Pinecil breakout board schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_Breakout_Board_Schematic_v1.0_20201005.pdf Pinecil breakout board schematic ver 1.0 20201005]&lt;br /&gt;
** [https://files.pine64.org/doc/Pinecil/Pinecil_Breakout_Board_PCB_layout_v1.0_20201005.pdf Pinecil breakout board PCB layout ver 1.0]&lt;br /&gt;
* Photos:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Pinecil-breakout-board-02.jpg|Store photo&lt;br /&gt;
File:Pinecil breakout top.jpg|Top view&lt;br /&gt;
File:Pinecil breakout bottom.jpg|Bottom view&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Firmware Image Releases ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/pine64/pinecil-firmware-updater/releases/latest Latest Pinecil Firmware Updater] for MacOS and Windows&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/os/Pinecil/Pinecil_firmware_20201115.zip Pinecil production firmware 20201115, thanks to Ralimtek]&lt;br /&gt;
&lt;br /&gt;
Links to development firmware and documentation:&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/Ralim/IronOS/releases GitHub repository for IronOS, from Ralimtek]&lt;br /&gt;
* [https://github.com/Ralim/IronOS/blob/master/Documentation/Flashing.md GitHub link for IronOS flashing documentation]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for components and peripherals ==&lt;br /&gt;
* GigaDevice RISC-V SoC information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_Datasheet_Rev%201.1.pdf GigaDevice RISC-V GD32VF103TB SoC Datasheet V1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/GD32VF103_User_Manual_EN_V1.2.pdf GigaDevice RISC-V GD32VF103TB SoC Usermanual V1.2]&lt;br /&gt;
* Display Module information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/1810010328_UG-Univision-Semicon-UG-9616TSWCG02_C88335.pdf QUG 9616TSWCG02 Display Module Datasheet]&lt;br /&gt;
* USB Type-C PD Controller information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/FUSB302-D.PDF ON Semiconductor FUSB302 USB Type-C PD Controller Datasheet]&lt;br /&gt;
* Sensor information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/BMA223-Bosch.pdf Bosch BMA223 Acceleration Sensor Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/si7210-datasheet.pdf Silicon Lab Si7210 Hall-Effect Magnetic Position Sensor Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/TMP35_36_37.pdf Analog Device TMP36 Temparature Sensor Datasheet]&lt;br /&gt;
* Power Regulator information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/RT7272B-05.pdf Ricktek RT7272B 3A Switching Power Regulator Datasheet - on mainboard]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/LP6498B6F.pdf LowPowerSemi LP6498B6F 1.2A Switching Power Regulator Datasheet - on breakout board]&lt;br /&gt;
* Power MOSFET Switch information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/Changjiang-Electronics-Tech-CJ-CJQ7328.pdf Chang Jiang CJQ7328 8A MOSFET Datasheet]&lt;br /&gt;
* OP Amp information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinecil/SGM8557.pdf SGMicro SGM8557-1 Low Noise OP Amp Datasheet]&lt;br /&gt;
&lt;br /&gt;
== Batch changes ==&lt;br /&gt;
&lt;br /&gt;
* For the first manufacture batch of the Pinecil, the copper ring connecting the earth screw to the tip was omitted as the engineering team found the TS100 design lacking. For the second round onwards, an improved design copper ring has been included as standard, and is also included with the replacement red and black handles. For normal operation of the iron, omission of the ring does not impact it's operation. If you are working with ESD components, you will however need it in order to ground the iron tip via the earth screw at the back of the iron. If you from the first batch, and need that part, please contact info at pine64 dot org with the subject &amp;quot;Pinecil copper ring&amp;quot;, and include your order number and shipment will be arranged. &lt;br /&gt;
&lt;br /&gt;
* The first batch of Pinecil's were rated 12-24v @ 65W. After some heated discussion on the discussion group, it was decided that it would be downgraded to 12-21V @ 60W, due to concern over the connection of the DC jack to the USB-PD chip, which has a recommended maximum of 21v, and absolute maximum of 28v. &lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
! Project Homepage&lt;br /&gt;
! Project Source&lt;br /&gt;
! Implementations&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Ralimtek&lt;br /&gt;
| https://ralimtek.com&lt;br /&gt;
| https://www.gitmemory.com/Ralim&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Alvin Wong&lt;br /&gt;
| &lt;br /&gt;
| https://github.com/alvinhochun/gd32vf103-pinecil-demo-rs&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== How to update a firmware ===&lt;br /&gt;
&lt;br /&gt;
{{warning|1=While you can't brick your device permanently (DFU is in ROM); this can make your device inoperable if you flash an invalid firmware.}}&lt;br /&gt;
&lt;br /&gt;
==== With application ====&lt;br /&gt;
&lt;br /&gt;
# Download Pinecil Firmware Updater for [http://pinecil.pine64.org/updater/get-binaries.php?platform=win64 Windows], [http://pinecil.pine64.org/updater/get-binaries.php?platform=macos64 MacOS], or build by yourself from [https://github.com/pine64/pinecil-firmware-updater sources].&lt;br /&gt;
# Open it, select operating system you want to flash and click *Flash*. (Don't connect Pinecil yet)&lt;br /&gt;
# Follow application instructions for correct Pinecil connection to your PC.&lt;br /&gt;
&lt;br /&gt;
==== Manually ====&lt;br /&gt;
&lt;br /&gt;
(Method tested on Linux, should work on any OS which supply dfu-util 0.10, if your distro comes with 0.9 you might soft-brick your Pinecil)&lt;br /&gt;
&lt;br /&gt;
{{note|1=If &amp;lt;code&amp;gt;dfu-util&amp;lt;/code&amp;gt; command cannot find a device with 28e9:0189 ID, try to run it with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{note|1=To check if you can use dfu-util 0.9, you can use &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;. If it reports &amp;lt;code&amp;gt;alt=0, name=&amp;quot;@Internal Flash  /0x08000000/128*001Kg&amp;quot;&amp;lt;/code&amp;gt; you are fine, otherwise you need to upgrade to 0.10, important part is &amp;lt;code&amp;gt;128*001Kg&amp;lt;/code&amp;gt;, which is flash amount of blocks and block size, as a chip used in Pinecil have 128 KB of Flash with 1KB page size}}&lt;br /&gt;
&lt;br /&gt;
# Enter an update mode. For that plug USB cable while holding *-* button (button, that's closest to USB-C port)&lt;br /&gt;
# Make a firmware backup: &amp;lt;code&amp;gt;dfu-util -d 28e9:0189 -a 0 -U ~/pinecil/internal.flash.stock -s 0x08000000&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;28e9:0189&amp;lt;/code&amp;gt; -- USB Device ID (can be obtained from &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt; but in dfu-util output it might be hard to identify the Pinecil device)&lt;br /&gt;
## &amp;lt;code&amp;gt;-a 0&amp;lt;/code&amp;gt; -- selects partition to flash. List of possible options can be obtained via &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;. Partition 0 - internal SPI flash. Partition 1 - fuses (description of fuses can be found in User Manual for the chip)&lt;br /&gt;
## &amp;lt;code&amp;gt;-U&amp;lt;/code&amp;gt; -- specifies a mode. U is upload, which means that firmware will be downloaded and saved to file (yes, that's confusing, but it is what it is, feel free to verify that in a manual of your version of dfu-util). Command must be followed by a path to file where you want to save your firmware. dfu-util will refuse to dump firmware if you already have a file with that name.&lt;br /&gt;
## &amp;lt;code&amp;gt;-s 0x08000000&amp;lt;/code&amp;gt; -- specify the address in a flash from which dump will start. This can be obtained from &amp;lt;code&amp;gt;dfu-util -l&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Flash a new firmware: &amp;lt;code&amp;gt;dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force&amp;lt;/code&amp;gt;&lt;br /&gt;
## &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt; -- is a mode to Download firmware to the device (yes, that's confusing, but you indeed Upload from device and Download to device with dfu-util). That should follow the file with the firmware. Update archive from Ralim usually contains two files: &amp;lt;code&amp;gt;.hex&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.bin&amp;lt;/code&amp;gt;. One that is required - is &amp;lt;code&amp;gt;.bin&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;_EN&amp;lt;/code&amp;gt; is the language code of the firmware, means that &amp;lt;code&amp;gt;_EN&amp;lt;/code&amp;gt; will flash english version of firmware.&lt;br /&gt;
## &amp;lt;code&amp;gt;-s 0x08000000:mass-erase:force&amp;lt;/code&amp;gt; -- specified the address where to flash the file. &amp;lt;code&amp;gt;:mass-erase:force&amp;lt;/code&amp;gt; is required to force-erase flash before updating firmware, otherwise you might have unpredictable results.&lt;br /&gt;
&lt;br /&gt;
== Disassembly steps ==&lt;br /&gt;
&lt;br /&gt;
# Remove tip if present.&lt;br /&gt;
## Let tip cool down.&lt;br /&gt;
## Loosen top (display side) screw (PH1) on the tip side of the device.&lt;br /&gt;
## Gently pull tip out.&lt;br /&gt;
# Slide rubber off towards the tip side.&lt;br /&gt;
# Remove the ground screw (longer screw on the top side towards the port side) (PH1).&lt;br /&gt;
# Remove the bottom screw (at the tip side, between the legs) (PH1).&lt;br /&gt;
# Slightly pull the two halves of the case apart at the tip side, enough to get a fingernail or guitar pick between the halves.&lt;br /&gt;
# Move the pick down the length of the split to loosen the bottom half's clips from the top half of the case.&lt;br /&gt;
# Once loose, remove the bottom half by moving it forward (it is retained by the top half at the port side).&lt;br /&gt;
# Remove the screws retaining the copper tip contacts (PH000).&lt;br /&gt;
# Remove the now loose copper tip contacts.&lt;br /&gt;
# Gently push the board towards the tip side by pushing on one of the ports (for example, by using a misaligned USB C connector).&lt;br /&gt;
# The PCB assembly is now free to be lifted out.&lt;br /&gt;
## The key caps are now no longer retained, carefully set aside the top half, or remove the caps and store them separately.&lt;br /&gt;
&lt;br /&gt;
== Assembly steps ==&lt;br /&gt;
&lt;br /&gt;
# Place the key caps into their recesses in the top half of the case.&lt;br /&gt;
# Place the PCB assembly into the top half of the case ports first.&lt;br /&gt;
## Lower the rest of the board into the case and move the PCB assembly towards the port side of the case (the DC barrel connector may be a firm place to gently push).&lt;br /&gt;
# Install the copper tip contacts.&lt;br /&gt;
## Orient the contact to align the alignment pin with the alignment hole next to the big hole on one of the big gold pads.&lt;br /&gt;
## Install and gently tighten the PH000 screw until the clip is no longer loose.&lt;br /&gt;
# Place the bottom half of the case into the top half by sliding the lip on the port side (side without the feet) of the bottom half under the arch of the port side of the top half.&lt;br /&gt;
# Gently close the case by bringing the two halves together, paying attention to each clip's alignment and ensuring the case edges align.&lt;br /&gt;
# Install the short PH1 screw at the bottom of the tip side of the case.&lt;br /&gt;
# Install the longer PH1 screw at the ground connection point at the top side of the case (between the display and the ports).&lt;br /&gt;
# Slide the rubber sleeve on (larger ridge first).&lt;br /&gt;
# Gently insert tip.&lt;br /&gt;
# Gently tighten the top PH1 screw to retain the tip.&lt;br /&gt;
&lt;br /&gt;
== Power Supply Compatibility ==&lt;br /&gt;
&lt;br /&gt;
The Pinecil can either work with a 12-21V battery or power supply via the 5525 centre positive jack, or with USB power supplies that support the QC2/QC3 or USB-PD (Power Delivery) specifications. QC2 and QC3 power supplies will only be able to provide a maximum of 12V, limiting the Pinecil to about 17W of thermal capability. A suitable USB-PD power supply / power bank will be able to provide 20V, allowing the Pinecil to deliver the full 60W of heat to soldering tip. &lt;br /&gt;
&lt;br /&gt;
Known working QC/PD power adapters / power banks include:&lt;br /&gt;
&lt;br /&gt;
Power adapter:&lt;br /&gt;
* [https://pine64.com/product/pinepower-120w-desktop-power-supply-us-version/ PinePower Desktop]&lt;br /&gt;
* [https://www.nekteck.com/product/usb-if-certified-usb-c-charger-nekteck-60w-type-c-wall-charger-power-delivery-pd3-0-travel-charger-compatible-with-macbook-pro-2018-macbook-air-ipad-pro-pixel-3-galaxy-note-9-s9-with-6ft-cable/ Nekteck 60W with 6ft cable]&lt;br /&gt;
* Notebook AC Adapter HP L30757-002 (PD@20V)&lt;br /&gt;
* Notebook AC Adapter Lenovo ADLX65YLC3D or LN-A0403A3C (PD@20V)&lt;br /&gt;
* Notebook AC Adapter Delta Electronics ADP-65JH BB (DC@19V)&lt;br /&gt;
* Smartphone Charger Samsung EP-TA20EWE (QC2@9V)&lt;br /&gt;
* Smartphone Charger Google Pixel G1000-US (PD@9V)&lt;br /&gt;
&lt;br /&gt;
Power bank:&lt;br /&gt;
* [http://beta.blitzwolf.com/-p-15.html Blitzwolf BW-P1 10400mah QC2]&lt;br /&gt;
&lt;br /&gt;
Limited usability:&lt;br /&gt;
* Notebook Docking Station HP Thunderbolt Dock 230W G2 (Pinecil Firmware: 2.14.2425902)&lt;br /&gt;
** Pinecil switches between PD@20V/unpowered at ~ 0.5 Hz =&amp;gt; No settings possible, but halfways works with power on setting or regulary pressing the heat up button&lt;br /&gt;
** Works fine when using PDC004-20V or ZY12PDN breakout on dc jack (DC@20V)&lt;br /&gt;
* Nillkin 63W USB Car Charger Quick Charge 3.0 PD (Pinecil Firmware: 2.14.2425902)&lt;br /&gt;
** QC3@9V/12V and PD@15V work, PD@20V doesn't&lt;br /&gt;
** PD@20V works fine when using PDC004-20V or ZY12PDN on dc jack (DC@20V, limit: 45W)&lt;br /&gt;
&lt;br /&gt;
Blacklist / Not compatible:&lt;br /&gt;
* Smartphone Charger RAVpower 30W Dual USB Turbo Wall Charger (Should provide QC3@9V/12V, but only provides 5 V on both ports)&lt;br /&gt;
&lt;br /&gt;
== Cases and 3D Models ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/kohkohwastaken/3D-Models/tree/main/Pine64 3D model of Pinecil by kohkoh]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4727212 Pinecil compact case]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4723235 Pinecil and tips case]&lt;br /&gt;
* [https://www.thingiverse.com/thing:4734830 T12 Tip Adapter]&lt;br /&gt;
* [https://www.thingiverse.com/search?q=pinecil Thingiverse search for 'Pinecil']&lt;br /&gt;
&lt;br /&gt;
== Caring for a soldering iron ==&lt;br /&gt;
&lt;br /&gt;
https://www.weller-tools.com/how-to-care-for-soldering-iron-tips/&lt;br /&gt;
&lt;br /&gt;
https://www.eevblog.com/forum/beginners/best-way-to-clean-oxidized-soldering-iron-tip/&lt;br /&gt;
&lt;br /&gt;
== Community links ==&lt;br /&gt;
&lt;br /&gt;
* [https://t.me/joinchat/Kmi2S1iej-_4DgrVf3jjnQ Telegram]&lt;br /&gt;
* [https://matrix.to/#/#pinecil:matrix.org Matrix]&lt;br /&gt;
* [https://discordapp.com/invite/DgB7kzr Discord]&lt;br /&gt;
&lt;br /&gt;
[[Category:Pinecil]]&lt;/div&gt;</summary>
		<author><name>Ncm</name></author>
	</entry>
</feed>