Home
8051 Writer U1 User Manual
Contents
1. The Megawin 8051 Writer U1 is a proprietary programmer designed for all Megawin s 8051 MCU Eml Cascade Out n TG DUT Socket Introduction as a copying machine for mass production Picture of the Megawin 8051 Writer U1 Status LED om Cascade In Jack Power Jack gt a f J 4 y i 7 J r a meas gt we i et ne ee shee ltt iH h Buzzer This document information is the intellectual property of Megawin Technology Co Ltd Megawin Technology Co Ltd 2010 All rights reserved page3 12 fy 2 MEGAWIN ry MAKE YOU WIN 8051 Writer U1 User Manual v1 31 2 Easy to Use Writer The following figure shows the GUI Graphic User Interface of the PC site application program The following sections will demonstrate how this Writer can be used very easily Select Part Mo Target Area to be deal with 8051 Writer U1 v1 17 MEGAWIN MAKE YOU WIN Load hex or _bin into the Code Buffer Save Buffer s data to disk Save MPJ file Read whole flash data into the Code Buffer PartNo Save Buffer Save MPJ Dump Target Insert 1SP code MPce9Ls1 Code Buffer zl Target Area C AP IAP C ISP AP IAP ISP Check ID Erase Blank Check Program Verify Check device ID Erase the selected Target Area Check if the selected Target Area is Blank or not Programs buffer s data Automatically laiis
2. 8051 Writer U1 User Manual v1 31 MEGAWIN Enable MCU will used the internal 6MHz oscillator ENROSC Disable MCU will used the external oscillator HWENW Enable Automatically enable Watch dog Timer by hardware when MCU is powered up Disable No action WDSFWP Enable To Write the WDTCR will be deny Disable To Write the WDTCR will be accept Enable In addition to power up the reset from RST pin will also force MCU to boot from HWBS2 ISP memory if ISP memory is configured Disable Where MCU boots from is determined by HWBS ENLVRO Enable Enable Low Voltage Reset LVR when Vdd less then 3 7V Disable Disable LVR Enable Enable Low Voltage Reset LVR when Vdd less then 2 5V ENLVRC Disable Disable LVR Enable Enable Low Voltage Reset LVR BODRE Enable Enable LVFWP Low Voltage Flash Write Protection while IAP or ISP programming Disable Disable LVR BODWP Disable Disable LVFWP Enable Enable the P4 0 is in Input Only mode after Power On Reset P40I0E Disable The P4 0 is in default Quasi Bidirectional mode P41IOE Enable Enable the P4 1 is in Input Only mode after Power On Reset Disable The P4 1 is in default Quasi Bidirectional mode This document information is the intellectual property of Megawin Technology Co Ltd Megawin Technology Co Ltd 2010 All rights reserved page11 12 Cy MEGAWIN 805
3. FF FF FF FF FF FF F FF FF FF FF FF FF 00 00 12 34 After 1 st RUN process OO000ibbOh FF FF FF FF FF FF FF FF OO00ibcOh FF FF FF FF FF FF FF FF FF FF OO00ibdaOh FF FF FF FF FF FF FF FF FF FF 50 72 6F 64 75 63 74 20 4E 61 6D 65 FF FF FF FF FF FFIFF FF FF FF FF FF FF FFIFF FF String Number page8 12 Start Address This document information is the intellectual property of Megawin Technology Co Ltd Step 5 start to end is unused Megawin Technology Co Ltd 2010 All rights reserved 8051 Writer U1 User Manual v1 31 a MEGAWIN aa FF FF wy 7 MAKE YOU WIN FF FF FF FF F FF FF FF FF F Product Name 5 FF FF FF FF FF FF After 2 nd RUN process 00001ibb0h FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Number Auto Increment O000ibcOh FF FF FF FF O000ibdOh FF FF FF FF Start Address page9 12 This document information is the intellectual property of Megawin Technology Co Ltd Megawin Technology Co Ltd 2010 All rights reserved 8051 Writer U1 User Manual v1 31 7 Yd MEGAWIN UAS makEYouwN 4 H W Option LOCK Disable Code dumped on a Writer is not locked e Enable Code dumped on a Writer is locked to OxFF for security SB Enable Code dumped on a Writer is scrambled for security Disable Code dumped on a Writer is not scrambled MOVCL Enable MOVC instruction executed from external program memory is disabled for
4. 1 Writer U1 User Manual v1 31 5 Revision History Revision Description Date v1 10 Release version 2008 11 20 v1 11 Special Release 2008 12 01 v1 12 Special Release 2008 12 25 v1 13 1 The default of Target Area is AP IAP ISP 2009 01 10 2 The size of Erase and Blank Check function set by Load File v1 14 Support MG87FL E 2051 4051 6051 body 2009 02 05 v1 15 The option bit of AUX_RAM is available to configure 2009 03 05 v1 16 Speed up the over all production time 2009 03 23 v1 17 Support Serial Number Function 2009 05 25 v1 18 Special Release 2009 07 28 v1 20 1 Support MG82FL E 308 316 2009 10 01 2 Separate the PartNo into several series 3 Add an item Erase to the function of Auto 4 Support the MPJ file which created by Megawin 8051 writer or early version of Megawin 8051 writer U1 v1 30 1 Support MG82FL E 532 564 2010 03 26 2 Supported the Multi Load file function v1 31 Special Release 2010 5 20 page12 12 Megawin Technology Co Ltd 2010 All rights reserved This document information is the intellectual property of Megawin Technology Co Ltd
5. 8051 Writer U1 User Manual v1 31 7 Yd MEGAWIN OA makEYoUWN Megawin 8051 Writer U1 User Manual page1 12 This document information is the intellectual property of Megawin Technology Co Ltd Megawin Technology Co Ltd 2010 All rights reserved 8051 Writer U1 User Manual v1 31 4 YI MEGAWIN TAS MAKE YOU WIN Index UISEE MANU Al 5 crcnctmre e e e T E ET E ETE E ET AE 1 l MOAGI ON enia a a aaa raaa EEEE 3 2 Easy to Use Writer seeeeeeeseeeenneneeeeeerrttttnnrtrnserrrtttnnnntneeerttttnnnnnseettttennnnnneeee nnne 4 2 1 On line Programming Operation sssseesssneeesesnennesnnetsstrrnsertrnnttnrntsstrrnnetnnntrntnnnnsennn nennen 5 2 2 Off line Copying Operation sesssseessseeresoerrnreeenrtetrtrnottrnrretttrnserernnrernnnnnrettnseeern nnen ent 6 How to use the Serial NUMBER chestscscsestsastuestseutuenlseutnenbseutuaslseubsonlsaubaeudseutneubseudapmineninn 8 E A pee EE EE EEE EEE EE EE 10 AEE dee eee eee eee E A AA 12 3 H W Option Revision History A This document information is the intellectual property of Megawin Technology Co Ltd Megawin Technology Co Ltd 2010 All rights reserved page2 12 fy 7 MAKE YOU WIN products And there are two operating modes for the Writer One is On line Programming Operation which functions as a universal Programmer The other is Off line Copying Operation which functions 8051 Writer U1 User Manual v1 31 MEGAWIN
6. ISP Space HWENW 1K v HW WIDL Set Now Clear Message Exit Filesize 8192 2000h Checksum 87EE WD Project s051 Write Set Now TAP Space Set HWPSx Now Set OSC List Now Set 11 059 7 Filepath C Documents and Settings shengzhong MEGA WIN Step 5 Follow the steps listed below for off line Copying Example MG87FE52 amp Gang2 Mode Step 1 Select Part No Step 2 Load File Step 4 Step 3 Insert ISP code This step may be omitted The user could use ISP code provided by Megawin Select system clock on OSC List The user could use ISP code provided by Megawin or developed by the user or developed by the user Step 4 Enable H W option bit On most conditions user need to enable LOCK bit Step 5 Step 6 MaxCounter maximum number of devices programmed zero for no limits details Serial Number if the function is enabled into the Writer Step 8 Connect the two writers as shown on the following figure This document information is the intellectual property of Megawin Technology Co Ltd Megawin Technology Co Ltd 2010 All rights reserved Off Line Mode Setting Enable Serial Number Refer to the following section of How to use the Serial Number for Download Download the contents from code buffer and all settings Step 4 Step 5 and Step 7 Plug out the writer from PC repeat Download at Step 6 for another Writer Step 9 Press the RUN button to process the Off line Copyi
7. Settings shengzhong MEGAWIN Set Follow the steps listed below for on line programming Example MG87FE52 Step 1 Select Part No Step 2 Load File 6MHz 11 059MHz 12MHz 22 118MHz 24MHz amp 24 576MHz Step 4 Step 3 Insert ISP code This step may be omitted The user could use ISP code provided by Megawin Step 6 Auto amp Run Enable the sub function to process the Programming Operation The programming Step 4 Select system clock on OSC List There are external crystal oscillator and internal oscillator of or developed by the user Step 5 Enable H W option bit On most conditions user will need to enable LOCK bit page5 12 status will be shown on the message window This document information is the intellectual property of Megawin Technology Co Ltd Megawin Technology Co Ltd 2010 All rights reserved MEGAWIN UL A S macevouwn Step 1 2 2 Off line Copying Operation Target Area C AP IAP 8051 Writer U1 User Manual v1 31 Check ID Erase AP IAP ISP C Isp 8051 Writer U1 v1 17 MAKE YOU WIN Step 2 Load File PartNo MG87FL51 Code Buffer Save Buffer Save MPJ Off Line Mode MaxCounter Dump Target 0 Brey 2 Insert ISP code Enable Serial Number Step 6 lt String Number Pxooo00000 woen I Auto I t Numb uto Increment Number Whole Chip Write Read Read Info Erase Option Option Start Address End Address pxo0003BF0 px00003BFF Exit
8. ng operation and then the LEDs will indicate page6 12 4 Y MEGAWIN 8051 Writer U1 MAKE YOU WIN User Manual v1 31 the programming status Orange the device is under programming Green the operation is completed and passed Red the operation is failed This document information is the intellectual property of Megawin Technology Co Ltd page7 12 Megawin Technology Co Ltd 2010 All rights reserved 8051 Writer U1 User Manual v1 31 Y MEGAWIN UAS wacevouwn How to use the Serial Number 3 Off Line Mode MaxCounter Step 1 Enable Serial Number Number Product Name 0x00001234 v Auto Increment Number Read Info End Address 0x00001BFF Exit Step 2 Step 4 Start Address x00001BF0 Step 3 Step 5 Enable the Serial Number function and totally 16 bytes 12 bytes for String and 4 bytes for Totally 12 bytes for the String and it could be used for Manufactory or Product string Totally 4 bytes for the Number and the value could be from 0x00000000 to OxFFFFFFFF The Number as set in step 3 will be automatically added one when finish the RUN Refer to Step 1 Number will be used Step 2 Step 3 the Step 9 in Off line Copying Operation process Start Address for the Serial Number It is limited from the chip size minus sixteen For example the limited Start Address for MG87FE52 is 0x00001FF0 and please make sure this range from Step 4 Product Name 4 FF FF FF FF F
9. security Disable MOVC is always enabled EN6T Enable MCU runs at 6T mode each machine cycle has 6 clocks Disable MCU runs at 12T mode each machine cycle has 12 clocks HWBS Disable No action Disable The gain of crystal oscillator is enough for higher Fosc oscillating Enable When power on MCU will boot from ISP memory if ISP memory exists Enable The internal auxiliary RAM access is disabled when the ERAM bit 0 AUXR bit1 and OSCDN Enable Used under 16MHz for EMI reduction The gain of oscillating amplifier is reduced when ERAM bit 1 the internal auxiliary RAM access is enable Disable The internal auxiliary RAM access is enable when the ERAM bit 0 AUXR bit1 and AUX_RAM when ERAM bit 1 the internal auxiliary RAM access is disabled FZWDTCR Enable The WDTCR register will be initialized to its reset value only by power on reset H W S W and WDT reset Enable Enable Low Voltage Reset LVR the LVR is around 2 4V for 3 3V device and 3 7V Disable The WDTCR register will be initialized to its reset value by all reset including power on ENLVR Disable Disable LVR 12Mlz for 5 0V device LVFWP Enable Enable LVFWP Low Voltage Flash Write Protection while IAP or ISP programming Disable Disable LVFWP This document information is the intellectual property of Megawin Technology Co Ltd page10 12 Megawin Technology Co Ltd 2010 All rights reserved ULA S MAkEYOUWIN
10. t ISP Off Line Mode e HH code poa Off line mode setting Erase whole chip including H W Option Whole Chip Write Option Read Option Lock HWENW SB MOVCL Message Target Area Compare the selected Target rea data with the Code Buffer s data r r I option HW WIDL x set 7 EN6T fa Automat ic Frite I HWBS J ate i i Now processing option IAP Space ore z XR Read E P _ idic FZWDTCR is option Now Set T E OSC List C Set d This document information is the intellectual property of Megawin Technology Co Ltd Megawin Technology Co Ltd 2010 All rights reserved Filepath Clear Message Filesize Checksum Exit page4 12 8051 Writer U1 User Manual v1 31 MEGAWIN ULA wake vouwn 2 1 On line Programming Operation Step 1 8051 Writer U1 v1 17 MAKE YOU WIN Target Area Step 2 Load File PartNo MG87FL51 C AP IAP Isp AP IAP ISP Check ID Code Buffer Save Buffer Erase Save MPJ Blank Check Dump Target Program Step 3 insert ISP code Verify Off Line Mode u HIW Option whole Chip write Read Set Now Set Now gt OK Erase Option Option Configure Auto ISP Space HWENW 1K HW WIDL ip Pr Set Blank Check Now D 5 Step 6 IV write Option ja fa Clear Message Exit Filesize 8192 2000h Checksum 87EE Set Now IAP Space HWPSx Set Set Now Now Step 5 OSC List 11 05 Filepath C Documents and
Download Pdf Manuals
Related Search
Related Contents
PEL II Instrucciones de operación PT-VX500U PT La lettre de présentation - Commission scolaire Pierre Copyright © All rights reserved.
Failed to retrieve file