Megawin 8051 User Manual

Isp via com port
Hide thumbs Also See for 8051:

Advertisement

Quick Links

Megawin 8051 ISP via COM Port
MEGAWIN
User Manual, v1.02
MAKE YOU WIN
Megawin
8051 ISP via COM Port
User Manual
By Vincent Y. C. Yu
1
This document information is the intellectual property of Megawin Technology Co., Ltd.
© Megawin Technology Co., Ltd. 2007 All right reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 8051 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Megawin 8051

  • Page 1 User Manual, v1.02 MAKE YOU WIN Megawin 8051 ISP via COM Port User Manual By Vincent Y. C. Yu This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 2: Table Of Contents

    3-2 Install the PC-site AP ......................10 3-3 Operating Steps ........................11 4 About USB-to-RS232 Cables ................ 13 Revision History ....................14 This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 3: What Is Isp

    ISP. If the ISP is not requested, the MCU will re-boot from the AP-memory by triggering the software reset to run the user’s application code. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 4: Chip Configuration For Isp

    [(2) Target ISP-code] folder, into the configured ISP-memory. The user may utilize the “Megawin 8051 Writer” or the “Hi-Lo ALL-11 Universal Programmer” for the MCU chip configuration. 2.1 Using the “Megawin 8051 Writer” for Chip Configuration Please follow the steps (also shown in the following picture): Step1: Select the Part No.
  • Page 5: Using The "Hi-Lo All-11 Programmer" For Chip Configuration

    (5) For MPC82G516: select 0xFC00-0xFFFF (1K bytes for Megawin-provided ISP code) See the following example: For MPC89L(E)51/52/53: Select ISP Address Enable HWBS This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 6 As the following figure, select “Load File to Programmer Buffer” to load the ISP code “ISP_by_COM.BIN” into the Programmer Buffer. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 7 0x3800 (5) For MPC82G516: change to 0xFC00 Note: Hi-Lo will support MPC82G516 in the future. Change the “Buff start” This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 8 MAKE YOU WIN Step 4. Click the “Auto” button to program the ISP code and H/W option into the MCU chip This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 9: How To Do Isp Via Com Port

    (1) The VCC power can be 3.3V (for L-series) or 5.0V (for E-series). (2) There is no restriction on the XTAL's frequency. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 10: Install The Pc-Site Ap

    [(1) PC-site AP] folder) to install the application program on PC-site. Using its default installing setting, you will find the item “Megawin Utilities \ Megawin 8051 ISP via COM Port (v…)” appearing in the Windows’ START-menu. (Note: the v?.?? means the current version and may be upgraded in the future.) Introduction to the GUI of the AP GUI means “Graphic User Interface”...
  • Page 11: Operating Steps

    Step6: Wait the processing result. Step7: Go to Step5 for trying again if any errors happen. See notes in the next page. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 12 ISP processing. For Step5: Anyway, before clicking “Update Target”, the user should keep the target system in powered-off state. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 13: About Usb-To-Rs232 Cables

    ISP application. It is strongly recommended that user use the cable with Prolific chip (PL-2303) or FTDI chip built in. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.
  • Page 14: Revision History

    Fix the PC-site AP bug: Hex to Binary conversion error. 2007/08/06 v1.02 In the target MCU, only the pages occupied by the new program code are erased. 2008/01/22 This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2007 All right reserved.

Table of Contents