Reference
Last revision 2026/01/13
This guide explains how to configure the XSP function through a serial port, emphasizing entering Configuration mode, setting parameters, using Arduino IDE, and understanding indicator LEDs.
Configuration
You could config XSP function through serial port. Since it doesn't need to config its parameter frequently, we did following constraint to improve its work efficiency.
After each time you open the serial port, you only could make once configuration.
After you open the serial port, you can enter Configuration mode only if you input "NL/CR" before input any other characters. If you input other character, it will go into Work mode.
If you want to enter Configuration mode again, you need to close and open serial port again. XSP could be configured by any COM debug tool. We will using Arduino IDE as our example.
-
Plug XSP into PC usb port, select COM port (Here is a MAC screen capture, different OS has different UI).

-
Open Serial monitor, Select “Both NL & CR” (Red), press “Enter” keypad or click "Send" icon to enter configuration mode. (Don't input any character before this step, or it will go into work mode).

-
Input “help”, config its parameter according to the help instruction.

-
For example, if you want to set it as ISP mode, just input "mode=isp", and watch XSP indicator LED, when it is light, it means it has entered ISP mode. (There is no reply in the serial console).

-
Then, you could check the configuration by "show" command.
-
Using “save” command to save the configuration parameter to EEPROM, so it will keep the configuration after power down. If you only need a temporary use, just not save, and using "quit" command to exit the configuration mode, than the configuration takes effect before it is power down.
Note:
During the configuration, as long as nothing is entered over 60s, it will exit the Configuration mode, and enter into Work mode.
Other supplementary information
There are 5 indicator LEDs on XSP Programmer, representing its working condition.
| State \ LED | FTDI | ISP | 5V - 3V3 | DATA |
|---|---|---|---|---|
| Power on self test | OFF | ON | ON - ON | ON |
| Work-FTDI | ON@"DTR=ENABLE" | |||
| FLASH@"DTR=DISABLE" | OFF | FLASH | Fast FLASH during data transmission | |
| Work-ISP | OFF | ON | ||
| Configuration | ON based on configuration | ON based on configuration | ||
| Both LEDs OFF @ "OUT=OFF" | N/A | |||
| Failure | Both LEDs Fast FLASH | Fast FLASH |
Note:
When it is in Failure state, please open the Serial console to check the error information.
Was this article helpful?
