📄 flip_um.htm
字号:
<H6 CLASS="BL-Bullet-List"><A NAME="pgfId-1015714"></A>Select the proper CAN interface from the pulldown CAN menu. FLIP supports several CAN interfaces: three of them must be connected to the PC parallel port, one of them has been developed by ATMEL and must be connected to the PC RS232 port; the last one is an USB to CAN interface.</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-1020444"></A>The Controller Area Network Setup dialog box shows up.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-1015708"></A>Adjust the communication parameters port and baud rate.</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-1015713"></A>Click the Init button; this initializes the CAN hardware interface connected to the PC.</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-1015725"></A>Check the node number and the CRIS parameters values; change them if necessary. For the CRIS parameter to be taken into account, you must hit the RETURN key after typing the new CRIS value; this updates the IDs values displayed in the dialog box.</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-1015728"></A>Click the Node Connect button. FLIP reads the target device special bytes and updates the Device parameters area.</LI></UL></DIV></DIV></DIV><DIV><H4 CLASS="SH-Section-Head"><A NAME="pgfId-1015709"></A>Device special bytes</H4><DIV><H5 CLASS="SHS1-Section-Head-Sub-1"><A NAME="pgfId-1015748"></A>General options</H5><P CLASS="BT-Body-Text"><A NAME="pgfId-1015710"></A>The device special bytes are displayed in the main window Device parameters area. Some of them are read-only.<BR>You may read the special bytes at any time, if allowed by the security level, by clicking the Read button.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-967072"></A>Changing the special bytes values is straight forward: set a new value in the proper entry field and click the Set button.<BR>FLIP will write the special bytes new values and will read back the special bytes values from the device. This guaranties that the displayed values are the device ones, not only values to be programmed.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-967051"></A>FLIP takes care about the current security level and disables the Read and the Set buttons when necessary.</P></DIV><DIV><H5 CLASS="SHS1-Section-Head-Sub-1"><A NAME="pgfId-1015749"></A>CAN options</H5><P CLASS="BT-Body-Text"><A NAME="pgfId-1015736"></A>For devices supporting the CAN protocol, FLIP provides a CAN button at the bottom of the Device parameters area.<BR>Clicking the CAN button makes the CAN Node Configuration dialog visible. It lets you read and modify a CAN node parameters.<BR>The parameters that may be changed are :</P><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-1015753"></A>node number</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-1015754"></A>CRIS (CAN Relocatable Identifier Segment)</H6></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-1015755"></A>BTC1 / BTC2 / BTC3 (Byte Timing Configuration)</H6><P CLASS="BT-Body-Text"><A NAME="pgfId-1015756"></A>To change a value, simply type the new value in the proper entry and click the Set button.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-1015757"></A>After any CAN node configuration modification, you must reset the target device in order to force the new configuration to be taken into account.</P></DIV></DIV></DIV><DIV><H4 CLASS="SH-Section-Head"><A NAME="pgfId-962574"></A><A NAME="16781"></A>Editing the buffer and setting options</H4><P CLASS="BT-Body-Text"><A NAME="pgfId-974001"></A>FLIP allows many operations on the buffer. This chapter describes each of them.</P><DIV><H5 CLASS="SHS1-Section-Head-Sub-1"><A NAME="pgfId-967073"></A>The Edit Buffer window</H5><P CLASS="BT-Body-Text"><A NAME="pgfId-974007"></A>From the top menu bar, select the Buffer item. In the Buffer pull-down menu, click the Edit item.<BR>The entries are not case sensitive. Nor X, neither 0X prefix is necessary when you type addresses or data values.</P><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-967097"></A>File > Load ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-967098"></A>Loads a HEX file into the buffer. Use the file browser to select a file.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-967099"></A>File > Save as ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-967100"></A>Allows saving the buffer contents to a file.<BR>The range of addresses which will be saved is recalled in the main window Buffer Information area, with the Range label. You may modify the range values through the Buffer Options dialog box. In the Address Programming Range field, select the User Defined Address Range option and set the Min and Max addresses, then click OK or Apply. The main window Buffer Information area should reflect your changes.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974022"></A>Edit > Modify ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974025"></A>Opens a dialog box which lets you modify the buffer contents. Type an address and a data value in hexadecimal format. <BR>After modification, the buffer window is scrolled and a yellow tag highlights the modified address. You may perform buffer modifications by merely double-clicking a data byte within the buffer window.</LI><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974042"></A>Click the Apply button to perform changes without closing the Modify Buffer dialog box. Click the OK button or hit the Return key to perform changes and close the dialog box.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974043"></A>Edit > Goto ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974020"></A>Opens a dialog box which lets you specify an address you want to scroll to.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974049"></A>Edit > Fill ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974053"></A>Lets you enter a start address, an end address, and a value you want to be used to fill the defined address range.<BR>Click the Fill button to fill the address range. Use the Check button when you want to check an address range contents.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974056"></A>Edit > Reset ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974054"></A>Use this command to reset the buffer to the default blank value. The default blank value is displayed in the main window Buffer Information area. You can change it by using the Buffer Options window.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974062"></A>Device > Read</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974082"></A>Use this command to read the target device FLASH memory. The Edit Buffer window is updated afterwards.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974071"></A>Device > Program</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974085"></A>Use this command to program the target device FLASH memory.</LI><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974094"></A>The device programming address range is displayed in the main window Buffer Information area and is labeled Range. You can change it by using the Buffer Options window.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974077"></A>Device > Verify</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974107"></A>This command lets you compare the target device memory contents with the buffer one. The comparison is done between (and including) boundary addresses. The address range is displayed in the main window Buffer Information. You can change it by using the Buffer Options window.</LI><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974069"></A>FLIP displays the first fail address, if any.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974047"></A>Options ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974113"></A>This command opens the Buffer Options dialog box.</LI></UL></DIV></DIV><DIV><H5 CLASS="SHS1-Section-Head-Sub-1"><A NAME="pgfId-973991"></A>The Buffer options window</H5><P CLASS="BT-Body-Text"><A NAME="pgfId-974116"></A>From the top menu bar, select the Buffer item. In the Buffer pull-down menu, click the Options item.<BR>The entries are not case sensitive. Nor X, neither 0X prefix is necessary when you type addresses or data values.</P><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974114"></A>Buffer Size</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974122"></A>After a device selection, this option is set to device dependent state by default; this means that the buffer size is set to the target device memory one (in Kbytes).<BR>You may override this option setup and define a different buffer size value.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974126"></A>Initial Buffer Contents</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974129"></A>After a device selection, this option is set to device dependent state by default; this means that the buffer default reset value is set to the target device memory blank value.<BR>You may override this option setup and define a different buffer reset value.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974127"></A>Reset Buffer Before Loading</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974140"></A>Set this option to yes only if you want the buffer to be reset to the blank value before reading the HEX file.<BR>The default No value is useful when you intend to load several HEX files into the buffer.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974121"></A>Address Programming Range</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974250"></A>This option lets you define the address range which will be used to program the target device. It can be set to the following values:</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974251"></A>Address Range From Last Buffer Load</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974256"></A>This is the default setup. The address programming range is set to the address range of the last HEX file loaded into the buffer.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974252"></A>Whole Buffer</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974259"></A>The whole buffer address range will be used to program the target device.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974253"></A>User Defined Address Range</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974260"></A>Select this option if you want to define a particular range of address to program the target device.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974254"></A>Loading Address Offset</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974269"></A>This field lets you enter an offset value to be added to the HEX file addresses before loading the buffer.</LI></UL></DIV></DIV><DIV><H5 CLASS="SHS1-Section-Head-Sub-1"><A NAME="pgfId-1013008"></A>The Buffer Checksum</H5><P CLASS="BT-Body-Text"><A NAME="pgfId-1013009"></A>The buffer checksum value is displayed in the main window Buffer Information area.</P><P CLASS="BT-Body-Text"><A NAME="pgfId-1013010"></A>The checksum is calculated on the address range displayed in the Buffer Information area; the address boundaries are included in the address range. As described in the above paragraph, the user has control over the address programming range. </P><P CLASS="BT-Body-Text"><A NAME="pgfId-1013016"></A>The checksum value is updated each time the buffer is modified within the address programming range by operations like: reset, modify, fill, HEX file loading and device reading.</P></DIV></DIV><DIV><H4 CLASS="SH-Section-Head"><A NAME="pgfId-973992"></A>Executing operations on the target device</H4><P CLASS="BT-Body-Text"><A NAME="pgfId-974278"></A>From the top menu bar, select the Device item. In the Device pull-down menu, select an operation.</P><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974292"></A>Device > Select ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974293"></A>Use this command to select a device from a list.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974294"></A>Device > Erase ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974295"></A>This command pops up a dialog box for you to enter the erasing options. Some devices do not allow erasing per block; FLIP takes care about this by making the corresponding selections impossible.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974307"></A>Device > Blank Check ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974308"></A>This command lets you compare the target device contents to the blank value. The current blank value is displayed in the Buffer Information area of the main window. The verification is done between (and including) two boundary addresses which you can adjust through the Blank Check dialog box Start Address and End Address fields. Click the Check button to perform the operation. The pass/fail status is displayed in the Blank Check dialog box. If an error occurs the fail address is reported in the Blank Check dialog box.<BR>Use the dialog box Reset button to clear any previous check status message.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974311"></A>Device > Read ...</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974313"></A>This command lets you read the target device contents between two boundary addresses. You can specify these boundaries through the dialog box Start address and End address fields.</LI></UL></DIV><DIV><H6 CLASS="BL-Bullet-List"><A NAME="pgfId-974316"></A>Device > Program</H6><UL><LI CLASS="BLI-Bullet-List-Indent"><A NAME="pgfId-974318"></A>This command launches the target device programmation. The device programming address range is displayed in the main window Buffer Information area and is labeled Range. You can change it by using the Buffer Options window.</LI></UL></DIV>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -