How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

1. LPC2103 Download (Programming) Methods

Programming the FLASH memory of LPC2103 can be achieved through the following three methods:

1) Using the built-in serial JTAG interface

2) Using In-System Programming (ISP) and UART

3) Using In-Application Programming (IAR) functionality

In this manual, we will mainly explain the two downloading methods: JTAG interface and ISP + UART.

Using the JTAG interface requires a corresponding emulator, while the ISP download method only requires a serial port.

Let’s first explain the ISP download method.

2. Hardware Connection

1) Connect the Chuangxue ARM7 core board to the Chuangxue multifunctional base board.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

2) Insert one end of the USB cable (MINI) into the ARM7 core board USB interface, and connect the flat end (Type A) to the computer’s USB interface.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

This completes the hardware connection between the Chuangxue ARM7 LPC2103 development board and the computer. The EESKILL Chuangxue ARM7 LPC2103 core board integrates USB to serial port functionality, allowing one USB cable to power the development board and enable virtual serial communication for program downloading.

After connecting, check the ARM7 core board. After pressing the power switch, verify whether the power indicator lights up;

Check whether the power indicator lights up after pressing the power switch on the base board;

If everything is normal, you can proceed with the following operations.

3. Driver Installation

The Chuangxue ARM7 core board integrates the CP2102 chip, which can virtualize a USB interface on the computer as a serial port. This allows the ARM7 core board to be powered and programmed via a single USB cable, making it convenient to use the Chuangxue ARM7 core board on laptops or desktop computers without a serial port.

Before use, you need to install the CP2102 driver.

Open the driver program CP210x_VCP_Win_XP_S2K3_Vista_7.exe from the CD.

The path is: Driver – CP2102 Driver.

The following interface will appear.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Click NEXT to enter the installation interface, as shown below

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Click NEXT to enter the user agreement, select agree, and click Next

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Select the installation path, choose the default path here, and click Next to continue

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Click install to start the installation

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

After the automatic loading is complete, the following dialog box will appear, click Finish

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

The following dialog box appears, click install, and the system will automatically install the CP2102 driver.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Reconnect the USB interface; note that you must turn on the power switch of the core board so that the computer can recognize the CP2102 module. If the driver installation is normal, a new USB to serial port will be found in the device manager.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

In the serial port with the CP210X label, the number in parentheses indicates the current virtual serial port number. This needs to be remembered as it will be needed when downloading the program to the ARM7 chip.

4. Install Download Software

Open the download software installation file Philips Flash Utility Installation from the CD, as shown below

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Double-click to open, and enter the installation interface

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Click Next

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Continue to next

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

No settings required, continue to the next step

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Click Install, and the software will install automatically

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

After the installation is complete, click Finish.

5. Software Settings

After installing the download software, we will open the software. In the Start menu – All Programs – Philips Semiconductors – Flash Utility folder, you can see the download software Launch LPC210X_ISP.exe

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

The software interface is as follows:

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

1) Select Port Number

The COM number here must match the port number of the CP2102 driver in the device manager

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

The port number displayed in my device manager is COM4; users can select based on their actual port value.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Friendly reminder: The LPC2000 Flash Utility download software supports a maximum port number of COM5. If the port number automatically assigned by the device manager exceeds 5, it can be manually modified as follows:

Right-click the CP2102 driver device, select Properties,

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Open Port Settings – Select Advanced,

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

The interface will look like this:

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Modify the port number in the lower left corner, selecting any number within COM5:

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

After selecting, click Confirm

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Then click Confirm to exit

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Now the port number can be modified to within COM5, and you can reconnect the USB port to refresh the device.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

For convenience in explanation, I will not make modifications here and will still use COM4.

2) Set Baud Rate

Set the baud rate to 38400

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

6. Read Chip ID

1) Short the J1 jumper on the core board

After reset, a low level at P0.14 is considered an external hardware request to start the ISP command processor. Therefore, two conditions are required for ISP downloading: the first is that the P0.14 pin should be low.

Let’s take a look at the circuit diagram of the Chuangxue ARM7 LPC2103 core board below

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

It can be seen that only when J1 is shorted will P0.14 be low. Therefore, short the J1 jumper on the core board, at this time, the ISP indicator light will be on.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

2) Click Read

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

3) Prompt to Reset

The following prompt appears, indicating to reset the core board

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

After this prompt appears, press the reset button on the core board, and then click OK

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

4) Successfully Read ID

After successfully reading the chip ID, the download software will display the chip model and ID number, with the information prompt at the bottom:

Read Part ID Successfully, as shown below

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Common Errors:

If the following error prompt appears, please click OK to close the error prompt, then press the reset button on the core board and try clicking the Read Device ID command again.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

7. Program Download

After reading the chip ID, the chip is correctly connected to the download software, and at this point, you can proceed with program downloading.

1) Load Program

Click the location below to load the HEX program you want to write to the ARM; the board CD provides matching test programs and experimental programs. Here we take the LED flashing HEX as an example.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

2) Click Download

Click Upload to Flash

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

After the reset prompt appears, press the reset button on the core board, and then click OK

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

The program can be downloaded normally; during the download process, you can see the download progress bar:

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

After the download is successful, you will see the success message:

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

3) Run Program

After the program download is complete, disconnect the J1 jumper, press the reset button on the core board, and enter program run mode; the downloaded program will start running.

8. Common Problems and Solutions

After clicking download, if the following error prompt appears

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

a) First, please check if the J1 jumper has been shorted.

b) Check whether the core board is powered on

c) Check whether the core board is reset

d) If the above operations are fine, please press the reset button on the core board again, and click the download command once more.

How to Use USB to Program the Chuangxue Multifunctional ARM7 Experiment Box

Leave a Comment