Programming Tool for (E)EPROMs and Flash Memory ICs via XGecu TL866A, TL866CS, TL866II+, T48 and T56
Description
With this tool, (E)EPROMs and flash memory ICs can be read, written and verified as binary images using the XGecu TL866A, TL866CS, TL866II+, T48 and T56 universal programmers. The programmer is detected automatically. SPI flash chips are detected automatically by their JEDEC ID; all other chips are selected by name (the chip ID is checked if the chip has one).
Supported memory types (over 22,000 chip names for the TL866II+/T48/T56 and over 12,000 for the TL866A/CS), among others:
- parallel EPROMs, OTP EPROMs and EEPROMs (27Cxxx, 28Cxxx, ...), also 16 bit (27C1024, ...)
- parallel flash (29Fxxx, 39SFxxx, 49Fxxx, 28Fxxx, ...), also in TSOP/PLCC/SOP packages with adapter
- SPI flash and SPI EEPROMs (25xxx), AT45 DataFlash, FWH/LPC flash
- I2C EEPROMs (24Cxx) and Microwire EEPROMs (93Cxx)
All other functions of the programmers (MCUs, PLDs, logic IC tests, ICSP, ...) are deliberately not supported. Use tinypro --list PATTERN to search the supported chips.
The tool is a Python port of the relevant parts of minipro; the chip database was generated from minipro's infoic.xml.
Preparations
Linux users need permission to access the programmer. Run:
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="04d8", ATTR{idProduct}=="e11c", MODE="666"' | sudo tee /etc/udev/rules.d/99-tinypro.rules
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="a466", ATTR{idProduct}=="0a53", MODE="666"' | sudo tee -a /etc/udev/rules.d/99-tinypro.rules
sudo udevadm control --reload-rules
On Windows, the TL866II+, T48 and T56 work with the original XGecu driver (WinUSB). The TL866A/CS needs a WinUSB driver, which can be installed with Zadig. The libusb backend is installed automatically with the package (libusb-package).
The T56 needs an FPGA bitstream (algorithm) for each chip family. Like minipro, tinyPro reads these from the file algorithm.xml, which is not included. Specify its path with -a or put it into the current directory or into ~/.local/share/minipro/.
Installation
Ensure that the prerequisites for installing Python packages are met. Then execute the following command in the command line:
pip install tinypro
Usage
Connect the programmer to your PC and insert the chip into the ZIF socket (or into the required adapter).
Usage: tinypro [-h] [-d DEVICE] [-r FILE] [-w FILE] [-v FILE] [-b] [-e] [-m {code,data}] [-P] [-y] [-a FILE] [-l [PATTERN]]
Optional arguments:
-h, --help show help message and exit
-d, --device DEVICE chip name, e.g. AT28C256 (default: auto-detect SPI flash)
-r, --read FILE read memory and save to BIN file
-w, --write FILE write BIN file to memory and verify (erases chip first)
-v, --verify FILE verify memory against BIN file
-b, --blank perform a blank check
-e, --erase erase chip
-m, --memory {code,data} memory section (default: code)
-P, --protect write-protect chip after writing (if supported)
-y, --ignoreid continue on chip ID mismatch (at your own risk)
-a, --algorithm FILE path to algorithm.xml (T56 only)
-l, --list [PATTERN] list supported chips (optionally matching PATTERN)
The actions are executed in the order: read, erase, write, verify, blank check.
Without action arguments the tool shows programmer and chip.
Examples:
tinypro -r backup.bin (read SPI flash, auto-detect)
tinypro -d AT28C256 -w image.bin (write parallel EEPROM)
tinypro -d 27C512 -v image.bin (verify EPROM)
tinypro -l 25Q32 (search chip names)
Notes:
- Chip names can be given with or without package (e.g.
27C512or27C512@PLCC32); without package the DIP version is preferred. - A BIN file smaller than the memory is written to the start of the memory, the rest of the memory is left blank (after erasing).
- Flash memories are erased before writing; write protection is removed automatically if the chip requires it. UV-EPROMs must be blank before writing.
- SPI flash is auto-detected in the 8-pin and 16-pin socket positions. For other chips use
-d.
License
GNU General Public License v3.0 or later (derived from minipro).
Links
Metadata
Release files for tinypro 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tinypro-1.0.0.tar.gz | 151.7 kB | Without provenance | Details for tinypro-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tinypro-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for tinypro-1.0.0-py3-none-any.whl |
Total release size: 290.2 kB
Release files / tinypro-1.0.0.tar.gz
| Download URL | tinypro-1.0.0.tar.gz |
|---|---|
| Size | 151.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0e729598b4572d00ce0e8eb3978dc9c1c80d61b75e9c84101d29b94101c2fea
|
|
BLAKE2b-256 checksum How to use checksums |
ff6ec5e63714d0b5d6aa0b3a296733cc35f9bb3aa4364b16b1b5655f75059734
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / tinypro-1.0.0-py3-none-any.whl
| Download URL | tinypro-1.0.0-py3-none-any.whl |
|---|---|
| Size | 138.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cff8e2b28884056225609316306ff70443bef7223c3aebe4fb70f9061d311945
|
|
BLAKE2b-256 checksum How to use checksums |
4cb74eaebe2318abf8855fb79b807e2ec33f46d57046c5d883a962e704b41c64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for tinypro 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.