Skip to content

Releases

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 06:37

First release.

tapin-cli updates Tamron lenses over the TAP-in Console without Tamron's TAP-in Utility. It also fixes the aperture on older Canon bodies: lenses that either stopped working after Tamron's firmware update or never worked on those bodies at all. The tested ones are the SP 35mm, 45mm and 85mm f/1.8 VC; other Canon EF lenses with the same four checks can be patched with --experimental, but nobody has flashed those. tapin-cli fix changes the four frame-length checks in Tamron's image so the older body keeps working.

This is my own tool. Not from Tamron, not supported by Tamron. Flashing can brick a lens.

Downloads

Platform File
Linux x86_64, static tapin-cli-v0.1.0-linux-x86_64.tar.gz
Windows x86_64 tapin-cli-v0.1.0-windows-x86_64.zip
macOS Apple Silicon tapin-cli-v0.1.0-macos-arm64.tar.gz

SHA256SUMS is attached. On Linux or macOS, sha256sum -c SHA256SUMS. On Windows, compare with Get-FileHash.

The Windows and macOS binaries are not code-signed. Windows may show SmartScreen. On macOS, remove the quarantine flag:

xattr -d com.apple.quarantine tapin-cli

Quick start

tapin-cli update
tapin-cli fix
tapin-cli info
tapin-cli --help
tapin-cli <command> --help

update and fix read the lens and mount from the console, download the latest firmware from Tamron, and flash it. --reset writes default adjustment data instead of keeping the current AF adjustment and VC mode. --recovery --model F013 is for a lens that stopped answering after a half-finished flash.

download, patch and decrypt do not need a console.

Tested

Lens Model Image EOS 3 EOS 30V
SP 35mm F/1.8 Di VC USD F012 0400 works works
SP 45mm F/1.8 Di VC USD F013 0400 works works
SP 85mm F/1.8 Di VC USD F016 0500 works works

The stock and patched sha256 values are in the README.

Other Canon EF lenses with the same four checks can be patched with --experimental; nobody has flashed those. F017 has no check.

Not tested on real hardware: Nikon and Sony update, patched images on digital bodies, R5/R6 with a patched lens, and the EOS 1N, 1V and EOS 500.

Before you flash

  • Do not unplug the console or remove the lens during a flash.
  • update, fix and flash ask for YES; --yes skips it.
  • --force, --experimental and --recovery are deliberate overrides. They do not replace the confirmation.
  • Overcurrent stops. Ctrl-C cancels between blocks; flash the lens again afterwards.
  • A patched image reports the same version as stock and the lens cannot be read back. update and fix always offer to flash.
  • Tamron's utility writes default adjustment data after every update. tapin-cli keeps the current data unless the major version changes or you pass --reset.

Known limitations

  • The console firmware is not updated.
  • get-adj and set-adj use the raw 35 bytes. Settings by name are not implemented.
  • No firmware or patched image is in this repository.

License

Apache 2.0. See LICENSE and THIRD_PARTY_LICENSES.txt.

If something fails, open an issue with tapin-cli --version, the lens model, the firmware version, the command and the image sha256. Do not attach firmware.

Full changelog: https://github.com/avtolstoy/tapin-cli/commits/v0.1.0