8051 ISP by COM Port
4 Operation Steps
4.1 With Reset Control
For the “
With Reset Control
” configuration, the user should follow the steps to do ISP.
Step 1: Connect the target system to PC’s COM port through an RS232 cable.
Step 2: Run the PC-site AP, select wanted part no., select correct COM port to which the target system is connected,
and load the code/data file into APROM/DataFlash Buffer.
Step 3: Click the “Update Chip” button when the target system is in power-on state.
Step 4: Now, the 8051 MCU will automatically reboot from LDROM, and will be successfully detected and updated.
Note: If possible, “With Reset Control” is strongly recommended for ISP operation.
4.2 Without Reset Control
For the “
Without Reset Control
” configuration, the user should follow the steps to do ISP.
Step 1: Connect the target system to PC’s COM port through an RS232 cable.
Step 2: Run the PC-site AP, select wanted part no., select correct COM port to which the target system is connected,
and load the code/data file into APROM/DataFlash Buffer.
Step 3: Click “Update Chip” button.
Step 4: Manually have the 8051 MCU reboot from LDROM during “Detect 8051…”, as shown in the following figure,
by the following two methods:
(1) send a reset pulse to the 8051 MCU’s RST-pin when the target system is in power-on state, or
(2) power off the target system and then power on again.
During detecting 8051, do the thing as Step4 describes.
Step 5: Now, the 8051 MCU will be successfully detected and updated.
Note:
(1) Step 4 shows the “Without Reset Control” is somewhat inconvenient for the user to have the 8051 MCU reboot
from LDROM. This is why we strongly recommend the user to adopt the “With Reset Control” configuration.
(2) If any failed condition happens, repeat steps 3 and 4.
©2010 Nuvoton Technology Corporation. All Rights Reserved.
< Revision 5.02 > 10