(NOTES) NOTES (2026)

Connect Xgecu T48 programmer to Linux computer

XGecu T48 (TL866-3G) now is my new device to write firmware. This device supports over 34,000+ ICs, covering a wide range of memory technologies, microcontrollers, and communication interfaces.



There are different packages for this device, this is my package:




So, how this device can connecting to Linux computer and how we can read/write memory?

Install dependency and compile minipro from source code.


# sudo zypper install gcc make git-core srecord rpmdevtools libusb-1_0-devel
# git clone https://gitlab.com/DavidGriffith/minipro.git
# cd minipro
# make
# sudo make install

Add your user to the plugdev group


# sudo cp udev/*.rules /etc/udev/rules.d/
# sudo usermod -a -G plugdev admin
# sudo groupadd plugdev
# groups
# ls -l /usr/lib/udev/rules.d/60-minipro.rules
# id admin
# sudo udevadm control --reload-rules
# groups
# reboot


For manufacturer device XGecu T48 usually arrived without fresh firmware, but software "minipro" already waiting last version of firmware, therefore first mandatory step is update firmware.

For this perposes we need to install Unrar to Linux firstly.


# sudo zypper install unrar
# unrar --version

Then download last firmware version from Kreeblah/XGecu_Software repository on GitHub, in my case this is xgproV1316_T48_T56_T866II_Setup.rar.

Then we need unpack this file.

# unrar x xgproV1316_T48_T56_T866II_Setup.rar

Next step looks as trick, we nee unpack again EXE file.


# unrar x XgproV1316_Setup.exe
# cp XgproV1316_Setup.exe /home/admin/Downloads/xgproV1316_T48_T56_T866II_Setup/

In this unpack step we will receive a lot of files, main of that is UpdateT48.dat and then we need to update firmware.


# cd /home/admin/Downloads/xgproV1316_T48_T56_T866II_Setup/
#  minipro -F UpdateT48.dat

Now device become visible from Minipro software.


# cd /home/admin/Downloads/minipro/
# minipro -p "T48" -z

And now device must start working in command line mode. This is command to identify device state and read data from chip type "24C02" .


# minipro -l | grep T48
# minipro -p "T48" -z
# minipro -p "24C02" -r backup.bin
# hexdump -C backup.bin 

Device working fine and command line in common is enough.



To write data we need add empty data to meaningful data.


# printf 'HELLO T48 TEST\n' > test.bin
# dd if=/dev/zero bs=1 count=241 >> test.bin
# minipro -p "24C02" -w test.bin

But in chip type 24C02 EEPROM (an 8-pin I²C serial EEPROM) Must be tied to GND for writing:


There are one additional step, to install GUI to Minipro


# 1. Install Python dependencies (openSUSE)
# sudo zypper install python311-PyQt6
# 2. Download and run the GUI
# git clone https://codeberg.org/pvdm/minipro-gui.git
# cd minipro-gui
# python3.11 minipro_gui.py

And this is cool program that demonstrate all features of Minipro software and allow select chip type for a couple of characters from chip name.




At moment on this video I make my request to issue me a license to German Handworker team and XGecu T48 exactly connected to my computer because I recently received it.




Comments ( )
Link to this page: http://www.vb-net.com/XgecuT48/Index.htm
< THANKS ME>