background image

                                                                                                                                       

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 

Содержание 8051 ISP

Страница 1: ...8051 ISP by COM Port Nuvoton 8051 ISP by COM Port User Manual Revision 5 02 2010 11 15 2010 Nuvoton Technology Corporation All Rights Reserved Revision 5 02 1...

Страница 2: ...System 6 2 3 Requirement on the MCU s Operating Frequency 7 3 Software 8 3 1 Install the Application Program 8 3 2 Introduction to the Application Program 8 3 3 Auto Synchronization of APROM DataFlas...

Страница 3: ...4 00 Update the PC site AP version to v4 00 2010 04 01 v4 01 1 Fix a minor bug in Nuvoton standard ISP code for W925EP01 N78E366A N78E055A N78E059A and N78E517A The version is updated to v3 12 2 Add a...

Страница 4: ...the CONFIG needs to be properly configured The following table shows the specific I O pins and the proper CONFIG setting used for booting from LDROM after reset In addition to directly connect to PC...

Страница 5: ...C RXD COM Port VCC U2 MAX232 1 3 4 5 11 10 12 9 2 6 14 7 13 8 15 16 C1 C1 C2 C2 T1_IN T2_IN R1_OUT R2_OUT V V T1_OUT T2_OUT R1_IN R2_IN GND VCC RTS Note 1 The I O pins used for booting from LDROM may...

Страница 6: ..._IN R1_OUT R2_OUT V V T1_OUT T2_OUT R1_IN R2_IN GND VCC C6 1u 16V DSR C4 1u 16V CTS without RS232 Transceiver R1 47K RXD GND R2 10K UART Interface Pulledlow PC RST R3 4 7K GND To boot from LDROM See N...

Страница 7: ...MCU will automatically build a proper baudrate according to its operating frequency It is recommended that the user uses the following specific frequencies 11 0592MHz 18 432MHz 22 1184MHz or 36 864MH...

Страница 8: ...find the item Nuvoton Tools ISP ICP Utility v appearing in the Windows START menu after the application program is successfully installed Note ISP ICP means this application program is used for both...

Страница 9: ...when the function button Update Chip is clicked as shown below So the user needn t manually reload the files for APROM buffer and DataFlash buffer when the physical files are updated externally Physi...

Страница 10: ...t 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...

Страница 11: ...hould adopt the Without Reset Control configuration for ISP operation External RC Reset Circuit The general external RC reset circuit is shown in Figure 4a The resistance of R should be larger than 47...

Отзывы: