Sunxi-fel

From ElectroDragon
Jump to navigation Jump to search

Hardware

  • Hardware use USB Port
  • Make sure use correct branch for board chips.
  • Remove perpherials like LCDs, camera, etc to avoid interferences, use high quality USB cable
  • Make sure no TF card or SPI flash

FEL Mode

  • short connect Pin 1 and PIN4, then boot up board via USB power, this will connect SPI_CS to ground

Sunxi Tool Compile

Sunxi fel flash USB.png

For Zero do

For nano do

  • 进入工具目录执行 make && sudo make install
  • plug use device: Onda (unverified) V972 tablet in flashing mode [02B3]

Use And Flash

sudo sunxi-fel version              #查看连接的cpu信息
AWUSBFEX soc=00001681(V3s) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000
sunxi-fel -l
USB device 002:003   Allwinner F1C100s 


sudo sunxi-fel spiflash-info        #显示flash信息
Manufacturer: Unknown (C2h), model: 20h, size: 33554432 bytes.

Flash

  • sudo sunxi-fel -p spiflash-write 0 Nano_flash_480272.bin

Windows Version

  • Speed up to 90KB
  • Use zadig-2.4.exe install driver WINUSB
  • sunxi-fel -p spiflash-write 0 f1c200s.bin

Reference