Megawin 8051 User Manual

Isp-icp programmer
Hide thumbs Also See for 8051:

Advertisement

Quick Links

8051 ISP-ICP Programmer
MEGAWIN
User Manual, v5.41
MAKE YOU WIN
Megawin
8051 ISP-ICP Programmer
User Manual
1
This document information is the intellectual property of Megawin Technology Co., Ltd.
© Megawin Technology Co., Ltd. 2008 All rights 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

Summary of Contents for Megawin 8051

  • Page 1 8051 ISP-ICP Programmer MEGAWIN User Manual, v5.41 MAKE YOU WIN Megawin 8051 ISP-ICP Programmer User Manual This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 2: Table Of Contents

    6 Special Notes for ISP ..................23 7 Special Notes for ICP..................24 About Information..................25 Revision History ....................26 This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 3: Introduction

    MCU chip from the actual end product. The tool “Megawin 8051 ISP-ICP Programmer”, see the following picture, integrates these two functions into a USB stick. That is it can function as an ISP Programmer and an ICP Programmer.
  • Page 4: Comparison Between Isp And Icp

    1. So far, only the MPC82G516 and MG84FL516 support both ISP and ICP. 2. ISP interface always uses P3.1 as DTA pin while ICP interface uses dedicated SDA and SCL pins. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 5: Chip Configuration For Isp

    To use the ISP function, the user should configure the target MCU by the following two steps: Step1: Use a universal programmer or “Megawin 8051 Writer” to configure ISP-memory with 1K bytes (or 1.5K bytes for MPC82L(E)54 ) and make HWBS or HWBS2 option enabled.
  • Page 6: Install The Isp-Icp Programmer

    [(1) PC-site AP] folder) to install the application program for the ISP-ICP Programmer on your PC. Using its default installing setting, you will find the item “Megawin Utilities \ Megawin 8051 ISP-ICP Programmer (v?.??)” appearing in the Windows START-menu. (Note: the v?.?? means the current version and may be upgraded in the future.) This document information is the intellectual property of Megawin Technology Co., Ltd.
  • Page 7: Introduction To Gui Of The Pc-Site Ap

    Programmer. The first thing the user needs to do is to select the “Programmer Type” when the AP is opened. See the following figures for these two programmer types. ISP Programmer Type This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 8 8051 ISP-ICP Programmer MEGAWIN User Manual, v5.41 MAKE YOU WIN ICP Programmer Type This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 9: Isp Programmer Gui For Mpc89-Series

    [disabled]: Normal oscillating gain. EN6T: [enabled]: MCU runs at 6T mode (6 clocks per machine-cycle, double speed compared to a traditional 8051) [disabled]: MCU runs at 12T mode (12 clocks per machine-cycle, like a traditional 8051) This document information is the intellectual property of Megawin Technology Co., Ltd.
  • Page 10: Isp Programmer Gui For Mpc82/Mg84/Mg87-Series

    3-3-2 ISP Programmer GUI for MPC82/MG84/MG87-series About the H/W Option Setting For these series, the user can not update the H/W Option by ISP. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 11: Icp Programmer Gui For Mpc82G516

    [enabled]: Enable hardware to generate low voltage reset when V30-pin voltage drops below 2.4V. [disabled]: Disable low voltage reset. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 12 0x2D when MCU is powered up, as shown below. [disabled]: No action on Watch-dog Timer when the MCU is powered up. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 13: Icp Programmer Gui For Mg84Fl516

    [enabled]: In addition to power-on-reset, the reset from RST-pin will also force MCU to boot from ISP-memory if ISP-memory is configured. [disabled]: Where MCU boots from is determined by HWBS. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 14 0x2D when MCU is powered up, as shown below. [disabled]: No action on Watch-dog Timer when the MCU is powered up. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 15: Use The Isp-Icp Programmer

    Target System Interface Target MCU Act as ICP Programmer OCD_SCL MEGAWIN (less than 30cm) MAKE YOU WIN OCD_SDA ICP Programmer This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 16: Mode-2: Connected To Host Only

    Target System Act as ICP Programmer Interface Target MCU OCD_SCL MEGAWIN (less than 30cm) MAKE YOU WIN ICP Programmer OCD_SDA This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 17: Act As An Isp Programmer

    How to dump the 256 bytes of target “Information Data”? (Please refer to Section Step 1: Select “Programmer Type” as an ISP Programmer. Step 2: Click “Dump Target Info”. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 18: Act As An Icp Programmer

    4.3.2 Update the Target How to update the target? Step 1~3: The same as previous Step1~3.. Step 4: Click “Update Target”. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 19: The Megawin Project File (Mpj File)

    (6) Binary Code Buffer. Click the button “Save *.MPJ” to save all the programming information in an MPJ file, as shown below. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 20: Load An Mpj File

    4.4.2 Load an MPJ File Click “Load File” and select Megawin Project Files (*.MPJ) to select the MPJ file you want. When the MPJ file is opened, all the relevant programming information will be retrieved and restored to the GUI of the AP. The following figure shows how to open an MPJ file.
  • Page 21: Information Zone

    For MG84FL516, it is located at 0xFB00~0xFBFF. For MG87FL(E)51/52, it is located at 0x1B00~0x1BFF. An example of the Information zone of MPC89L(E)54/58/515: This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 22: Dump The Information Data

    To view the Information Data in the Information Zone, click “Dump Target Info”. Now, the Information Data read by the ISP Programmer will be displayed on the Binary Code Buffer, as shown below. This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 23: Special Notes For Isp

    P3.1 is used to drive a high-impedance input. Restriction: (No restriction) R_pull_low>300K 8051MCU 8051MCU P3.1 High-Z P3.1 Input R_pull_low This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 24: Special Notes For Icp

    It prevents from any re-programming of a code with the malicious purpose. So, re-programming must be inhibited when chip has been locked. The only and default option for “Update H/W Option” is “Yes.” This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.
  • Page 25: About Information

    User Manual, v5.41 MAKE YOU WIN 8 About Information Right click on the Title bar of Megawin 8051 ISP-ICP Programmer application, and it will show up the About Dialog. This document information is the intellectual property of Megawin Technology Co., Ltd.
  • Page 26: Revision History

    (2) When operate “Update Target” and “Update Programmer” functions, the only default option of “Update H/W Option” is “Yes.” This document information is the intellectual property of Megawin Technology Co., Ltd. © Megawin Technology Co., Ltd. 2008 All rights reserved.

Table of Contents