You are on page 1of 1

  

Home Projects Electronics Arduino Linux Software

XTW100 Mini Programmer Schematic and Driver


  Author:  Cornelius   Posted on:  August 28, 2020   Updated on:  August 29, 2020

XTW100 is a new SPI/I2C memory programmer based on STM32 microcontroller. It is advertised as a


comprehensive replacement for the CH341A.

I recently found a new serial programmer, the XTW100 Mini Programmer which is supposed to be an "upgraded" variant of the well-
known CH341A Mini Programmer. Having a similar price to CH341A, I didn't wait any longer and ordered myself one. With a PCB
slightly bigger (in length) than the PCB of CH341A, this new device is built around an STM32 ARM microcontroller. Having native USB
port and hardware I2C and SPI, these microcontrollers with proper rmware could do a good job for this purpose.

Yet, there are some advertised features of this programmer that seem to good to be true (for a 4 USD programmer). Just as I did with
the CH341A, I will try to draw the schematic and look for drivers and software for this XTW100 memory programmer. Because the
STM32 is a 3.3 V device I can say for sure that this programmer will not have the 5 V bus levels issue. I got my XTW100 from AliExpress
/ WAVGAT store.

Featured Post

Ova web-lokacija upotrebljava Googleove kolačiće radi pružanja svojih usluga i analize prometa. Vaša IP adresa i korisnički agent te Read NAND Flash device
mjerni podaci o uspješnosti i sigurnosti dijele se s Googleom radi održavanja kvalitete usluge, generiranja statistike upotrebe te signature
VIŠE with Arduino
U REDU
otkrivanja i rješavanja zloupotrebe.
NAND Flash chips are widely used non-
volatile memory devices. They have high
Product photo of XTW100 programmer
storage capacity, fast access time and
It is claimed that this programmer is able to switch supply voltage for the memory between 3.3 V and 5 V depending on the selected are reliable, usually be...
chip. Besides this, the software includes 1.8 V chips in its known devices list. We'll see whether this voltage switching is true or not.
However, I'm still struggling to understand what they mean with "Chip supports wireless enhancement" ...

Hardware
The programmer is built around STM32F103C8T6 ARM 32-bit microcontroller. This and a linear voltage regulator (AMS1117-3.3) are
the only integrated circuits on the PCB. I'm still wondering how they switch voltages. From the rst look I can see this one does not
have additional pin headers like CH341A has. Those connectors for serial port and SPI port proved useful for me and de nitely make
the programmer more versatile. Unfortunately, XTW100 does not feature similar ports.

Note that the same microcontroller is used by "blue pill" development boards. STM32F103C8 is a device with Cortex-M3 ARM CPU
that runs at maximum 72 MHz, 20 kB of RAM and 64 kB of ash memory. The microcontroller (MCU) has USB port, two serial ports,
16-bit PWM pins and 12 bit ADC pins. It runs at 3.3V, but some of its pins are 5V tolerant. Most read
CH341A Mini Programmer
Schematic and Drivers

Make a bootable Windows


USB from Linux

Virtual Audio Cable in


Linux Ubuntu

Use CH341A with


AsProgrammer on
Windows

HTTPS Server on the


ESP8266 NodeMCU

Schematic of XTW100 MinProgrammer Labels


With a multimeter and a couple of hours I was able to trace the schematic of this programmer. First of all, as I supposed, this is a 3.3 V ACARS Alarm Ampli er Antenna API
device. SPI bus is wired to a hardware SPI port of the STM32 (SPI2 on pins PB12..PB15). That's a good thing. It means good overall Arduino ATX Audio AV4202N Avermedia A867
transfer rates with the highest available SPI clock frequency on this MCU (18 MHz) - if con gured by software. Backlight Backup Balun Battery Blogger BMP280

Bootable USB Breadboard C/C++ CAD


With I2C they chose a totally di erent con guration. While I2C1 pins PB6 and PB7 are used to drive the LEDs, I2C2 pins PB10 and
Capacitance CD4017 CH341A Clock Compile
PB11 are used as GPIOs to provide ground connection for the SPI memory, there is no hardware port available for I2C. It must be
Development DHT11 DHT22 DiSEqC Display
implemented in software, but that's no big deal. DIY DPI Dream Drill Drivers DRM DS1302

DS3231 DVB EAGLE Eclipse EDA


Strange way of powering the memory chips though. 3.3 V supply is coming from the voltage regulator which also powers the CPU, yet
the ground is controlled by software. Two GPIO pins for each memory chip are pulled down to create the voltage that will power Electronics ESP32 ESP8266 ExpressPCB
memory ICs. In this way the current through any chip you may plug in the programmer is limited to 2 x 25 mA/pin = 50 mA. This FM Radio Fonts FT8 Gqrx Graphics Gray-
Hoverman Grive Heatsink HG553 HT16515
limitation is a bit dangerous. Draw more and you may destroy those pins of the GPIO or the entire port if you're "lucky".
HX8347-I I2C Infrared Internet IoT JabRef Java
Current limiting is good for in-circuit programming, where you could end up powering more than the memory chip. But it should have JTAG Kernel KiCAD LCD LEDs Library
been designed in a di erent way, not relying on the microcontroller to power chips from GPIOs. LibreO ce librtlsdr Light sensor Linux LM317
LM324 LM358 LM3914 LNB LTspice Measurement
These being said, I can't gure how could they use di erent voltage levels. Keep in mind that many 5 V serial memory chips are also
Motor Mouse cursor MQTT Multifeed NAND
3.3 V compatible, so this programmer could be very well used for them. But that's a totally di erent thing from "The programming
NE555 NodeMcu OCR O ce OpenWRT PCB
voltage is automatically switched". PDF PID PlatformIO Plymouth PonyProg POV

Ray Power Supply Programmer Project


Driver PulseView PWM QT Qt Creator Radio Relay RF
This programmer has been initially designed and manufactured by Zigong yaojie Electronic technology Co., Ltd. They also provide Coverage RTC RTL2832U S7VZ6306 Satellite
software and driver for download. Although the software package is last updated in 2019, the driver is not digitally signed and will not Satellite Tuner SC75823 ScanTailor SDR Sensor
install seamlessly on Windows 10. Serial Port Software Soldering Soundcard

SPI SPLAT ST7920 Stepper STM32 SX8646


Fortunately, their driver is nothing more than a libwdi generated INF le which uses libusb. So, get Zadig and install libusb-win32
Tachometer TDA2003 Thermometer Time
driver (important: only this one works with their programming software) for the WinUSBComm Device with the speci c IDs TinyCAD TM1628 Tools Touchpad TV Modulator
1FC8:300B . Proceed with caution in order not to replace the driver of another USB device. TV Output TV Tuner Ubuntu Ubuntu PPA

Ultrasonic USB VFD Video WAN Wiggler Windows

Wine WinUSB

Translate
Odaberite jezik

Pokreće Prevoditelj

Comments
Just copy this one - https://www.rtl-
Install libusb-win32 driver for XTW100 sdr.com/wp-co... - Jim
I don't know. Better use the
Follow-up battery. And chec... - Cornelius

Is it worth switching from CH341A to XTW100? Well, it's a good addition to my toolbox, but I'm not sure it can replace CH341A Mini Yes, this works for HF
band. - Cornelius
Programmer. In a follow-up post (I actually bricked its rmware) I'll actually use it and sample the buses with a logic analyzer.
It should be possible, but don't
expect too mu... - Cornelius
Yeap, me too, I'm trying to
implement the SSL ... - Anonymous

 Tags: Drivers Electronics I2C Programmer SPI

No comments :
Post a Comment
Please read the comments policy before publishing your comment.

   Newer Post    Home Older Post   

Follow Archive Subscribe


August 2020 ( 2 )
onetransistor Enter email
Don't forget to check your email and con rm subscription.
OneTransistor
Submit
onetransistor

 2,632,586 Terms and Conditions | Privacy Policy | Contact | About | Report abuse
Copyright © 2014 - 2020 One Transistor. Some rights reserved | Powered by Blogger

You might also like