⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flip_um.htm

📁 好东西
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><META NAME="GENERATOR" CONTENT="Adobe FrameMaker 6.0/HTML Export Filter"><LINK REL="STYLESHEET" HREF="flip_um.css" CHARSET="ISO-8859-1" TYPE="text/css"><TITLE> Table Of Content</TITLE></HEAD><BODY BGCOLOR="#ffffff"><DIV><H4 CLASS="SH-Section-Head"><A NAME="pgfId-885176"></A>Table Of Content</H4><P CLASS="HD-1TOC"><A NAME="pgfId-1020510"></A><A HREF="flip_um.htm#pgfId-958150" CLASS="Index">1. Overview</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020512"></A><A HREF="flip_um.htm#pgfId-958226" CLASS="Index">2. Main features</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020514"></A><A HREF="flip_um.htm#pgfId-957689" CLASS="Index">3. Software installation and setup</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020516"></A><A HREF="flip_um.htm#pgfId-960437" CLASS="Index">3.1. Windows installation</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020518"></A><A HREF="flip_um.htm#pgfId-960438" CLASS="Index">3.2. Linux installation</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020520"></A><A HREF="flip_um.htm#pgfId-960439" CLASS="Index">3.3. Solaris installation</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020522"></A><A HREF="flip_um.htm#pgfId-960436" CLASS="Index">4. Getting started</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020524"></A><A HREF="flip_um.htm#pgfId-962572" CLASS="Index">5. Selecting a device</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020526"></A><A HREF="flip_um.htm#pgfId-973639" CLASS="Index">6. Selecting a communication medium</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020528"></A><A HREF="flip_um.htm#pgfId-973656" CLASS="Index">6.1. RS232</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020530"></A><A HREF="flip_um.htm#pgfId-973655" CLASS="Index">6.2. CAN</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020532"></A><A HREF="flip_um.htm#pgfId-1015709" CLASS="Index">7. Device special bytes</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020534"></A><A HREF="flip_um.htm#pgfId-1015748" CLASS="Index">7.1. General options</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020536"></A><A HREF="flip_um.htm#pgfId-1015749" CLASS="Index">7.2. CAN options</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020538"></A><A HREF="flip_um.htm#pgfId-962574" CLASS="Index">8. Editing the buffer and setting options</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020540"></A><A HREF="flip_um.htm#pgfId-967073" CLASS="Index">8.1. The Edit Buffer window</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020542"></A><A HREF="flip_um.htm#pgfId-973991" CLASS="Index">8.2. The Buffer options window</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020544"></A><A HREF="flip_um.htm#pgfId-1013008" CLASS="Index">8.3. The Buffer Checksum</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020546"></A><A HREF="flip_um.htm#pgfId-973992" CLASS="Index">9. Executing operations on the target device</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020548"></A><A HREF="flip_um.htm#pgfId-974298" CLASS="Index">10. Operations flow</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020550"></A><A HREF="flip_um.htm#pgfId-966952" CLASS="Index">11. The history and command window</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020552"></A><A HREF="flip_um.htm#pgfId-1013021" CLASS="Index">12. Recording and replaying commands</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020554"></A><A HREF="flip_um.htm#pgfId-1013027" CLASS="Index">12.1. Building the configuration file from FLIP</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020556"></A><A HREF="flip_um.htm#pgfId-1013064" CLASS="Index">12.2. Loading and running the configuration file</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020558"></A><A HREF="flip_um.htm#pgfId-1013090" CLASS="Index">12.3. Building a configuration file using a text editor</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020560"></A><A HREF="flip_um.htm#pgfId-1013346" CLASS="Index">12.4. Configuration file example</A></P><P CLASS="HD-1TOC"><A NAME="pgfId-1020562"></A><A HREF="flip_um.htm#pgfId-974400" CLASS="Index">13. Troubleshooting</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020564"></A><A HREF="flip_um.htm#pgfId-1015904" CLASS="Index">13.1. Global messages</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020566"></A><A HREF="flip_um.htm#pgfId-1015861" CLASS="Index">13.2. CAN messages</A></P><P CLASS="HD-2TOC"><A NAME="pgfId-1020568"></A><A HREF="flip_um.htm#pgfId-1015907" CLASS="Index">13.3. RS232 messages</A></P></DIV><DIV><H4 CLASS="SH-Section-Head"><A NAME="pgfId-958150"></A>Overview</H4><P CLASS="BT-Body-Text"><A NAME="pgfId-958222"></A>This ATMEL's ISP software allows to program all our FLASH C51 parts. It runs under Windows 9x / Me, Windows NT / 2000 / XP and Linux as well.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-1040793"></A>&nbsp;</P><P CLASS="BT-Body-Text"><A NAME="pgfId-958223"></A>Communicating with the target device may be done through a RS232 link, a CAN or an USB link, depending on the communication media supported by the target device.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-960435"></A>This software is named FLIP, which stands for: FLexible In-system Programmer.</P></DIV><DIV><H4 CLASS="SH-Section-Head"><A NAME="pgfId-958226"></A>Main Features</H4><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-958231"></A>Intel MCS-86 Hexadecimal Object, Code 88 file format supported for data file loading and saving</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-987169"></A>Optional address offset for loading</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-958232"></A>Buffer control:</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-958233"></A>data byte modification, address range fill-in, goto a specified address, data byte sequence search</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-958247"></A>Target device control:</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-958250"></A>Blank check, Program, Read, Verify, Erase, Special bytes edition capability</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-958228"></A>Permanently displayed and updated information about the buffer options and the target device status</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-958272"></A>Customizable flow for quick repeating programming</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-958278"></A>Command window allowing control through a command file (Tcl language)</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-1012999"></A>Commands recording for automatic reconfiguration and commands replay.</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-958281"></A>Progress bar, tooltips and on-line help</H6></DIV></DIV><DIV><H4 CLASS="SH-Section-Head"><A NAME="pgfId-957689"></A>Software Installation and Setup</H4><DIV><H5 CLASS="SHS1-Section-Head-Sub-1"><A NAME="pgfId-960437"></A>Windows Installation</H5><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-973537"></A>Copy the Flip_&lt;version&gt;.zip file to an empty temporary directory.</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-973538"></A>Perform the zip file extraction so that it builds a Flip_&lt;version&gt; directory.</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-973547"></A>Open the Flip_&lt;version&gt; directory and run the Setup file.</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-973540"></A>Follow the installation program instructions.</H6><P CLASS="BT-Body-Text"><A NAME="pgfId-1040802"></A>For parallel port to CAN interfaces to work, you have to install the proper drivers first.</P></DIV></DIV><DIV><H5 CLASS="SHS1-Section-Head-Sub-1"><A NAME="pgfId-960438"></A>Linux Installation</H5><P CLASS="BT-Body-Text"><A NAME="pgfId-960441"></A>Uncompress and untar the archive file.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-960446"></A>The Linux version of FLIP supports ISP through the RS232 port and RS232 / CAN interfaces (nor USB, neither parallel port CAN interfaces are supported).</P></DIV></DIV><DIV><H4 CLASS="SHNP-Section-Head-New-Page"><A NAME="pgfId-960436"></A>Getting Started</H4><P CLASS="BT-Body-Text"><A NAME="pgfId-962577"></A>This chapter guides you through a short tour of FLIP to help you getting started with this ISP software.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-913917"></A>Once the FLIP main window appears, you can see three areas from the left to the right: the Operations Flow area, the Buffer Information area and the Device parameters one.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-966964"></A>Just below these three frames stands a command and history window which use will be discussed in <A HREF="flip_um.htm#31182" CLASS="XRef">See The history and command window.</A>.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-966963"></A>A message log window, a progress bar area and a communication information report are available at the bottom of the main window.<BR></P><OL><LI CLASS="BN1-Body-Numbered-1"><A NAME="pgfId-973563"></A>Connect your target hardware to the host platform serial port, CAN port or USB one.</LI><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-966941"></A>Connect your target hardware to a power supply and reset it. We assume that the device to be programmed contains a FLIP compliant bootloader program.</LI></OL><DIV><H6 CLASS="BN1P-Body-Numbered-1-"><A NAME="pgfId-966945"></A>Select a device from the device list.</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-966946"></A>From the top menu bar, select the Device item. In the Device pull-down menu, click the Select item.The Device Selection dialog box pops up. Select a device from the devices list box and click OK.<BR>As soon as the device is selected, the Device parameters area is updated to let you see the selected device special bytes. The Buffer information area is updated as well with device dependent information. </LI></UL></DIV><DIV><H6 CLASS="BN1P-Body-Numbered-1-"><A NAME="pgfId-973632"></A>Select a communication medium.</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-962588"></A>From the top menu bar, select the Settings item. In the Settings pull-down menu, click the Communication item. In the Communication cascading menu, select a communication medium.<BR>The medium setup dialog box pops up. Adjust the communication parameters, and click Connect.<BR>FLIP starts a synchronization sequence with the target device bootloader software. After the synchronization sequence completion, FLIP reads the target device special bytes and updates the main window frame on the right.</LI></UL></DIV><DIV><H6 CLASS="BN1P-Body-Numbered-1-"><A NAME="pgfId-962587"></A>Select a HEX data file.</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-962682"></A>From the top menu bar, select the File item. In the File pull-down menu, click the Load item.<BR>Select a HEX file from the file browser. FLIP parses the HEX file and fills in the edition buffer.</LI></UL></DIV><DIV><H6 CLASS="BN1P-Body-Numbered-1-"><A NAME="pgfId-962686"></A>Open the buffer edition window.</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-962688"></A>From the top menu bar, select the Buffer item. In the Buffer pull-down menu, click the Edit item.<BR>The Edit Buffer window pops up. You may now perform many operations onto the buffer contents.<BR>For details about the possible buffer editing capabilities, see the <A HREF="flip_um.htm#16781" CLASS="XRef">See Editing the buffer and setting options.</A>.</LI></UL></DIV><DIV><H6 CLASS="BN1P-Body-Numbered-1-"><A NAME="pgfId-966920"></A>Open the buffer options window.</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-966921"></A>You may open the buffer options window from the FLIP main window, or from the Edit Buffer dialog box.<BR>From the main window menu bar, select the Buffer item. In the Buffer pull-down menu, click the Options item.<BR>The Buffer Options dialog box pops up. The main buffer options are: the buffer size, the initial contents, the address programming range and the loading offset. For details about these options, see the <A HREF="flip_um.htm#16781" CLASS="XRef">See Editing the buffer and setting options.</A>.</LI></UL></DIV><DIV><H6 CLASS="BN1P-Body-Numbered-1-"><A NAME="pgfId-967008"></A>Program the target device.</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-967010"></A>From the top menu bar, select the Device item. In the Device pull-down menu, click the Program item.<BR></LI></UL><P CLASS="BT-Body-Text"><A NAME="pgfId-967009"></A>This concludes our short tour of the FLIP demo. For detailed descriptions of the possible operations, please read the following chapters.</P></DIV></DIV><DIV><H4 CLASS="SH-Section-Head"><A NAME="pgfId-962572"></A>Selecting a device</H4><P CLASS="BT-Body-Text"><A NAME="pgfId-973634"></A>From the top menu bar, select the Device item. In the Device pull-down menu, click the Select item.The Device Selection dialog box pops up. Select a device from the devices list box and click OK.<BR>As soon as the device is selected, the Device parameters area is updated to let you see the selected device special bytes. The Buffer information area is updated as well with device dependent information.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-1013006"></A>The device selection may be done by pressing the F2 function key.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-973636"></A>Each device supports a particular set of communication media.<BR>You may use FLIP as an HEX file editor only; in that case, you do not have to select a device from the device list.</P></DIV><DIV><H4 CLASS="SH-Section-Head"><A NAME="pgfId-973639"></A>Selecting a communication medium</H4><P CLASS="BT-Body-Text"><A NAME="pgfId-973659"></A>From the top menu bar, select the Settings item. In the Settings pull-down menu, click the Communication item. In the Communication cascading menu, select a communication medium. The medium setup dialog box pops up.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-1013007"></A>The communication medium selection may be done by pressing the F3 function key.</P><DIV><H5 CLASS="SHS1-Section-Head-Sub-1"><A NAME="pgfId-973656"></A>RS232</H5><P CLASS="BT-Body-Text"><A NAME="pgfId-973642"></A>Adjust the communication parameters, and click Connect.<BR>FLIP starts a synchronization sequence with the target device bootloader software. After the synchronization sequence completion, FLIP reads the target device special bytes and updates the Device parameters area.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-973671"></A>Important note:</P><P CLASS="BT-Body-Text"><A NAME="pgfId-973672"></A>The RS232 synchronization sequence will probably pass, even at high baudrates. Nevertheless, you must take care to the baudrate selection: if the target hardware oscillator frequency is too low, the bootloader cannot achieve characters reception/transmission and FLASH programming properly. In such cases, you have to decrease the baudrate.<BR>FLIP will warn you through a message box if such a situation occurs. The following table shows the valid Osc. freq./Baudrate pairs which allow a successful RS232 transmission.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-973676"></A>&nbsp;</P><TABLE BORDER="1"><TR><TH ROWSPAN="1" COLSPAN="1"><P CLASS="TH8CB-Table-Heading-8pt-Center-Bottom"><A NAME="pgfId-973876"></A>Freq. / Baudrate</P></TH><TH ROWSPAN="1" COLSPAN="1"><P CLASS="TH8CB-Table-Heading-8pt-Center-Bottom"><A NAME="pgfId-973878"></A>2400</P></TH><TH ROWSPAN="1" COLSPAN="1"><P CLASS="TH8CB-Table-Heading-8pt-Center-Bottom"><A NAME="pgfId-973880"></A>4800</P></TH><TH ROWSPAN="1" COLSPAN="1"><P CLASS="TH8CB-Table-Heading-8pt-Center-Bottom"><A NAME="pgfId-973882"></A>9600</P></TH><TH ROWSPAN="1" COLSPAN="1"><P CLASS="TH8CB-Table-Heading-8pt-Center-Bottom">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -