3.1.3:About Wiring
Due to different batches of devices, all devices may have different screen printing of shell materials. Before viewing this document, determine the device model and screen printing of shell materials.
1 PWLINK2(lite)
Before using the device, please connect the client to view the connection diagram between the corresponding chip and the programmer.
1.1 SWD connection type(ARM)
When pins 7 and 9 of the device are VDD:
Chip pin:SWCLK、SWDIO、GND、VDD and PWLINK2(Lite)'s SWCLK(2),SWDIO(4),GND(5) ,VDD(7)Pin docking:
If the 7th pin of the power supply is VREF and the 9th pin is 5V: Chip pin: SWCLK, SWDIO, GND, VDD are connected to pins of SWCLK(2), SWDIO(4), GND(5), VREF(7) of PWLINK2(Lite). If the chip operating voltage is 5V, the chip VDD is connected to pin of 5V. Specific pin description see Hardware working state description, the device pin distribution diagram is as follows:
1.2 SWIM connection type(STM8)
If your programmer’s power supply pin is 7-VDD 9-VDD: Please connect the pin SWIM RST GND VDD of the chip in your hand with the pin 3-SWIM 1-RST 5-GND 7-VDD of the programmer one by one. The pin distribution diagram of the programmer is shown in the figure above.
If your programmer's power pin is 7-VREF 9-5V: Please connect the pin SWIM RST GND VDD of the chip in your hand with the pin 3-SWIM 1-RST 5-GND 7-VREF of the programmer one by one. If the working voltage of the chip is 5V, connect the pin VDD of the chip with the pin 5V. The pin distribution of the programmer is shown in the figure above.
2 PW200 or PW300
Before using the device, please connect the client to view the connection diagram between the corresponding chip and the programmer.
2.1 SWD connection type(ARM)
If the power pin of your programmer is 5V Vext Vext: Please connect the pin SWCLK SWDIO GND VDD of the chip in your hand with the pin SWCLK SWDIO GND VEXT of the programmer one by one. If the working voltage of the chip is 5V, connect the pin VDD of the chip with the pin 5V. The physical diagram of the pin distribution of the programmer is shown below.
If the power pin of your programmer is 5V VIN VREF Please connect the pin SWCLK SWDIO GND VDD of the chip in your hand with the pin SWCLK SWDIO GND VREF of the programmer one by one. If the chip working voltage is 5V, connect the pin VDD of the chip with the pin 5V. Specific pin description see Hardware working state description, the programmer pin distribution diagram is shown below.
2.2 SWIM connection type(STM8)
If the power pin of your programmer is 5V VEXT VEXT Please connect the pin SWIM RST GND VDD of the chip in your hand with the pin SWIM RST GND VEXT of the programmer one by one. If the working voltage of the chip is 5V, connect the pin VDD of the chip with the pin 5V. The physical picture of the pin distribution of the programmer is shown in the figure above.
If the power pin of your programmer is 5V VIN VREF Please connect the pin SWIM RST GND VDD of the chip in your hand with the pin SWIM RST GND VREF of the programmer one by one, then connect the pin VDD of the chip with the pin 5V, the physical picture of the pin distribution of the programmer is shown in the figure above.
3 PW400
Connect to the client first and query the wiring diagram of the corresponding chip model and pW400.
The following illustration is for example GD32VF103x4:
The physical pin distribution of PW400 is shown in the figure below:
- VDD,VEXT, and VREF are powered on at 3.3V by default. You can use the PowerWriter® client to change the power.
- See How to Set the interface Level .
- The 5V pin can only stabilize the output 5V working voltage and is not controlled by software.
4 PWX1
PWX1 Device interfaces are described as follows
Ports on the conversion board are as follows:
4.1 SWD connection type(ARM )
Connect the device to port 5, or connect the adapter board to port SWD .
4.2 SWIM connection type(STM8)
Connect the SWIM port of the switch board.
4.3 I2C connection type(EEPROM)
Connect the I2C port on the conversion board.
4.4 PWM connection type(wave out)
Connect the PWM interface of the conversion board.
4.5 JTAG connection type(Debugger)
Connect the JTAG port on the switch board.
4.6 SPI connection type(Nor flash)
Connect the SPI interface of the switch board.
4.7 Machine connection mode
See Interface 8.
5 External power supply wiring method
The above programmer itself does not have a large load capacity, when the board needs to be powered separately during programming, the wiring generally remains unchanged, if the 5V pin of the connected programmer needs to be changed to VREF or VDD or VEXT(based on the screen printing on the actual equipment), if it is not connected to the 5V pin, the wiring remains unchanged. In this case, you need to change the interface level of the PowerWriter® client to an external input, and click Apply Settings to synchronize to the programmer. As shown in the picture below:
6 Use serial port
Please connect the pin RX, TX of the chip in your hand with the RX, TX pins of the programmer, cross docking, power cord and ground wire one by one. The pin distribution diagram of each programmer is shown in the figure above.