<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Sunxi-fel</id>
	<title>Sunxi-fel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Sunxi-fel"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Sunxi-fel&amp;action=history"/>
	<updated>2026-06-04T23:42:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=Sunxi-fel&amp;diff=27537&amp;oldid=prev</id>
		<title>Chao at 07:54, 10 July 2020</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Sunxi-fel&amp;diff=27537&amp;oldid=prev"/>
		<updated>2020-07-10T07:54:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Hardware == &lt;br /&gt;
* Hardware use USB Port &lt;br /&gt;
* '''Make sure use correct branch for board chips.'''&lt;br /&gt;
* '''Remove perpherials like LCDs, camera, etc to avoid interferences, use high quality USB cable'''&lt;br /&gt;
* Make sure no TF card or SPI flash&lt;br /&gt;
&lt;br /&gt;
=== Enter into FEL Mode ===&lt;br /&gt;
* maybe need install driver from phoenix tools&lt;br /&gt;
* recognize as USB device: USB Device(VID_1f3a_PID_efe8)&lt;br /&gt;
* Use windows sunxi-fel tools are faster&lt;br /&gt;
&lt;br /&gt;
* short connect Pin 1 and PIN4, then boot up board via USB power, this will connect SPI_CS to ground&lt;br /&gt;
&lt;br /&gt;
== Sunxi Tool Compile  ==&lt;br /&gt;
&lt;br /&gt;
[[File:Sunxi fel flash USB.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
For Zero do&lt;br /&gt;
* git clone https://github.com/Icenowy/sunxi-tools.git -b spi-rebase&lt;br /&gt;
For nano do &lt;br /&gt;
* git clone https://github.com/Icenowy/sunxi-tools.git -b f1c100s-spiflash&lt;br /&gt;
&lt;br /&gt;
* 进入工具目录执行 make &amp;amp;&amp;amp; sudo make install&lt;br /&gt;
* plug use device: Onda (unverified) V972 tablet in flashing mode [02B3]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Debug ===&lt;br /&gt;
 sudo sunxi-fel version              #查看连接的cpu信息&lt;br /&gt;
 AWUSBFEX soc=00001681(V3s) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000&lt;br /&gt;
 sunxi-fel -l&lt;br /&gt;
 USB device 002:003   Allwinner F1C100s &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo sunxi-fel spiflash-info        #显示flash信息&lt;br /&gt;
 Manufacturer: Unknown (C2h), model: 20h, size: 33554432 bytes.&lt;br /&gt;
&lt;br /&gt;
=== Flash ===&lt;br /&gt;
* sudo sunxi-fel -p spiflash-write 0 Nano_flash_480272.bin&lt;br /&gt;
 E:\Git-category\Git-Allwinner\allwinner\SDK\Flash Tool\sunxi-fel\sunxi-fel_windows工具&amp;gt;sunxi-fel -p spiflash-write 0 Nano_flash_800480.bin&lt;br /&gt;
&lt;br /&gt;
 60% [============================                    ]  96.0 kB/s, ETA 01:10&lt;br /&gt;
*  sunxi-fel -p spiflash-write 0 E:\Git-category\Git-Allwinner\allwinner-f1c200s\Image\nano\images\Nano_pub_V4\image\Flash-16M\Nano_flash_800480.bin&lt;br /&gt;
Windows Version:&lt;br /&gt;
* Speed up to 90KB&lt;br /&gt;
* Use zadig-2.4.exe install driver WINUSB&lt;br /&gt;
* sunxi-fel -p spiflash-write 0 f1c200s.bin&lt;br /&gt;
&lt;br /&gt;
=== Test ===&lt;br /&gt;
* For LPI Nano, debug port is UART0 U0T U0R (please notice silk print maybe wrong, try to swap txd and rxd), baudarete 115200&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
* GUI version - https://github.com/OtakuNekoP/bpi-fel-mass-storage-gui4win&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Allwinner Programming]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>