Home
Data FLASH Editor - Renesas Electronics
Contents
1. Identifier for the data record 16bit Format is fixed to four digits in hex Defining the name off the record Length Length definition of the data record Any hexadecimal or decima Note These XML values were not used by 78KOR MF2 based devices The values were fixed to zero in case of 78K0R MF2 Table 3 Predefined tags of an XML based raw data description file RO1U10176EDOOOO Rev 1 00 AS 12 User Manual RENES Data FLASH Editor Input files formats lt xml version 1 0 gt lt DataFlash gt lt AdministrativeSection gt FAL CONFIG DATAFLASH_SIZE gt 16 lt FAL_CONFIG_ DATAFLASH SIZE FAL CONFIG BLOCK SIZE 0x800 FAL CONFIG BLOCK SIZE EEL CONFIG BLOCK START 2 EEL CONFIG BLOCK START EEL CONFIG BLOCK CNT 6 EEL CONFIG BLOCK CNT EEL CONFIG DF BASE ADDRESS 0x2000000 EEL CONFIG DF BASE ADDRESS gt EEL CONFIG BLOCK CNT REFRESH THRESHOLD 0x2 EEL CONFIG BLOCK CNT REFRESH THRESHOLD EEL CONFIG ERASE SUSPEND THRESHOLD gt 10 EEL CONFIG ERASE SUSPEND THRESHOLD AdministrativeSection Record ID 0x80 ID lt IDName gt Name1 lt IDName gt lt Length gt 2 lt Length gt lt Data gt 0x20 0x30 lt Data gt lt Record gt lt DataFlash gt Figure 1 Example of XML based raw data description file RO1U10176EDO000 Rev 1 00 AS 13 User Manual RENES Data FLASH Editor Output file formats Chapter 4 Output file formats The Data FLASH Editor can support Data FLASH
2. pr5 which is used in combination with the PG FP5 FLASH programmer is used also by the Data FLASH Editor to gain the corresponding Data FLASH information of the chosen V850 or 78KOR device The device parameter file has to be loaded first before any other operation can be performed The Data FLASH Editor does support Data FLASH memory images in the Intel hex and Motorola S record file format Additionally for V850E2 UX6LF and 78KOR MF2 based devices a XML raw data description file must be loaded or created before reading a corresponding Data FLASH memory image file in HEX or SREC format The predefined tags of an XML based raw data description file are as following DataFlash Defining the start of the definition file Adminstaiveseci n This section is describing the physical parameters that are needed for the file generation Number of Data FLASH blocks accessible by the FAL CONFIG DATAFLASH SIZE FAL Typical number of available Data FLASH blocks FAL CONFIG BLOCK SIZE Data FLASH block size in bytes EEL CONFIG BLOCK START 1st block of the EEL pool Ml Ni Note EEL CONFIG BLOCK CNT Number of blocks for the EEL pool EEL CONFIG DF BASE ADDRESS Data FLASH base address EEL CONFIG BLOCK CNT REFRESH Threshold for minimum number of prepared THRESHOLD blocks Threshold for erase suspend counter Exceeding EEL CONFIG ERASE SUSPEND THRE this result in warning SHOLD Note Defining the start of a ID L record
3. Decompressing DataFLASHEditor mei Cancel Figure 14 Install preparation After the setup program has finished initialization a welcome screen appears Click the Next button to continue the installation iz DataFLASHEditor InstallShield Wizard Welcome to the InstallShield Wizard for DataFLASHEditor The Inistall5hield R wizard will install DataFLASHEditor on your computer To continue click Next WARNING This program is protected by copyright law and international treaties j Cancel Figure 15 Welcome screen RO1UT0176EDO000 Rev 1 00 LEN ESAS 30 User Manual Data FLASH Editor Software Installation In the next step of installation the License Agreement window appears Please read the Software Program License Agreement carefully To continue the installation accept the License agreement and click the Next button If you not accepted the license agreement the installation procedure exits iz DataFlashEditor InstallShield Wizard License Agreement Please read the Following license agreement carefully THE ACCOMPANYING PROGRAM 15 PROVIDED UNDER THE TERMS OF THIS SOFTWARE PROGRAM LICENSE AGREEMENT AGREEMENT ANY USE OF THE PROGRAM CONSTITUTES USER S ACCEPTANCE OF THIS AGREEMENT PLEASE READ THIS AGREEMENT CAREFULLY If you do not agree please cancel the installation I accept the terms in the license agreement Print Ido not accept the terms in th
4. E044 Wrong reference write pointer in block lt blk gt header section Block number lt blk gt The settings within XML file do not match to the device parameter file The RecordID lt ID gt includes invalid characters in XML file The RecordID lt ID gt value exceeds range 1 0xFFFE in XML file Same RecordiD lt ID gt found in XML file Inputs contains invalid characters E051 The Record length lt length gt exceeds range E052 The Record length lt length gt include invalid character in XML file lt name gt value is out of range in XML file Can not find valid data record in the FLASH file length must be a value from 1 lt max gt Block blk RWP is wrong Empty flash size is not enough to validate this data set Data size might exceed active pool Could not open Device Parameter File Could not read Device Parameter File Table 11 Error Messages RO1UT0O176ED0000 Rev 1 00 TENESAS 57 User Manual Data FLASH Editor Error Messages Revision History Rev First Edition Issued Replaces document x 5 EN U19829EE2V0UMO0 RO1UT0176EDOOOO Rev 1 00 TENESAS 58 User Manual Data FLASH Editor LENESAS SALES OFFICES Renesas Electronics Corporation Refer to http www renesas com for the latest and detailed information Renesas Electronics America Inc 2880 Scott Boulevard Santa Clara CA 95050 2554 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Lim
5. LENESAS Data FLASH Editor Data FLASH Editor tool for 78KOR and V850 based EEPROM Emulation All information contained in these materials including products and product specifications represents information on the product at the time of publication and is subject to change by Renesas Electronics Corp without notice Please review the latest information published by Renesas Electronics Corp through various means including the Renesas Technology Corp website http www renesas com Renesas Electronics 01 176 0000 Rev 1 00 www renesas com March 31 2011 Notice 1 All information included in this document is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website 2 Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is granted hereby under any patents copyrights or other intellectu
6. The following section states are possible The following section states are possible e Prepared The section has been erased In the section header the erase counter is written Active marker and consumed marker are cleared This section is ready for activation by a Refresh operation Active The section contains the latest data sets The EEPROM emulation can read and write data to this section In the section header additionally to the erase counter also the active marker is set Consumed marker is cleared e Consumed The section is full no more space was available to Write new data sets After activating the next section and copying the latest data sets there the Refresh operation marked the full section consumed In the section header additionally to the erase counter and active marker also the consumed marker is set Next step is to Prepare the section e Invalid This is no valid state During operation it can only occur in case of interruption of a FLASH operation like erase to this section The section header may contain any other data except as described in the three states before Also a completely erased FLASH default factory delivery state is invalid from EEPROM emulation point of view The normal section state transitions are Prepared gt Active gt Consumed gt Prepared gt RO1UT0176EDOOOO Rev 1 00 AS 17 User Manual RENES Data FLASH Editor 9 3 9 4 EEPROM emulation data o
7. x 00 x Oxtf x x OxOO xff x 00 x Data FLASH window Additional to the Data FLASH memory the file reading process and the corresponding file and address map information are displayed in the process window File Read File opened OF image TERE Aid rec Min address 0400000 address 0x40 itt Empty space 8086 bytes Process window New HEX SREC File The New HEX SREC File menu is enabled only for V850E2 UX6LF and 78KOR MF2 FLASH Technology based devices It allows preparing a new HEX SREC file by the Data FLASH Editor Close HEX SREC File Via the Close menu the working on a Data FLASH memory image can be finished and the corresponding Data FLASH memory image will be closed In case the Data FLASH memory image was changed a file save dialog offers the possibility to save the last changes RO1U10176EDO000 Rev 1 00 sZ NE S AS 38 User Manual Data FLASH Editor 6 7 8 Note Data FLASH Editor GUI XML File Save as The Save as menu is enabled only for V850E2 UX6LF and 78KOR MF2 FLASH Technology based devices It allows saving of a modified or newly created XML file by the Data FLASH Editor Especially the invalidated data sets will be saved in the XML file and the memory space they occupied will be included in the data FLASH memory check function Save as HEX SREC File The Save as HEX SREC File menu allows saving
8. 156 O4 rec REC File El DF image 32EB 04 REC File Desktop Ej DF image_32KB_15 rec REC File Mu Documents Computer File name DF image TERE UT ney ka Open dialog Before a Data FLASH memory image can be loaded the Data FLASH area must be specified within the Settings menu In case of V850E ES MF2 UX4 the Data FLASH start address and size must be specified first In case of V850E2 UX6LF or 78KOR MF2 an existing XML based raw data description file including Data FLASH management information must be loaded first When loading a Data FLASH memory image it must fit to the chosen Data FLASH start address and the Data FLASH size Otherwise the file loading will be aborted and a corresponding error message is generated 01 0176 0000 Rev 1 00 sZ NE S AS 37 User Manual Data FLASH Editor Figure 25 Figure 26 4 5 Data FLASH Editor GUI The most recently used directory a file has been loaded from will be offered in this file open menu The Data FLASH memory image can be loaded in two different formats the Intel hex or Motorola S record file format After a Data FLASH memory image is loaded the corresponding EEPROM emulation data entries including ID tag length and data record information were displayed in the Data FLASH window of the editor dat a format 11 xZ2 0x33 Onda 0 57 Ox45 23 x l xef xc Oxab 059 Oxtf x x OxOO xff
9. Additionally the RWP is checksum protected in order to be robust against accidental overwriting due to application failures REF Zone Data Zone Data Zone Data Zone Figure 8 Reference Write Pointer R01UT0176ED0000 Rev 1 00 AS 21 User Manual RENES Data FLASH Editor EEPROM emulation data of V850E2 UX6LF The EEPROM emulation block header information decides the block status The following block states are possible e Prepared e Active e Excluded e Invalid RO1UT0176EDOOOO Rev 1 00 User Manual XFFFFFFFF XFFFFFFFF 0000000000 XFFFFFFFF XFFFFFFFF XFFFFFFEFF XFFFFFFFF 0200000000 020000 Opao SEIE IS 0x50525250202 LENESAS 22 Data FLASH Editor EEPROM emulation data of V850E2 UX6LF 6 3 Reference zone The Reference zone contains the Data Sets DS management information basically which are the ID and the pointer to the data Further information is required in the REF zone to ensure data consistency in case of write interruption and in order to improve the robustness against user application fails resulting in FLASH words overwrite SOR DRP EOP DCS REF _ one one Start of reference entry 1 bit Tag It is written 1st in order to block one REF zone list entry Data Reference Pointer Is written after SOR and contains 16 bit lower half word ID 16 bit upper half word widx a pointer to the data Especially if widx is set t
10. FLASH Editor GUI 9 2 5 Help menu Clicking the Help menu displays the following pull down menu M Data FLASH Editor Figure 33 Help menu The About Data FLASH Editor command opens the About Data FLASH Editor window as shown below and indicates the program version About DataFLASHEditor Data FLASH Editor Version 3 00 Copyright 2008 2011 Renesas Electronics Europe GmbH tp WWW TSE aZ EL Figure 34 About Data FLASH Editor window RO1UT0176EDOOOO Rev 1 00 TENESAS 45 User Manual Data FLASH Editor Data FLASH Editor GUI 9 3 Data FLASH window The Data FLASH window visualizes the EEPROM emulation data records of a loaded Data FLASH memory image The Data FLASH window supports the following functions e Display of EEPROM emulation data records including O O O O O ID tag Length information Invalidated state Data Format e Modification of EEPROM emulation data Adding new EEPROM emulation data record Editing of existing EEPROM emulation data record Deleting existing EEPROM emulation data record Invalidate Validate existing EEPROM emulation data record The Data FLASH window is shown in the figure below xllli xdddd Oxy 0 0002 format x sl l h 0 005 0 12345678 01 h OxO s 0 00030000 0200030001 h 0 00 0 00060000 x s l z s z h 02008 Oxabababab 0 12345678 21 Invalidate Figur
11. REMOVE Loading of Data FLASH memory images generated by the Data FLASH Converter or IAR GHS Renesas debuggers Restoring of modified EEPROM emulation data to an existing Data FLASH memory image Enhanced features for V850E2 UX6LF and 78KOR MF2 Reading XML raw data management description file Verifying of XML file based on device parameter file Creation and modification of administration section within XML file Sorting of data set based ID in the Data FLASH editor window Handling data set state between validate and invalidate Creating saving and modifying of XML file Selecting of data sets from Data FLASH memory image file based on XML file information 01 0176 00000 Rev 1 00 sZ NE S AS 9 User Manual Data FLASH Editor Introduction 1 3 Trademarks Green Hills the Green Hills logo CodeBalance GMART GSTART INTEGRITY and MULTI are registered trademarks of Green Hills Software Inc AdaMULTI EventAnalyzer G Cover GHnet GHnetLite Green Hills Probe Integrate ISIM PathAnalyzer Quick Start ResourceAnalyzer Safety Critical Products Slingshot SuperTrace Probe TimeMachine and TotalDeveloper are trademarks of Green Hills Software Inc IAR Embedded Workbench visualSTATE IAR MakeApp and C SPY are registered trademarks of IAR Systems AB Microsoft and Windows are registered trademarks of Microsoft Corporation Adobe and Acrobat Reader are registered trademarks of Adobe Systems Incorporated Wi
12. corresponding memory image can be generated by the Data FLASH Converter or it can be uploaded from a 78KOR or V850 based In Circuit Emulator by using the IAR GHS or Renesas debugger The Data FLASH Editor supports to view modify and to save EEPROM emulation data of an existing Data FLASH memory image In addition the Data FLASH Editor supports to add or remove EEPROM emulation data entries to respectively from a existing Data FLASH memory image The Data FLASH Editor does distinguish between three different 78KOR and V850 based device families and FLASH Technologies e 7 MF2 FLASH Technology in combination with the 78KOR Fx3 EEPROM emulation library EEL Type TO3 e V850E ES UX4 and MF2 FLASH Technology in combination with the V850 EEPROM emulation library EEElib previous Type V850E2 UX6LF FLASH Technology in combination with the V850 EEPROM emulation library EEL Type T05 Different to V850E ES device family the Data FLASH Editor needs to read or to create an XML based raw data management description file first to support 78KOR and V850E2 devices accordingly This is caused by the different emulation library concepts of V850E ES and V850E2 78KOR By reading or creating the raw data management description file the Data FLASH Editor gets the corresponding information about the data set IDs and data set length information Based on this information only the latest valid 105 and matched data sets of a Data FLASH memory im
13. has been deleted A refresh is needed before it can be used again E022 Error during decimal conversion element lt id gt E028 Error when data should be inserted RO01UTO176ED0000 Rev 1 00 LEN ESAS 56 User Manual Data FLASH Editor Error Messages No inactive sector found The Data FLASH file does not match to the specified EEPROM emulation areal E034 Data FLASH file address range user data lt id1 gt lt id2 gt Specified EEPROM emulation area lt id3 gt lt id4 gt The Data FLASH file does not fill out the specified EEPROM emulation area The file must have the same size as the EEPROM emulation area x Data FLASH file address range user data lt id1 gt lt id2 gt Specified EEPROM emulation area lt id3 gt lt id4 gt E036 The ID must be a value from 1 to 65534 The file data exceeds the configured EEPROM emulation area E037 Data FLASH file address range lt id1 gt lt id2 gt Specified EEPROM emulation area lt id3 gt lt id4 gt E038 The Data FLASH file is to large Please import the Data FLASH file according to the specified Data FLASH settings E040 Wrong data FLASH base address specified Please insert data FLASH base address as hexadecimal value for instance Base address 0x001F8000 E041 Wrong data FLASH base address specified The value has been updated according to alignment rules E042 A data set must be selected E043 Illegal start address
14. memory images in the Intel hex and Motorola S record file format Additionally for the 78KOR MF2 and V850E2 UX6LF FLASH Technology it can output the modified or newly created XML based raw data description file Especially if a data set is identified as invalidated it will be saved only to the XML file and it will be omitted in the output HEX or SREC file RO1UT0176EDOOOO Rev 1 00 AS 14 User Manual RENES Data FLASH Editor EEPROM emulation data of V850E ES MF2 UX4 Chapter 5 EEPROM emulation data of V850E ES MF2 UX4 In opposite to a classical EEPROM where the data is stored on a fixed address and so can always be found on the same location EEPROM emulation need to store data on changing locations From the different options to find the data during Read operations the Renesas EEPROM emulation uses the way to bundle a certain set of data with one ID that is then searched in memory on data Read Writing new data sets is easily done by appending the data to the data pool Furthermore the write granularity differs between real EEPROM and the Data FLASH used for EEPROM emulation While the EEPROM can usually be written in 8 bit or 16 bit units the Data FLASH must be written in 32 bit units 1Bit for the ID Tag see below Top ID L Data Bottom ID L ID Tag Figure 2 EEPROM Data set representation The approach of using Ds to identify a set of data is in line with AUTOSAR as well as the ID size of 16 bits and l
15. necessary for actual data localization after power on The data area contains the pure data belonging to the corresponding references in reference area wids byte 0 byte 1 byte 2 byte 3 swe 460 4 mon le 4 f OO 1 CS32 data 12 E N E O yu SA nr 16 17 18 19 20 ALIM IIT HiT 833338 247 249 e data jo T 17 so data data data 0xff data data xff 52 data xff xff xff S 3 FEES Figure 12 EEL block general structure User Manual Data FLASH Editor EEPROM emulation data of 78KOR MF2 7 2 1 EEL block header RWP prev CS RWP Se CS XEC XEC H M L data FIP flag The block header is a small area on the top of each flash block belonging to the EEL pool It contains all information necessary for block management during EEL operation The structure of the block header is the same in all blocks of the EEL pool Byte Block gt status flags CS EC EC H M L this Figure 13 EEL block header structure EEL block status header Each flag within the block header consists of one flash word 4 bytes There are two types of block status flags constructive status flag used in processes like activation and preparation destructive status flags used in processes like invalidation and exclusion When reading the
16. of a modified Data FLASH memory image by the Data FLASH Editor Especially for V850E2 UX6LF and 78KOR MF2 FLASH Technology based devices the invalidated data sets will be ignored in the saved file Exit Via the Exit menu the Data FLASH Editor can be closed In case the Data FLASH memory image was changed a file save dialog offers the possibility to save the last changes In addition the current Data FLASH Editor configuration is stored in the CurrentSettings xml configuration file The configuration file is located in the installation folder of the Data FLASH Editor By restarting the Data FLASH Editor the latest settings are restored Write permissions to the installation folder and to the CurrentSettings xml file are required to allow the storage of the current configuration settings by the Data FLASH Editor 01 0176 00000 Rev 1 00 sZ NE S AS 39 User Manual Data FLASH Editor Data FLASH Editor GUI 9 2 2 Settings menu Within the settings menu the corresponding Data FLASH settings can be displayed and modified Y Data FLASH Editor Tools view Help Figure 27 Settings menu Ju The Setup Data FLASH menu allows to setup the corresponding Data FLASH of the chosen device According to the FLASH Technology of the specified device V850E ES MF2 UX4 or V850E2 UX6LF 78KOR MF2 two different setup menus will be displayed RO1UT0176EDOOOO Rev 1 00 TENESAS 40 User Manual Data FLASH Editor Da
17. s 30 Chapter 9 Data FLASH Editor GUl 34 91 Toolbar 35 02 The A 35 9 2 1 FIS Mena ua aaa aa ibad al aa aaa 36 927 SENDOS MONU a da 40 027 10907 mu cano 43 9 2 4 View HE anla iii oda 44 5250 MHEC 1 1 nn sabun 45 9 3 Data FLASH vvindov 46 9 3 1 Add new EEPROM emulation data entry ss ssssssssessssssunsusussssenssss 48 9 3 2 Edit EEPROM emulation data entry sssssssssssssssssessssunsunusnnunuunas 51 RO1UT0176EDO000 Rev 1 00 RENESAS User Manual 9 3 3 Delete EEPROM emulation data entry s ssssssssssssessssssunsusussssenssss 54 9 4 Process window o PPP A 54 9 5 Status 03 y L TTErEETTTETTTTETTTTT TTT 55 Chapter 10 Error Messages ya ya l enen 56 R01UT0176ED0000 Rev 1 00 LENESAS User Manual Data FLASH Editor Chapter 1 Introduction Introduction The Data FLASH Editor is a wndows based tool that allows to visualize and modify the EEPROM emulation data of a Data FLASH memory image of a 78 or V850 based microcontroller The Data FLASH Editor does support memory images in the Intel hex or Motorola S record file format The
18. 7955 9510 Renesas Electronics Korea Co Ltd 11F Samik Lavied or Bldg 720 2 Yeoksam Dong Kangnam Ku Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 RO1UT0176EDOOOO Rev 1 00 AS User Manual RENES 2010 Renesas Electronics Corporation All rights reserved Colophon 1 0 59 Data FLASH Editor LENESAS Renesas Electronics Corporation 01 0176 0000
19. Changing the display format within the Settings menu after a Data FLASH memory was loaded has no influence and does not change the global format of the represented EEPROM emulation data entries You can change the display format of an individual EEPROM emulation data entry in the Edit menu by double clicking on it or using the Edit button within the Data FLASH window Figure 48 Status bar RO1UT0176EDOOOO Rev 1 00 TENESAS 55 User Manual Data FLASH Editor Error Messages Chapter 10 Error Messages Error messages will be output in the error dialog boxes of the Data FLASH Editor l E034 The Data FLASH file does not match to the specified EEPROM emulation areal Data FLASH file address range user data 012300000 0x12300FFF Specified EEPROM emulation area 0200400000 Ox00407FFF Figure 49 Error message dialog box The following table shows the error messages generated by the Data FLASH Editor Ha Message Description Could not read FLASH file sess not read FLASH filel Could not save XML filer E007 Could not save XML file The FLASH file contains unknown lines E013 The data record could not be found E014 Active FLASH sector error when searching sector 0 E015 Active FLASH sector error when searching sector 1 E016 The active FLASH sector could not be found E017 Error during memory copy E018 FLASH file does not include data for RecordiD lt id gt E019 The RecordiD sid
20. Computers office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life 9 You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges 10 Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain r
21. Data FLASH setup for V850E2 UX6LF and 78KOR MF2 For V850E2 UX6LF and 78KOR MF2 based devices the Data FLASH Settings menu allows to setup and modify the Administrative Section This Administrative Section represents the Data FLASH mapping and partitioning of a V850E2 UX6LF or 78KOR MF2 based device Additionally by using the Data FLASH Settings menu the Administrative Section of an XML raw data description file including Data FLASH management information can be easily created The tags of this section are predefined The input values must match to the selected device parameter file W Data FLASH Settings Administrative Section FAL_CONFIG_DATAFLASH_SIZE FAL_CONFIG_BLOCK_SIZE EEL_CONFIG_BLOCK_START EEL_CONFIG_BLOCK_CNT EEL_CONFIG_DF_BASE_ADDRESS EEL_CONFIG_BLOCK_CNT_REFRESH_THRESHOLD EEL_CONFIG_ERASE_SUSPEND_THRESHOLD Figure 30 Administrative Settings Tip After a Data FLASH memory image was loaded or edited the Data FLASH Start Address can be changed by the user by modifying the EEL CONFIG DF BASE ADDRESS entry This offers the possibility to generate and store the Data FLASH memory image for different memory locations In case of 78KOR MF2 the debugging address space or otherwise the FLASH programmer address space can be specified RO1UT0176EDOOOO Rev 1 00 TENESAS 42 User Manual Data FLASH Editor Data FLASH Editor GUI 9 2 3 Tools menu The Tools menu is enabled only for V850E ES MF2 UX4 FLASH Technol
22. H Editor Table 4 Main window composition 9 1 Toolbar The toolbar contains buttons to configure the Data FLASH Editor The following buttons and corresponding functions are offered by the Data FLASH Editor po Setup Data FLASH Display all EEPROM emulation data entries in 8 bit data format byte format 1 Display all emulation data entries in 16 bit data format half word format 2 2 Display all EEPROM emulation data entries in 32 bit data format word format Display all EEPROM emulation data entries in Decimal format H Display all EEPROM emulation data entries in Hexadecimal format Table 5 Toolbar Buttons 9 2 The Menu Analogue to the Toolbar the main menu of the Data FLASH Editor allows the configuration and execution of all Data FLASH Editor functions RO1UT0176EDOOOO Rev 1 00 TENESAS 35 User Manual Data FLASH Editor Data FLASH Editor GUI 9 2 1 File menu By using the File menu a Data FLASH memory image can be loaded stored or if necessary closed Additionally the memory mapping of the Data FLASH area can be controlled via the File menu Data FLASH Editor Open Device Parameter File Open XML File Open HEX SREC File New HEX SREC File Close HEX SREC File MIL File Save as Save as HES GREC File Exit Figure 23 File menu 1 2 Open Device Parameter File The Open Device Parameter File menu allows selecting and load
23. age file will be shown as validated data sets within the Data FLASH Editor window The remaining data sets will be shown as invalidated data sets within the editor window User Manual Data FLASH Editor Introduction 1 1 Abbreviations Embedded FLASH where mainly the data of the Data FLASH EEPROM emulation are stored Beside that also code operation might be possible In distinction to a real EEPROM the EEPROM emulation EEPROM uses some portion of the flash memory to emulate the emulation EEPROM behavior To gain a similar behavior some side parameters have to be taken in account FLASH EPROM Electrically erasable and FLASH programmable nonvolatile memory The difference to ROM is that this type of memory can be re programmed several times FLASH Block A FLASH block is the smallest erasable unit of the FLASH memory EEPROM Emulation Library FLASH Access Library FLASH access layer FLASH Data Library Data FLASH access layer FLASH Self programming Library accessing code FLASH Table 1 Abbreviations R01UTO176ED0000 Rev 1 00 sZ NE S AS 8 User Manual Data FLASH Editor 1 2 Introduction Features of Data FLASH Editor Common features and features for V850E ES MF2 UX4 NET Framework 2 0 based application User friendly and intuitive windows based graphical user interface Visualization of EEPROM emulation data of a Data FLASH memory image Modification of EEPROM emulation data entries ADD MODIFY or
24. al property rights of Renesas Electronics or others 3 You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part 4 Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information 5 When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations 6 Renesas Electronics has used reasonable care in preparing the information included in this document but Renesas Electronics does not warrant that
25. ate and malfunctions under certain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you 11 Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations 12 This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics 13 Please contact a Renesas Electronics sales office if you have any questions regarding the information con
26. ce 8112 bytes Figure 38 Example 1 Data FLASH window Add function 01 0176 0000 Rev 1 00 AS 49 User Manual RENES Data FLASH Editor Figure 39 Data FLASH Editor GUI To make the changing valid and finally add the new EEPROM data record to the active Data FLASH section please execute the Refresh function within the Tools menu Refresh data set Do you want to copy latest instance of data sets to a new active sector Example 1 refresh data set After the active Data FLASH section has been updated successfully the new EEPROM data record is displayed in blue colour W DF_image_16KB_3id rec DataFLASHEditor Sele File View Settings Tools Help 1 8 15 32 data format Oxdi43342210 OxOlz34567 8 x n lfif 00000022 x n nif 0200000000 0 22000000 Copy latest instance of data sets to new achive sector Refresh flash Empty space from DO 32 Empty space to 5 50 15216 Ready MOM 32 bit HEX Figure 40 Example 1 added new EEPROM data record RO1UT0176EDO000 Rev 1 00 EN ESAS 50 User Manual Data FLASH Editor Data FLASH Editor GUI 9 3 2 Edit EEPROM emulation data entry To edit an EEPROM data record please mark the corresponding entry in the Data FLASH window and press the Edit button Analogue to this you can double click on the corresponding EEPROM data record The following screen does ap
27. e 35 Data FLASH window RO1UT0176EDOOOO Rev 1 00 User Manual TENESAS 46 Data FLASH Editor Data FLASH Editor GUI The meaning of the different colours of the displayed EEPROM data records can be found in the following table Modified EEPROM data record RED Added new EEPROM data record GRAY Invalidated data record Table 7 EEPROM data record colouring BLUE Original unchanged EEPROM data record By using the Refresh function in the Tools menu all changes that have been done will be written to the active Data FLASH section After the active Data FLASH section has been updated successfully all EEPROM data records are displayed in blue colour The functionality of each corresponding Data FLASH window button is described in the following table Add new EEPROM emulation data entry Edit existing EEPROM emulation data entry Delete existing EEPROM emulation data entry Invalidate existing data record Recover or validate existing data record Table 8 Data FLASH window buttons User Manual Data FLASH Editor Data FLASH Editor GUI 9 3 1 Add new EEPROM emulation data entry To add a new EEPROM data record please press the Add button The following screen does appear Y Add new data set data edit 1 2 length 3 4 format Decimal G Hexadecimal 5 size Bit O 16 bit O 32 bit Figure 36 Add new data set menu The functionality of each Add menu item is de
28. e license agreement InstallShield Back Cancel Figure 16 License Agreement window The Destination Folder window appears You might exit the installation by clicking the Cancel button You can click the Change button to be able to change the installation destination path Press the Next button to proceed with the installation is DataFlashEditor InstallShield Wizard Destination Folder Click Mext to install to this folder or click Change to install to a different Install DataFlashEditor ko C Program Files Renesas Electronics Tools DataFlashEditor Change Installshield Back Cancel Figure 17 Choose Destination Folder window RO1UT0176EDO000 Rev 1 00 LENESAS User Manual 31 Data FLASH Editor Software Installation After everything has been setup for installation press the Install button to start the copy process and to finalize the installation 2 DataFLASHEditor InstallShield Wizard Ready to Install the Program The wizard is ready bo begin installation Click Install to begin the installation IF ou want to review or change any of your installation settings click Back Click Cancel to exit the wizard InstallShield Cancel Figure 18 Ready to install window On the installation progress window you can follow the installation You can always abort the installation by pressing the Cancel button i DataFLASHEditor InstallShield Wizard Instal
29. ength information of 16 bits Differing from Code FLASH with 32 bit width the currently implemented Renesas Data FLASH is 33 bit wide The 33 rd bit is called the ID Tag indicating that the word is information and not part of the data set itself The current implementation in the EEPROM emulation layer sets this on the bottom ID L while keeping it un set on the data bits and on the top ID L Dedicated hardware on the Data FLASH macro can search for a certain ID by using this ID Tag RO1UT0176EDOOOO Rev 1 00 AS 15 User Manual RENES Data FLASH Editor EEPROM emulation data of V850E ES MF2 UX4 5 1 Overview A EEPROM emulation Data FLASH section consists of 3 parts e Section Header Data Zone D Zone Top address Data Zone ID Zone Bottom address Figure 3 EEPROM Emulation Section Overview RO1UT0176EDOOOO Rev 1 00 RENESAS 16 User Manual Data FLASH Editor EEPROM emulation data of V850E ES MF2 UX4 5 2 Section Header Section header size is 16 Bytes 4 Words where currently 3 words are used to define the current section status Consumed marker Reserved Figure 4 Section Header Bottom address The erase counter word consists of the 16 bit counter and a 16 bit inverse value for protection It describes the number of erase cycles on the data section The active marker and or the consumed marker have the value 0x55555555 The value of a marker which is cleared is OXFFFFFFFF Blank Word
30. exact pattern 0x55555555 a constructive flag is TRUE When reading a pattern other than OxXFFFFFFFF a destructive flag is TRUE When setting constructive flag 0x55555555 is written into the flag word When setting destructive flag 00000000 15 written into the flag word flag 0x55555555 marks a prepared block that waits for data A flag 0x55555555 marks an active block that may contain data flag XFFFFFFFF marks an invalid block without valid data X flag 7 OXFFFFFFFF marks a block excluded from block management EEL block erase counter The block header word four contains the block erase counter lts consistency is protected by an 8 bit checksum which is used by the EEL internally only EEL previous reference write pointer Its points the last RWP position of the previous block within the EEL pool It is used by the EEL internally only RO1U10176EDO000 Rev 1 00 sZ NE S AS 28 User Manual Data FLASH Editor EEPROM emulation data of 78KOR MF2 EEL exclusion erase counter Stores the EC value at exclusion time It is used by the EEL internally only EEL Format In Progress FIP indicator FIP lt gt OxFFFFFFFF indicates an FORMAT command discontinued by RESET It marks the completely EEL pool as inconsistent and enforces the user to restart the FORMAT command 7 2 2 Reference area The reference area is located in each EEL block directly behind t
31. f Data FLASH Editor 9 1 3 Trademarks 10 Chapter 2 Documents References 11 Chapter 3 Input files formats sss ssss sssssssss 12 Chapter 4 Output file formats s sss ssss 14 Chapter5 EEPROM emulation data of V850E ES MF2 0X4 15 5 OVU RTE 16 5 2 Section Header 17 5 UZOhnh6 5 5 s bb 18 A 18 Chapter6 EEPROM emulation data of V850E2 UX6LF 19 6 1 Block structure Overvievv 20 07 Section Header r eee ee oe ba 21 0 3 loro1nc7 zon o 23 67 DATA ZONA RRPPP rPTI J EpRm Z 24 Chapter 7 EEPROM emulation data of 78KOR MF2 25 EELPDOOVS UC U DU D 25 Te ELD CKSULU U 27 7 2 1 PEL DOCK 122 O a a a yad aad azad add Damala TT E 28 7 2 2 Referent aad ua a dada 29 re Dala Al Aina 29 Chapter 8 Software Installation
32. f V850E ES MF2 UX4 ID zone The ID zone is a list of IDs of the data sets written to the section so far The ID list is dynamically generated during writing new data sets into the section An ID List is required in order to simplify and to speed up Refresh operations copying data sets from a full data section to a prepared one The solution to keep the ID list dynamically in the EEPROM Emulation FLASH space instead of keeping it statically in the Code FLASH area has been chosen in order to allow new added applications to store data sets with new IDs The ID zone grows by time in case of writing new data sets with new IDs Data zone The data zone contains the data sets New data sets are simply appended after the last written data set So the data zone grows down in the address space The section is full and a Refresh is required when there is no more enough erased space between D zone and data zone for the data set to be written 01 0176 0000 Rev 1 00 sZ NE S AS 18 User Manual Data FLASH Editor EEPROM emulation data of V850E2 UX6LF Chapter 6 EEPROM emulation data of V850E2 UX6LF User Manual Beside the same kind of user data management based on data sets DS indentified with certain 105 a new concept which called Ring buffer style FLASH block management is implemented in UX6FL EEL The FLASH blocks are used as a kind of ring buffer each block passing a complete of life cycle in each ring buffe
33. he block header It consists of so called reference entries that are used for instance identification localization and for safeguarding during the read write process When writing new data into the EEL a corresponding reference entry is stacked in the reference area The reference area is growing upstairs from lower widx to higher 7 2 0 Data area The data area consists of data records and is located on the bottom of each EEL pool block Each data record within the data area consists of pure data information without any data frame The data frame information exists completely in the corresponding reference entry in the reference area When writing new data into the EEL the data area is growing downstairs from higher widx to lower 01 0176 0000 Rev 1 00 sZ NE S AS 29 User Manual Data FLASH Editor Software Installation Chapter 8 Software Installation The Data FLASH Editor requires a Windows XP Windows Vista or Windows 7 operating system installed on your personal computer In additional the NET framework 2 0 must be installed on your personal computer to execute the Data FLASH Editor To start the installation please run the setup exe installation program During initialization phase of the setup program a progress bar is shown InstallShield Wizard Preparing to Install DataFLASHEditor Setup is preparing the InstallShield Wizard which will guide you through the program setup process Please wait
34. he regions are always in the same fixed chronological order prepared region is before active region active region is before invalid region invalid region is before prepared region erased invalid invalid active active active prepared prepared RVVPeDVVP RWP DWP invalid region active region prepared region Figure 11 EEL pool regions during normal operation Block organization scheme based illustrated above offers following advantages a two symmetrical sections where always 50 of data flash does not contain valid data are not needed anymore b the active region can grow and be adapted to the momentary need c the reference area is separated from the data inside the same EEL block d copy processes are mostly much faster because reduced to the only last active block has to be released from valid instances e exclude functionality does not reduce performance of the driver RO1UT0176EDOOOO Rev 1 00 TENESAS 26 User Manual Data FLASH Editor EEPROM emulation data of 78KOR MF2 7 2 EEL block structure Each EEL block belonging to the EEL pool is basically divided into three areas the block header reference area and the data area The block header contains information about the actual status of the block which is needed for the block management within the pool The reference area contains reference entities off all instances written into this block during its live cycle It is
35. ing an existing Device Parameter File which file name always includes the extension pro The Data FLASH Editor gets the device FLASH type e g V850E ES MF2 UX4 V850E2 UX6LF or 78KOR MF2 information from the device parameter file Additionally for a V850E2 UX6LF or 78KOR MF2 based device more Data FLASH information like the block number FLASH range start address will be read from the device parameter file By loading a new Device Parameter File the current configuration of the Data FLASH Editor is set to default Open XML File The Open XML File menu is only enabled for V850E2 UX6LF and 78KOR MF2 FLASH Technology based devices It allows selecting and loading an existing XML based raw data description by the Data FLASH Editor The XML file must fit to the selected Device Parameter File Otherwise the Data FLASH Editor generates a corresponding error message RO1U10176EDO000 Rev 1 00 sZ NE S AS 36 User Manual Data FLASH Editor 3 Figure 24 Note Note Data FLASH Editor GUI Open HEX SREC File The Open menu allows selecting and loading an existing Data FLASH memory image by the Data FLASH Editor After loading the Data FLASH memory image the corresponding Data FLASH entries are shown in the Data FLASH window Look in CO DataFLASHE ditor O mi Ee Hl Mame Type ae E EF image 168KE l hex HEX File My Recent DF image _16K6_04 hex HEX File Documents E DF_image_16KB_01 rec REC File izi DF image
36. ited 1101 Nicholson Road Newmarket Ontario L3Y 9C3 Canada Tel 1 905 898 5441 Fax 1 905 898 3220 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 585 100 Fax 44 1628 585 900 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 D sseldorf Germany Tel 49 211 65030 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd 7th Floor Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 P R China Tel 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 204 205 AZIA Center No 1233 Lujiazui Ring Rd Pudong District Shanghai 200120 China Tel 86 21 5877 1818 Fax 86 21 6887 7858 7898 Renesas Electronics Hong Kong Limited Unit 1601 1613 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2886 9318 Fax 852 2886 9022 9044 Renesas Electronics Taiwan Co Ltd 7F No 363 Fu Shing North Road Taipei Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Ltd 1 harbourFront Avenue 706 10 keppel Bay Tower Singapore 098632 Tel 65 6213 0200 Fax 65 6278 8001 Renesas Electronics Malaysia Sdn Bhd Error Messages http www renesas com Unit 906 Block B Menara Amcorp Amcorp Trade Centre No 18 Jin Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Tel 60 3 7955 9390 Fax 60 3
37. ling DataFLASHEditor The program features you selected are being installed Please wait while the InstallShield Wizard installs DataFLASHEditor This may take several minutes Status InstallShield Figure 19 Installation progress window RO1UT0176EDOOOO Rev 1 00 TENESAS 32 User Manual Data FLASH Editor Software Installation When the installation is complete the following message window appears im DataFLASHEditor InstallShield Wizard InstallShield Wizard Completed The InstallShield Wizard has successfully installed DataFLASHEditor Click Finish to exit the wizard Cancel Figure 20 Installation completion window The program has been installed successfully and an entry has been made into the program menu to start the Data FLASH Editor software The installation process is complete now and the setup utility has installed a new program folder which holds the Data FLASH Editor GUI Software and a Data FLASH Editor uninstall icon which allows you to remove the Data FLASH Editor software from your personal computer f C Documents and Settings All Users Start Menu Programs Renesas Electronics Tools DataFlashEdit xj File Edit View Favorites Tools Help O Bak E search gt Folders 15 y HEL ORs Address C Documents and Settings All Usersi5tart MenulPrograms Renesas Electronics Tools DataFlashEditor Ga a File and Folder Tasks Launch DataFlashEditor e
38. mulation Library 7 1 EEL pool structure The EEL pool is the virtual storage medium used by the EEL driver for storing data and block management information during its operation From logical point of view the EEL pool is organized as a single linked ring of blocks Single linked ring means here a the next block to block N is block N 1 b the next block to the last one is the first one Block header data used for block management First block Last block N 0 1 2 M PRA 5 VIA IN AM DAA JX UZ Red marked writing area for data and references Figure 10 Structure of an empty EEL pool no data inside Each block of the EEL pool contains a block header for storing block management information Because the block indexing within the EEL pool is based on the homogenous and fixed virtual block numbers 0x0000 EEL POOL SIZE 1 it is not necessary to store the neighbors inside the block header All flash blocks of the EEL pool are grouped in three consecutive regions indicated by the block status in the block header active region consists of blocks containing active data invalid region consists of blocks without active data prepared region consists only of blocks ready to receive new data RO1UT0176EDOOOO Rev 1 00 TENESAS 25 User Manual Data FLASH Editor EEPROM emulation data of 78KOR MF2 When contemplate EEL pool blocks clockwise t
39. ndows and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries PC AT is a trademark of International Business Machines Corporation All other company product or service names mentioned in this documentation may be trademarks or service marks of their respective owners 01 0176 0000 Rev 1 00 sZ NE S AS 10 User Manual Data FLASH Editor Documents References Chapter 2 Documents References For more details on the EEPROM emulation concept of the V850 and 78KOR microcontroller families and the corresponding tools please refer also to the documents below Doc Type 32 bit Single Chip Microcontrollers V850 Note U18005EE1V2AN00 EEPROM Emulation Library 32 Bit Single Chip Microcontroller V850 U18042EE1V2ANO0 Library for the Data Flash Access Layer 2 Data FLASH Converter Conversion tool for Users Manual U19003EE2V0UMOO data flash memory image generation V850 Single Voltage Flash devices with U20280EE1V0UMO0 Data Flash and based on UX6LF Flash technology EEPROM Emulation Library 16 Bit Single chip Microcomputer RO1ANOOO6EDO102 78KOR Fx3 Series EEPROM Emulation Library Users Manual Application Note Table 2 Documents References RO1UT0176EDOOOO Rev 1 00 AS 11 User Manual RENES Data FLASH Editor Input files formats Chapter 3 Input files formats A standard device parameter file file name extension
40. o zero identifies that the DS is invalidated End of DRP 1 bit Tag Itis written immediately after the DRP When written the read margin of the DRP word is ensured by the write sequence Data Check Sum This is a simple 32bit checksum calculated over the user data and DRP It ensures higher robustness detection on accidental overwriting of data or DRP The DRP widx is excluded from the checksum Additionally by the write sequence it is ensured that the read margin of the data is given when the DCS is available Blank Data n 7 Bytes Data n 1 14 Bytes JE Data n 2 8 Bytes Data n 3 1 Byte Figure 9 DS Data and management information in FLASH RO1UT0176EDO000 Rev 1 00 User Manual CENESAS 23 Data FLASH Editor EEPROM emulation data of V850E2 UX6LF 6 4 Data zone The data zone contains the pure user data sets New data sets are simply appended after the last written data set So the data zone grows up in the address space The block is full when there is no more enough space between REF zone and data zone for the data set to be written 01 0176 0000 Rev 1 00 TENESAS 24 User Manual Data FLASH Editor EEPROM emulation data of 78KOR MF2 Chapter 7 EEPROM emulation data of 78KOR MF2 This chapter describes briefly the internal architecture of the EEL T03 EEPROM Emulation Library For more details please refer to the corresponding application note of the EEL TO3 EEPROM E
41. ogy based devices It controls the refreshing of the active Data FLASH section In case EEPROM emulation data entries have been modified remove or added the Refresh function updates the active Data FLASH section and makes the changes valid W Data FLASH Editor File Settings Help Figure 31 Tools menu RO1UT0176EDOOOO Rev 1 00 TENESAS 43 User Manual Data FLASH Editor Data FLASH Editor GUI 9 2 4 View menu By using the View menu the configuration of the Data FLASH Editor can be changed The following functions are offered by the View menu Y Data FLASH Editor File Settings M H JA p 118 32 Hl Toolbar 1 Statusbar 2 Byte 3 Half word 4 Word 5 Decimal 6 Hexadecimal T Figure 32 View menu The functionality of each View menu items is described in the following table 1 Toolbar Enables Disables Toolbar 2 Status bar Enables Disables Status bar 3 Byte Display all EEPROM emulation data entries in 8 bit data format byte format 4 Half word Display all EEPROM emulation data entries in 16 bit data format half word format 5 Word Display all EEPROM emulation data entries in 32 bit data format word format l Display all EEPROM emulation data entries in Decimal format 7 Hexadecimal Display all EEPROM emulation data entries in Hexadecimal format Table 6 View menu RO1UT0176EDOOOO Rev 1 00 TENESAS 44 User Manual Data FLASH Editor Data
42. pear Y Edit data set data edit 1 2 4 Decimal Hexadecimal 5 O Sbit 16 bit 5 32 bit Figure 41 Edit data set menu The Edit menu does only support the modification of the data record the format and the size The ID and Length of the corresponding data record can not be changed The functionality of each Edit menu item is described in the following table 1 ID Current identifier of the data record ID tag Can not be modified Current length of the data record 2 L h s Can not be modified Specifies the data record any hexadecimal or 3 Data decimal value The data record must fit to the specified Length and format 4 Format Specifies the input and display format of the data record Specifies the display size of the data record the following sizes are supported 5 Size 8 bit data format byte format 16 bit data format half word format 32 bit data format word format Table 10 Edit data set items RO1UT0176EDOOOO Rev 1 00 AS 51 User Manual RENES Data FLASH Editor Data FLASH Editor GUI After an EEPROM emulation data entry has been modified please press the lt OK gt button Y Edit data set data edit ID length data 0 44332211 format Decimal Hexadecimal size 8 16 bit 5 32 bit Figure 42 Example 2 edit data set The modified EEPROM data record is now visible highlighted in green colour in the Data FLASH
43. r rotation Block Lifecycle Physical Flash 7 1 NN last physical Prepared block erasing gt Active 1 EEL pool N gt Invalid 1 st N physical block Excluded Excluded Figure 5 Block Lifecycle amp Physical FLASH R01UT0176ED0000 Rev 1 00 LEN ESAS 19 Data FLASH Editor EEPROM emulation data of V850E2 UX6LF 6 1 Block structure overview An EEPROM emulation Data FLASH block contains 3 areas e Section Header e Data Zone e Reference Zone Block bottom address Growing Data Zone Growing Block top address Figure 6 Basic Block structure R01UT0176ED0000 Rev 1 00 ENES NS 20 User Manual Data FLASH Editor EEPROM emulation data of V850E2 UX6LF 6 2 Section Header The block header size is 32 Bytes 8 Words It contains the block status words wdx byte 3 byte 2 byte 1 byte 0 U invalid exclude flag 0 1 invalid exclude flag 1 2 prepare flag 3 active flag 0 4 active flag 1 5 erase counter bit CS protected 6 reference write pointer 8 bit CS protected f read data pointer 8 bit CS protected Figure 7 Section Header The references write pointer RWP points to the previous block separator between REF zone and Data zone By that the EEL knows for each occupied block the last REF zone entry The RWP stability is ensured by the A 1 word written afterwards in the activation process If the A 1 word is valid the RWP is electrically stable
44. scribed in the following table 1 ID Identifier of the data record ID tag Only decimal values are supported Length definition of the data record The minimum data 2 Length length is equal to four bytes The length can be specified in 4 Byte n steps Only decimal values are supported Specifies the data record any hexadecimal or decimal 3 Data value The data record must fit to the specified Length and format 4 Format Specifies the input and display format of the data record Specifies the display size of the data record the following sizes are supported 5 Size 8 bit data format byte format 16 bit data format half word format 32 bit data format word format Table 9 Add new data set items RO1UT0176EDOOOO Rev 1 00 TENESAS 48 User Manual Data FLASH Editor Data FLASH Editor GUI After a new EEPROM emulation data record has been entered please press the OK button Y Add new data set data edit ID Oxbabababa 82 000000 format Decimal Hexadecimal size B bit 16 bit 5 32 bit Figure 37 Example 1 add new data set The new EEPROM data record is now visible highlighted in red colour in the Data FLASH window Y DF image 16KB 3id rec DataFLASHEditor File View Settings Tools data format 0 44332210 h OxOl234567 Ox89abcdef 0 00000122 0 00000022 0 00000022 OxOOOOOOOO OxSaSaSaSa OxfcO00000 Empty space to Ox3f78 16248 Empty spa
45. se mark the corresponding entry in the Data FLASH window and press the Delete button Li DF image 16KB 3id rec DataFLASHEditor File Settings Tools Help 8 8 16 32 length data format 4 0 44332211 8 0 01234567 Ox89abcdef 16 OxOOOOOlff 0 00000022 0 00000022 0 00000000 8 OxSaSaSaSa 0 2 00000 Delete data set Delete ID 0015 Refresh flash Empty space from 0x20 32 Empty space to Ox3f58 16216 ae eee 8092 NUM 32 bit HEX Delete data set To delete the selected EEPROM data record please press the lt OK gt button To remove the selected EEPROM data record finally from the active Data FLASH selection please execute the Refresh function in the Tools menu Process window The process window shows the executed tool commands and process information Additionally it stores the command history You can use the scroll bar to navigate through the command history Refresh flash Empty space from 0220 32 Empty space to Ukafho 16216 Empty space 8092 bytes Delete dataset Figure 47 Process window RO1UT0176EDO000 Rev 1 00 EN ESAS 94 User Manual Data FLASH Editor Data FLASH Editor GUI 9 5 Status bar The status bar shows the actual status and configuration of the Data FLASH Editor Ready NUM 32 bit HEX Data type Data format Only by loading a new Data FLASH memory image the selected data format will be taken under consideration
46. such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein 7 Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics RO1U10176EDOOOO Rev 1 00 AS User Manual RENES 8 The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standara
47. ta FLASH Editor GUI Data FLASH setup for V850E ES MF2 UX4 For V850E ES MF2 UX4 based devices the Setup Data FLASH menu allows to setup the start address and the size of the Data FLASH area By selecting this menu item the following dialog window appears and offers the possibility to specify the Data FLASH mapping W Data FLASH Settings EEPROM Emulation rea Start Address 0200400000 Size 4 EB Figure 26 Setup Data FLASH start address VVithin the Data FLASH Settings dialog the start address of the Data FLASH area must be specified Only hexadecimal input values are permissible The entered start address should be equal to the physical start address of the Data FLASH area of the corresponding V850E ES MF2 UX4 device The size of the Data FLASH can be specified by the pull dovvn menu Supported sizes are 4 KByte 8 KByte 16 KByte and 32 KByte W Data FLASH Settings EEPROM Emulation rea Start Address 0200400000 SIZE Cancel Figure 29 Setup Data FLASH size Tip After a Data FLASH memory image was loaded or edited the Data FLASH Start Address can be modified by the user This offers the possibility to generate and store the Data FLASH memory image for different memory locations In case of V850E ES MF2 UX4 the debugging address space or otherwise the FLASH programmer address space can be specified R01UT0176ED0000 Rev 1 00 TENESAS 41 User Manual Data FLASH Editor Data FLASH Editor GUI
48. tained in this document or Renesas Electronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics RO1U10176EDOOOO Rev 1 00 AS User Manual RENES Regional Information Some information contained in this document may vary from country to country Before using any Renesas Electronics product in your application please contact the Renesas Electronics office in your country to obtain a list of authorized representatives and distributors They will verify Device availability Ordering information Product release schedule Availability of related technical literature Development environment specifications for example specifications for third party tools and components host computers power plugs AC supply voltages and so forth Network requirements In addition trademarks registered trademarks export restrictions and other legal issues may also vary from country to country Visit http www renesas com to get in contact with your regional representatives and distributors 01 0176 0000 Rev 1 00 LENESAS User Manual Table of Contents Chapter INUOGUCION zsssus sateno na a l m aiaa 7 1 1 l FE VIGUIONN a a 8 1 2 Features o
49. window Y DF image 16KB 3id rec DataFLASHEditor File View Settings Tools data 0 44332211 0 01234567 OxS89 abcdef OxSaSaSaSa 0 2 00000 0 00000122 0 00000022 0 00000022 0 00000000 IB 8 length 4 data 0x44332211 format Empty space 8076 bytes Figure 43 Example 2 Data FLASH window Edit function RO1UT0176EDOOOO Rev 1 00 AS User Manual RENES 52 Data FLASH Editor Data FLASH Editor GUI To make the changing valid and finally add the new EEPROM data record to the active Data FLASH section please execute the Refresh function in the Tools menu Refresh data set Do you want to copy latest instance of data sets to a new active sector Figure 44 Example 2 refresh data set After the active Data FLASH section has been updated successfully the new EEPROM data record is displayed in blue colour Y DF image 16KB 3id rec DataFLASHEditor File View Settings Tools Help data format xd4332211 h 0 01234567 Ox89abcdef 0 00000122 OxOOOOOOff OxOOOOOOff OxOOOOOOOO x5a5a5a5a Oxfec 0000 Copy latest instance of data sets to new active sector Refresh flash Empty space from 0x20 32 Empty space to Ox3f58 16216 Figure 45 Example 2 modified EEPROM data record RO1UT0176EDOOOO Rev 1 00 TENESAS 53 User Manual Data FLASH Editor Data FLASH Editor GUI 9 3 3 Delete EEPROM emulation data entry Figure 46 9 4 To delete an EEPROM data record plea
50. xe Shortcut Lu E Other Places l Uninstall DataFlashEditor PA Shortcut A Z KE Details A El Figure 21 Program folder after installation RO1UTO176EDO000 Rev 1 00 LEN ESAS 33 User Manual Data FLASH Editor Data FLASH Editor GUI Chapter 9 Data FLASH Editor GUI The graphical user interface of the Data FLASH Editor allows an easy and an intuitive visualization and modification of the EEPROM emulation data of a loaded Data FLASH memory image When starting the Data FLASH Editor GUI a screen similar to the following one will appear Some commands and functions may be unavailable when the GUI is started for the first time depending on Data FLASH area definition or the loaded Data FLASH memory image lt 2 gt Tool bar lt 3 gt Data FLASH window W Data FLASH Editor lejano Format Data FLASH Editor Version 3 00 NUM amp bit HES Figure 22 Data FLASH Editor main window RO1UT0O176ED0000 Rev 1 00 TENESAS 34 User Manual Data FLASH Editor Data FLASH Editor GUI The main window consists of the following areas Displayed items Menu bar 7 items executable by the Data FLASH lt 2 gt Toolbar Frequently used commands Shows the EEPROM emulation data of an Data FLASH window loaded Data FLASH memory image allows editing of EEPROM emulation data Process window Shows tool command and process information Show current status and configuration of the See adla Data FLAS
Download Pdf Manuals
Related Search
Related Contents
Erste Schritte mit Dreamweaver DrumTracker II Web User Interface User`s Manual Milwaukee 6021-21 Use and Care Manual Mitsubishi Electronics M342i User's Manual 0GU4033 - TL930 DD(LQ) Lloyd Lav.indd Manuel d´installation Product Specification Copyright © All rights reserved.
Failed to retrieve file