Home

MN706-00044-1v0-E

image

Contents

1. Details of Connections between FM3 Simulator s I O ports and External Device models are shown at Table 2 3 July 18 2014 FM3 MN706 00044 1v0 E 21 7 SPANSION USER MANUAL a Table 2 3 Connections between UO Ports and External Devices Included Function 10 Port External Device Model Power VCC XO XOA Reset INITX S INTOO INTO7 Tactile Switch External interrput NMI control INTO8 INT15 NMIX P00 P07 DIP Switch P00 POF P10 P1F Tactile Switch P20 P2F P30 P3F z P40 P4F P50 P5F P60 P6F P70 P7F P80 P8F P90 P9F PA0 PAF PB0 PBF PC0 PCF PDO PDF PEO PEF PFO PFF External bus interface EXT_master ADTGO ADTG2 ANOO Analog Input ANO1 AN15 AVCC AVRH AVSS i TIOAO TIOA7 S TIOBO TIOB7 a SINO termif server SOUTO termif server SIN1 SIN7 SOUT1 SOUT7 FRCKO FRCK2 IC00 IC03 IC10 1C13 Multifunction Timer IC20 1C23 RTO00 RTO05 RTO10 RTO15 RTO20 RTO25 Clock A D converter Base Timer Multifunction Serial Please refer to CHAPTER3 External Device about External Device Model 22 FM3 MN706 00044 1v0 E July 18 2014 USER MANUAL SPANSION WW 7 Debug Interface FM3 Simulator includes Debug interface to connect to software debugger which supports gdb port Software debugger supporting gdb base connection can connect to FM3 Simulato
2. P90 P9F Signal PAO PAF Signal PBO PBF Signal PCO PCF Signal PDO PDF Signal PEO PEF Signal PFO PFF Signal External bus interface EXT master Transaction A D converter ADTGO ADTG2 Signal ANOO Signal ANO1 AN15 Signal AVCC Signal AVRH Signal AVSS Signal Base Timer TIOAO TIOA7 Signal TIOBO TIOB7 Signal Multifunction Timer FRCKO FRCK2 Signal IC00 IC03 Signal IC10 IC13 Signal IC20 1C23 Signal RTOOO RTOOS Signal RTO10 RTO15 Signal RTO20 RTO25 Signal 50 FM3 MN706 00044 1v0 E July 18 2014 USER MANUAL 4 Trace Result Visualization 7 SPANSION WW Trace result is output to trace file under VCD format The user can visualize trace result by using a waveform view supporting VCD format file Wave form viewer Tool GTKWave Source http gtkwave sourceforge net The wave form viewer can conduct VCD format file The viewer is free of charge Example view of trace result at GTKWave is shown at Figure 5 1 Figure 5 1 Example view of trace result at GTKWave File Edit Search Time Markers View Help AAAA Kaell amp amp Fomos Marker 0 sec Cursor 9200 us oo gt Sst Signals Tine ADC gn ANDO out BTIMER SC ee POI out PLACout Dien PIC out PIDCout PIE out 3 PIFCou
3. PERFORM The following document contains information on Cypress products Although the document is marked with the name Spansion the company that originally developed the specification Cypress will continue to offer these products to new and existing customers Continuity of Specifications There is no change to this document as a result of offering the device as a Cypress product Any changes that have been made are the result of normal document improvements and are noted in the document history page where supported Future revisions will occur when appropriate and changes will be noted in a document history page Continuity of Ordering Part Numbers Cypress continues to support existing part numbers To order these products please use only the Ordering Part Numbers listed in this document For More Information Please contact your local sales office for additional information about Cypress products and solutions About Cypress Cypress NASDAQ CY delivers high performance high quality solutions at the heart of today s most advanced embedded systems from automotive industrial and networking platforms to highly interactive consumer and mobile devices With a broad differentiated product portfolio that includes NOR flash memories F RAM and SRAM Traveo microcontrollers the industry s only PSoC programmable system on chip solutions analog and PMIC Power Management ICs CapSense capacitive touch sensing controllers
4. CHAPTER5 Simulation Data Analyzing July 18 2014 FM3_MN706 00044 1v0 E 43 SPANSION WW USER MANUAL 5 How to Run Simulation To run the simulation execute the batch file VirtualStarterKit bat If the simulation runs properly the simulator will wait to connect a Terminal Program as shown in Figure 4 1 Connect a Terminal Program to the Terminal Connection Device of the simulator Refer to sub section 3 4 for the Terminal Connection setting Figure 4 1 Simulator running window C Windows system32 cmd exe 3 2014 15 05 11 all Contributors HIGH_CR_PERIOD LOW CR PERIOD le 007 HI CLK PERIOD 6944 4 INFO Ltermif Server JPSYNPCF562146B wait ing on port 1204 44 FM3 MN706 00044 1v0 E July 18 2014 USER MANUAL SPANSION WW 6 How to Stop Simulation To stop the simulation click an x button on the Simulator running window If the Debugger connects to simulator please disconnect it before stop simulation Figure 4 2 Stop Simulation pa EN C Windows system32 cmd exe 2014 15 05 11 all Contributors To stop the simulation click an x button on the Simulator running window HIGH CR PERIOD LOW CR PERIOD i K JPSYNPCF562146B waiting on port 1204 July 18 2014 FM3 MN706 00044 1v0 E 45 SPANSION USER MANUAL a 46 FM3_MN706 00044 1v0 E July 18 2014 Lem SPANSION CHAPTER5 Simulation Data Analy
5. is shown in Figure 1 1 and explanation of each system element is shown in Table 1 1 Virtual Starter Kit includes FM3 simulator and external device models Virtual Starter Kit can connect with IDE Software Debugger Figure 1 1 Virtual Starter Kit system structure FM3 Simulator External Micom Device Model I O IDE Software Debugger Virtual Starter Kit Table 1 1 Virtual Starter Kit composition element Composition element Explanation This package Included FM3 Simulator External Device Model Virtual Starter Kit Included FM3 microcontroller model which simulated Cortex M3 CPU function and FM3 microcontroller hardware function 1 FM3 Simulator External Device Model External device model which connect to FM3 Simulator peripheral function IDE Software Debugger Software debugger which connect to Virtual Starter Kit when run FM3 simulator 1 FM3 Microcontroller product series which FM3 Simulator supported is different on each package July 18 2014 FM3 MN706 00044 1v0 E 11 7 SPANSION USER MANUAL 3 Included Files Virtual Starter Kit file structure is as follows Spansion VSK MB9B510R LIMITATION txt RELEASENOTE txt LICENSE LicenseAgreement rtf L pgpensource BSD license txt LGPL license txt QEMU license txt SystemC Open Source License pdf Manual Folder of Manuals MN706 00044 1v0 E pdf MN706 00045 1v0 E pdf VirtualStarterKit Fo
6. switch is ON input value to FM3 Simulator is 1 when switch is OFF input value to FM3 Simulator is 0 28 FM3 MN706 00044 1v0 E July 18 2014 a gt lt SPANSION USER MANUAL WW 4 Terminal Connection Device Terminal connection device is device model which is used to connect FM3 Simulator with a terminal emulator Terminal connection device specification is shown below Port type Transaction type Data type 8bit digital value Direction 1 Input Output Channel number 1 Connectable port 2 Multifunction serial UART serial input SINx Multifunction serial UART serial output SOTx 1 Direction Input Output is seen from FM3 Simulator 2 Connected to serial input SINO and serial output SOTO at Multifunction serial UART in this package Figure 3 4 Terminal connection device connection figure FM3 Simulator Pie Terminal SOUT Transmission data Connection device Serial Port SIN Transmission data Terminal Connection device Terminal Program Function Terminal connection device sends data which is received from UART to terminal emulator Terminal connection devices send data which is received from terminal emulator to UART byte by byte Terminal program behavior Linefeed code handling Data transmit unit depends on the Terminal program configuration Note 1 Configuration example when using Tera Term Version 4 73 Tera Term GUI Terminal setup New line Receive LF Transm
7. 0 Published Spansion Inc Edited Communications Dept July 18 2014 FM3 MN706 00044 1v0 E 55 fe SPANSION USER MANUAL a Colophon The products described in this document are designed developed and manufactured as contemplated for general use including without limitation ordinary industrial use general office use personal use and household use but are not designed developed and manufactured as contemplated 1 for any use that includes fatal risks or dangers that unless extremely high safety is secured could have a serious effect to the public and could lead directly to death personal injury severe physical damage or other loss i e nuclear reaction control in nuclear facility aircraft flight control air traffic control mass transport control medical life support system missile launch control in weapon system or 2 for any use where chance of failure is intolerable e submersible repeater and artificial satellite Please note that Spansion will not be liable to you and or any third party for any claims or damages arising in connection with above mentioned uses of the products Any semiconductor devices have an inherent chance of failure You must protect against injury damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy fire protection and prevention of over current levels and other abnormal operating conditions If any products de
8. F The switch status is kept until the switch lever moves up or down again When switch is ON input value to FM3 Simulator is 1 when switch is OFF input value to FM3 Simulator is 0 July 18 2014 FM3 MN706 00044 1v0 E 27 7 SPANSION ke USER MANUAL 3 Tactile Switch Device Tactile switch device is a GUI program which is used to input digital value The GUI includes 8 switches each switch is used to input digital value for 1 bit Tactile switch device specification is shown below Port type Signal type Data type 1bit digital value Direction 1 Input Channel number 8 Connectable port 2 General UO port input Pxx Timer trigger input TIOAx TIOBx Input capture input ICx External interrupt input INTxx External reset input INITX Non maskable interrupt NMIX A D converter trigger input ADTGx 1 Direction Input Output is seen from FM3 Simulator 2 Connected to External interrupt input INTOO INTO7 in this package Tactile switch device GUI window is shown at Figure 3 3 and composition element explanation is shown at Table 3 3 Figure 3 3 Tactile switch device GUI window gt Tactile switch bit bith bith bitt bits bit2 biti but ogar Table 3 3 Tactile switch device composition element Composition Explanation element Button 1bit digital value input lever Default is OFF Function Move up the switch lever to switch ON Move down the switch lever to switch OFF When
9. L CLK PERIOD Value PIIClockPeriod Type double Default value 6944 4 ps Correspond to 144MHz Remarks Please configure the value as ps scale Example PLL_CLK_PERIOD 6944 4 WW July 18 2014 FM3 MN706 00044 1v0 E 33 7 SPANSION USER MANUAL a 3 Configurations of Device Function 3 1 Configurations of Analog Input Function Analog input function is configured by using analog input configuration file analog_input ini Configurations are shown at Table 4 3 Table 4 3 Analog input function option Option Entry name Explanation Period of synchronization between Period of synchronization SYNC_PERIOD FM3 Simulator and Analog input device Unit of synchronization period Unit of synchronization period TIME_UNIT between FM3 Simulator and Analog input device Period of synchronization Configuration of synchronization period between FM3 Simulator and Analog input device is shown below Syntax GENERAL SYNC_PERIOD Value Section GENERAL EntryName SYNC_PERIOD Value Value Type unsigned int Default value 1ms Remarks If the period value which is smaller than configured CPU clock period there is a possiblity that FM3 simulator can drop any analog input data Therefore please configure the period value bigger than CPU clock Please refer TIME_UNIT about the unit Example SYNC_PERIOD 1 Unit of synchronization period Configuration of synchronization period u
10. MANUAL Analog Macro Part MCU SIMULATOR VERSION Called Analog Macro Part MCU SIMULATOR VERSION hereafter E FM3 Family PERIPHERAL MANUAL Communication Macro Part MCU SIMULATOR VERSION Called Communication Macro Part MCU SIMULATOR VERSION hereafter Data sheet Please refer to following document about details of device specification electrical characteristics external dimensions and order type E Microcontroller 32bit original FM3 family DATA SHEET Note There are data sheet on each series Please refer to the data sheet of the product series you use 4 FM3 MN706 00044 1v0 E July 18 2014 a gt lt SPANSION USER MANUAL w Table of Contents CHAPTER f Virtual Starter RE etetedeieh eeneg sage sve buksen reddes deig adsense arkade ad 9 e EE 10 ER le 11 3 Included Files CHAPTER2 Simulator Function Gpechflcaiton 13 UE EE 14 2 Simulator BeNAVi EE 16 en GENEE 19 4 Memory M Pessinetto aa oaii o aE iE iiia 20 5 Penpherals ennn EEN 21 6 External Device Modelirne ernie anaoa aaier aaa AEAEE 21 7 Debug Interface EE 23 8 Trace FUNGUO Misiin natsaa iinvite sine peed Gece AE ned EEEN AEAEE 24 Bei W O Trace elle EE 24 CHAPTERS External Device 25 1 Analog le dee 26 2 DIP SWwit h Device Linser migration t rene bag ig reir Date 27 3 Tactile Switch Device eee eee ceeeeeenee cence tenes eeaeeeeaeeeeaeeeeaeeseaeeseaeeseaeeeeaeeeeaeeseaeeeseeseeeeeieeeneeeeeaes 28 4 Terminal Connection Device AAA 29 5 Simulatio
11. NE 48 2 Trace TYPO EEE EE cdl 49 El NEE 50 4 Trace Result Visualization cic ccsesencedebencndedeeedences dni bre aan anden inten saieedapaescresssaactdcsacheenessateadasgensen 51 MAJOR CHANGES rier bebe senda delle G kid etab 52 July 18 2014 FM3 MN706 00044 1v0 E 7 ae ae USER MANUAL Figures Figure 1 1 Virtual Starter Kit system structure eeseeeseeseeeereeereeitetretttttttttttttnsttnstnntinattnstnnetnntenntnnnenne 11 Figure 2 1 FM3 Simulator phase and Status mervrnnnnrnnnvrnnnnrnnvrnnnnrnnvrnnnnnnnrvrnnnnnernrnnnnnnernrnsnnnnernrnsnnnnennn 16 Figure 2 2 Run phase time chat 17 Figure 2 3 FM3 Simulator Memory Map 20 Figure 2 4 ul ee TT 24 Figure 3 1 Analog input device GUia eile ee Riis 26 Figure 3 2 DIP switch GUI window rasvvrenvrrenvvnenvrrrnvenervrnnnnvnnrvrnnnnrnssvrnsnnrnesvrnsnnnnesvrnsnvenernrnssnrnssvrnsennnennn 27 Figure 3 3 Tactile switch device GUI window rrrvrnnnnrnnnvrnnnnrnnnvrnnnnrnnnvrnnnnrnennrnnnnnnernrnsnnnnesnrnsnnnnssnrnssnnnennn 28 Figure 3 4 Terminal connection device connection Toure 29 Figure 3 5 Simulation run steps flow chat 30 Figure 4 1 Simulator running Window erenvrnenvvnenvrnnnvenenvrnnnnvnrnvrnnnnrnenvrnnnnenenvrnsnvnnesnrnsnvnnesvrnsnnnnesvrnssnnnennn 44 Figure 4 2 Stop EE 45 Figure 5 1 Example view of trace result at OTkKWave 51 6 FM3 MN706 00044 1v0 E July 18 2014 a gt lt USER MANUAL DE Tables Table 1 1 Virtual Starter Kit composi
12. QPRC Reserved 0x2001 8000 0x4002 5000 Base Timer 0x2000 0000 SRAM1 0x4002 4000 PPG Ox1FFE 8000 SRAMO 0x4002 3000 Reserved 0x4002 2000 MFTunito 0x4002 1000 MFT unito Flash Work area 0x4002_0000 MFT unito Reserved Security CR Trim 0x4001 6000 0x4001 5000 Dual Timer Reserved Reserved Reserved 0x4001 3000 0x4001 2000 SW WDT 0x4001 1000 HW WDT 0x0000 0000 0x4001 0000 Clock Reset Flash Main Reserved 0x4000_1000 0x4000_0000 Flash I F Main FM3 Simulator has 4GB addressing memory area the same as actual machine Maximum to 1 MB Flash Memory maximum to 512 KB SRAM1 area maximum to 512 KB SRAMO area 20 FM3 MN706 00044 1v0 E July 18 2014 7 USER MANUAL SPANSION WW FM3 Simulator has maximum memory size regardless of lineup products 2 GB of 0x60000000 0xDFFFFFFF area as External bus area you can connect External memory device to this memory area Note Not available on Virtual Starter Kit version of 2014 March Some of peripherals are not supported depending on product line up We replace not supported peripheral area with RAM on FM3 Simulator 5 Peripheral Please refer to FM3 Family PERIPHERAL MANUAL MCU SIMULATOR VERSION about each peripheral details 6 External Device Model Explain about External Device Model FM3 Simulator can connect to External device model of respective external device
13. WORK EntryName PORT Value PortNumber Type int Default value 1204 Remarks This configuration used for port connection with Terminal bridge Example PORT 1204 Connection configuration Configuration of connection Disable Enable for Terminal connection device is shown below Syntax NETWORK CONNECT Connect Section NETWORK EntryName CONNECT Value Connect Type int Default value 0 0 Disable Terminal program unconnected 1 Enable Terminal program connected Remarks This configuration used for port connection with Terminal bridge Terminal connection bridge program is to be booted before boot the simulator when this configuration configure to 1 Please configure 0 to this configuration when Terminal program does not connect Example Connect 1 July 18 2014 FM3_MN706 00044 1v0 E 41 7 SPANSION WW USER MANUAL 4 Configurations of Trace Function 4 1 Configurations of Trace Function Trace function is configured by using Trace configuration file svcd ini Configurations are shown at Table 4 7 Table 4 7 Trace function configurations Option Entry name Explanation Trace file name VCD_FILE Configuration of Trace file name vcd including file path Simulation unit time TIME_UNIT Trace file name Configuration of simulation minimum unit time Configuration of Trace file name vcd possible to add the file path is shown below Synt
14. and Wireless BLE Bluetooth Low Energy and USB connectivity solutions Cypress is committed to providing its customers worldwide with consistent innovation best in class support and exceptional system value r M gt 32 BIT MICROCONTROLLER Va FM3 Family SPANSION Virtual Starter Kit WW USER MANUAL For the information for microcontroller supports see the following web site http www spansion com support microcontrollers Publication Number FM3_MN706 00044 Revision 1 0 Issue Date July 18 2014 SPANSION USER MANUAL a 2 FM3_MN706 00044 1v0 E July 18 2014 USER MANUAL Va SPANSION WW Preface Thank you for your continued use of Spansion products Please read this document this product series Data Sheet and FM3 family Peripheral manual before using Virtual Starter Kit VSK package This document purpose and target reader The document explains about VSK package function behavior and how to use for engineers who develop products using this package Note This manual only explains about package simulator function and behavior This manual does not include the explanation about product series function and specification You could refer to this product series Data Sheet or FM3 family Peripheral manual for series function and specification details Trademark ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries Microsoft Windows are registered trade
15. ax GENERAL VCD_FILE file Section GENERAL EntryName VCD_FILE Value file Type String Default value Ysvcd vcd Remarks IF VCD FILE setting is default value the svcd vcd is created in the VirtualStarterKit folder Example VCD_FILE svcd vcd Simulation minimum unit time Configuration of simulation minimum unit time is shown below Syntax GENERAL TIME_UNIT Value Section GENERAL EntryName TIME_UNIT Value Value Type int Default value ps Remarks Example TIME_UNIT ps FM3 MN706 00044 1v0 E July 18 2014 7 USER MANUAL SPANSION WW 4 2 Configurations for Selected Target Trace Configurations for selected target trace are configured by using Trace select configuration file trace ini Configurations are shown at Table 4 8 Table 4 8 Configuration option which select target trace Option Entry name Explanation Target trace signal name is Trace ON OFF TracePortName configured as EntryName and ON OFF is configured as the Value Trace ON OFF Target trace signal name is configured as EntryName and ON OFF is configured Value The example is shown below Syntax GENERAL TracePortName ON OFF Section GENERAL EntryName TracePortName Type String Target trace signal name Value on off Type String Default value OFF Remarks Example GENERAL P00 ON SOT1 OFF Selectable port as TracePortName is shown at Table 5 3 Traceable I O port list at
16. cification July 18 2014 FM3_MN706 00044 1v0 E 3 fe SPANSION USER MANUAL WW CHAPTERS External Device CHAPTER4 Run Simulation CHAPTERS Simulation Data Analyzing Related manual The manuals related to VSK are listed below See the manual appropriate to the applicable conditions The contents of these manuals are subject to change without notice Contact us to check the latest versions available FM3 family peripheral manual Please refer to following document about each peripheral specification details of the product series supported by Virtual Starter Kit E FM3 Family PERIPHERAL MANUAL Called PERIPHERAL MANUAL hereafter E FM3 Family PERIPHERAL MANUAL Timer Part Called Timer Part hereafter E FM3 Family PERIPHERAL MANUAL Analog Macro Part Called Analog Macro Part hereafter E FM3 Family PERIPHERAL MANUAL Communication Macro Part Called Communication Macro Part hereafter FM3 family peripheral manual MCU SIMULATOR VERSION Regard the list of peripherals of the MCU series supported by Virtual Starter Kit there are differences in specification and behavior between simulator and real device Please refer to the following document for these differences E FM3 Family PERIPHERAL MANUAL MCU SIMULATOR VERSION Called PERIPHERAL MANUAL MCU SIMULATOR VERSION hereafter E FM3 Family PERIPHERAL MANUAL Timer Part MCU SIMULATOR VERSION Called Timer Part MCU SIMULATOR VERSION hereafter E FM3 Family PERIPHERAL
17. ction type port as target trace items which is outputted in trace file vcd are shown at Table 5 2 Table 5 2 Items which is outputted in trace file at transaction type Explanation ContentID Data type ID which selected as trace target port conducting Mode Communication mode of selected port as target trace 1 Command Transaction handling which write read to communication data WRITE READ Address Transaction destination address 2 Length Communication data length byte Data Communication data of selected port as target trace Response Transaction response status 1 Items which are outputted only Multifunction serial 2 Items which are outputted only External Bus Interface July 18 2014 FM3_MN706 00044 1v0 E 49 7 SPANSION USER MANUAL WW 3 Target Trace Traceable UO port list on FM3 Simulator is shown at Table 5 3 Table 5 3 Traceable I O port list Including Function Tracetype Power VCC Signal Clock XO Signal XOA Signal Reset INITX Signal External interrput NMI control INTOO INTO7 Signal INTO8 INT15 Signal NMIX Signal I O port P00 P07 Signal P00 POF Signal P10 P1F Signal P20 P2F Signal P30 P3F Signal P40 P4F Signal P50 P5F Signal P60 P6F Signal P70 P7F Signal P80 P8F Signal
18. ection function is configured by using terminal connection configuration file termif server ini Configurations are shown at Table 4 6 Table 4 6 Terminal connection device function option Option Entry name Explanation Configuration of debug mode for Debug mode f i Terminal connection device Configuration of Host name for Host name f Terminal connection device Configuration of Port number for Port number i terminal connection device Configuration of connection Connection configuration CONNECT Disable Enable for Terminal connection device Debug mode Configuration of debug mode for Terminal connection device is shown below Syntax GENERAL DEBUG DebugMode Section GENERAL EntryName DEBUG Value DebugMode Type int Default value 0 0 Disenable 1 Enable Debug message is shown under simulation running Remarks Example DEBUG 0 Host name Configuration of Host name for Terminal connection device is shown below Syntax NETWORK HOST HostName Section NETWORK EntryName HOST 40 FM3 MN706 00044 1v0 E July 18 2014 7 USER MANUAL SPANSION WW Value HostName Type String Default value localhost Remarks This configuration used for port connection with Terminal bridge Example HOST localhost Port number Configuration of Port number for terminal connection device is shown below Syntax NETWORK PORT PortNumber Section NET
19. emote control receive not available 1 If the CSV function is enabled the clock failure is detected when the main clock period or the sub clock period is Ops If the FCS function is enabled the anomalous frequency is detected when the main clock period is Ops 2 External bus interface and Flash Memory register is not supported It is replaced these area with RAM 3 PPG does not support PPG IGBT mode 4 Quad Counter does not support Quad Counter position rotation counter display function Please refer to other document about peripheral function which you using lineup products July 18 2014 FM3 MN706 00044 1v0 E 15 SPANSION USER MANUAL a 2 Simulator Behavior FM3 Simulator start simulation by booting FM3 Simulator main unit FM3 Simulator behavior has 3 phases Initialization phase Run phase Reset state Normal state Debug state End phase FM3 Simulator phase and status is shown at Figure 2 1 Figure 2 1 FM3 Simulator phase and status Waiting Initialization phase software debugger connection et Connect complete Start run Run phase Reset gt Reset state Reset release time passed Run phase Normal state Restart run Finished Run phase Debug state End phase 16 FM3 MN706 00044 1v0 E July 18 2014 am USER MANUAL SPANSION WW Initialization phase At Initialization phase CPU function configuration microcontroller function confi
20. en 49 Table 5 2 Items which is outputted in trace file at transaction type eee eeeeeeeeeneeeeeeeneeeeeeeeeereneeeeeees 49 Table 5 3 Traceable ICH port liSt csccssteeecessivee tettesct ei epoestl ieee Rei i eee 50 July 18 2014 FM3 MN706 00044 1v0 E ae USER MANUAL WW 8 EMS MN706 00044 1v0 E July 18 2014 CHAPTER1 Virtual Starter Kit This chapter explains the functions of the Virtual Starter Kit aN SPANSION WW 1 Overview 2 System Structure 3 Included Files July 18 2014 FM3 MN706 00044 1v0 E 7 SPANSION USER MANUAL 1 Overview Virtual Starter Kit is virtual evaluation environment which includes FM3 microcontroller and its external devices FM3 microcontroller is provided by Spansion Inc Spansion The same with actual machine board it is possible to connect IDE debugger to Virtual Starter Kit Virtual Starter Kit includes 1 hardware function simulator of FM3 microcontroller products called FM3 Simulator hereafter and 2 simulator of external devices called External Device Model hereafter which are controlled by FM3 microcontroller The user can make these simulators operating together by simple instructions With Virtual Starter Kit the users can conduct software development test and system evaluation without evaluation board Package basic information Package Name Virtual Starter Kit Package Version 1 00 Package Type Product Package Hardware r
21. equirements Microsoft Windows 7 version SP1 or later Required softwares Visual C 2010 SP1 redistributable package Software Visual C 2010 SP1 redistributable package x86 Source Microsoft Note 1 Microsoft Visual C 2010 SP1 redistributable package x86 is necessary for running application developed in Visual C 2010 SP1 when Visual C 2010 SP1 is not installed on the computer 2 Microsoft Visual C 2010 SP1 redistributable package x86 is available at Microsoft Corp Download Center Third party tool library Virtual Starter Kit includes Open Source Softwares OSS OSS are libcoqemu dll libgcc_s_dw2 1 dll and libz 1 dll Please refer to the documents of OSS license in folder of LICENSE E QEMU Software qemu 0 12 5 Source Please contact us by e mail dl vsk support spansion com License http wiki qemu org License Note QEMU is provided under GPL license It is included in Virtual Starter Kit as built DLL file QEMU license include LGPL and BSD E SystemC amp TLM2 0 Software systemc 2 2 0 TLM 2 0 1 10 FM3 MN706 00044 1v0 E July 18 2014 7 USER MANUAL SPANSION WW Source http www systemc org downloads standards systemc License http www systemc org about policies SystemC Open Source License pdf Note The URL is subject to be changed by download source 2 System Structure Virtual Starter Kit system structure
22. eral Clock available High rate CR timing available Clock monitoring function restriction of use 1 Reset available Low voltage detection available Low power consumption mode not available Interrupt available External interrupt NMI control available DMAG available I O port available CRC Cycle Redundancy Check available External bus interface restriction of use 2 Flash memory restriction of use 2 Watch dog timer available Dual timer available Watch counter prescaler available Watch counter available Real time clock not available Base timer UO selector function available Base timer available Multifunction timer available PPG restriction of use 3 Quad counter restriction of use 4 Analog macro 12bit A D converter available A D timer trigger selector available 10bit D A converter not available LCD controller not available Communicate macro Multifunction serial UART available Multifunction serial CSIO not available Multifunction serial LIN not available Multifunction serial I2C not available USB Ethernetclock generate not available USB not available Ethernet not available CAN prescaler not available CAN controller not available HDMI CEC r
23. guration setting of external connection interface and Device initialization are done CPU function configuration means to load image file which runs simulation During FM3 Simulator s Initialization simulation time keep zero CPU function and microcontroller function do not run External input signal from external connection interface can not received by FM3 Simulator After FM3 Simulator initializing configuration finishes FM3 Simulator automatically moves to Run phase If software debugger connection configuration is enabled FM3 Simulator will wait for connection notice from software debugger After FM3 Simulator connects to software debugger FM3 Simulator receives a register access from software debugger then FM3 Simulator move to Run phase Run phase Run phase has 3 states Reset state Normal state Debug state Run phase time chart is shown at Figure 2 2 and explaining on each time is shown at Table 2 2 Figure 2 2 Run phase time chart Micom Peripherals Table 2 2 Each time explanation Explanation Simulation starting time Power on reset issuing time t1 is issued At time after tO Power on reset release issuing time t2 is issued 1ps later after t1 Program starting time Peripheral initial setting time to the register Between t3 and t2 interval is different depending on software program July 18 2014 FM3_MN706 00044 1v0 E 17 7 SPANSION USER MANUAL E Reset
24. it CR Local echo OFF TERMINAL ini Line at a time mode EnableLineMode OFF July 18 2014 FM3_MN706 00044 1v0 E 29 fe SPANSION ke USER MANUAL 5 Simulation Run Steps Simulation run steps flow chart is shown at Figure 3 5 Figure 3 5 Simulation run steps flow chart Target image file assignment Debugger connection assignment PLL clock period configuration Device synchronization period configuration Trace file configuration Simulation time unit of trace result configuration Target trace signal selection End simulation 30 EMS MN706 00044 1v0 E July 18 2014 CHAPTERA4 Run Simulation This chapter explains the functions of the Run Simulation aN WW e SPANSION 1 1 Configurations of CPU Function 2 Configurations of Microcontroller Function 3 Configurations of Device Function 4 Configurations of Trace Function 5 How to Run Simulation July 18 2014 FM3 MN706 00044 1v0 E 31 7 SPANSION USER MANUAL a 1 Configurations of CPU Function The CPU function is configured by using CPU configuration file cpu ini Configurations are shown at Table 4 1 Table 4 1 Configuration list at CPU function Option Entry name Explanation Configuration of file path of FM3 Target image file configuration ELF_FILE Simulator s image file Configuration of Software debugger Software debugger configuration GDB STUB PORT g og co
25. lder of Virtual Starter Kit Files VirtualStarterKit bat Virtual Starter Kit Executable File binary Folder of FM3 Simulator Executable File opensource Folder of Open Source Software library Files plugin Folder of Virtual Starter Kit s plugin Files configuration Folder of Virtual Starter Kit s configuration files and definition files CDU Int CPU Configuration File Refer to sub section 51 for the details micom ini MCU Configuration File Refer to sub section 52 for the details micom xml MCU Definition File svcd ini trace ini xsi xml plugin Folder of Virtual Starter Kit s plugin configuration and defintion files analog input ini Analog Input Congiguration File Refer to sub section 3 1 for the details analog input xml Analog Input Definition File dip_switch ini DIP Switch Configuration File Refer to sub section 3 2 for the details tactile_switch ini Tactile Switch Configuration File Refer to sub section 3 3 for the details switch xml Switch Device Definition File termif_server ini Terminal Connection Configuration File Refer to sub section 3 4 for the details termif_server xml Terminal Connection Definition File XSIInit ini Init Device Configuration File XSllnit xml Init Device Definition File firmware Folder of Firmware mb9bf51xr_pwmout out 12 FM3_MN706 00044 1v0 E July 18 2014 fe SPAN STONN WW CHAPTER2 Simulator Function Specifica
26. ller than configured CPU clock period there is a possiblity that FM3 simulator can drop any input data from DIP Switch Therefore please configure the period value bigger than CPU clock Please refer TIME UNIT about the unit Example SYNC_PERIOD 1 Unit of synchronization period Configuration of synchronization period unit between FM3 Simulator and DIP switch input device is shown below Syntax GENERAL TIME_UNIT unit Section GENERAL EntryName TIME UNIT 36 EMS MN706 00044 1v0 E July 18 2014 7 USER MANUAL SPANSION WW Value unit Type string Default value ms Remarks If the period value which is smaller than configured CPU clock period there is a possiblity that FM3 simulator can drop any input data from DIP Switch Therefore please configure the period value bigger than CPU clock Please refer SYNC PERIOD about the period value Example TIME_UNIT ms July 18 2014 FM3_MN706 00044 1v0 E 37 7 SPANSION USER MANUAL WW 3 3 Configurations of Tactile Switch Input Function Tactile switch input function is configured by using Tactile switch input configuration file tactile switch in Configurations are shown at Table 4 5 Table 4 5 Tactile switch function option Option Entry name Explanation Period of synchronization between Period of synchronization SYNC_PERIOD FM3 Simulator and Tactile switch input device Unit of synchronization period Unit of synchronization peri
27. marks of Microsoft Corporation in the U S and other countries QEMU is a trademark of Fabrice Bellard OSCI SystemC are trademarks or registered trademarks of Open SystemC Initiative Inc In the United States and other countries are used with permission IAR Systems IAR Embedded Workbench are trademarks or registered trademarks owned by IAR Systems AB The company names and brand names herein are the trademarks or registered trademarks of their respective owners Sample program and development environment Spansion offers sample programs free of charge for using the peripheral functions of the FM3 family Spansion also makes available descriptions of the development environment required for this family Feel free to use them to verify the operational specifications and usage of this Spansion microcontroller M Microcontroller support information http www spansion com Products microcontrollers 32 bit ARM Core fm3 Pages overview_32fm3 aspx Note The sample program is subject to be changed without notice And the sample program s behavior and the way to use are only for standard case Please make sure to test the sample program on your system before using the program Our company does not have any responsibility for any problem happening on your side when you use this sample program This document composition Virtual Starter Kit user manual consists of following chapter CHAPTER Virtual Starter Kit CHAPTER2 Simulator Function Spe
28. n Run Steps wessccccecscedeoscasegeccceeesectescspack evtancnaeany ket ae REESEN 30 GHAPTER4 Run Sim latioN uagdaennagddmem Hitec deste e ege doe ects 31 1 Configurations of CPU Function rernnrnnnnrnnnnvnnnnvenenvnnenvenenvrnenvenervnnsnvnnervrnsnvenesvnnsnvnnesvrnsnnenennn 32 2 Configurations of Microcontroller Function srrrrvrrnnnvnnnnrnnnnvnnnnrnnnnvnnnnrnnnnrnnrnrnnsnrnsrnrnsenresnnnne 33 3 Configurations of Device Function rranvnrnvrnnnnvnnnvrnnenvnnnnrnnenvnnnnrnnnnvnennrnnenrnennrenenvnssnrnnenvnennnn 34 3 1 Configurations of Analog Input Function easverrrvrnnnnrnnrvrnnnnrnervrnnnnrnernrnnnrenesvrnsnnenernr 34 3 2 Configurations of DIP Switch Input Function osvrrrrnvnrrvrnrnnvrrrvrnnnvrnervrnnnnrnervrnsnnrnernr 36 3 3 Configurations of Tactile Switch Input FUNCTION 0 ceeeeeeeeeeeeeeeeeeteneeseeeteeeeeeeetea 38 3 4 Configurations of Terminal Connection Function ssrnrrvrnnnnvnnnvrnnnnrnrrvrnnnnrnrrvrnnnnnnernr 40 4 Configurations of Trace Functlon nenene 42 4 1 Configurations of Trace Function mannrnrrvrnnnnrnnnvrnnnnrnrnvrnnnnnnervrnnnnnnrrnrnsnnnnesvrnsnnnnennn 42 4 2 Configurations for Selected Target Trace 43 5 How to Run Simulation sesasine E ee aks 44 6 How to Stop Gimulston cece cceeeeeeeeeeeeeeeeeceaeeeeeeeteaeeeeaeeceaeeseaeeseaeeeaeeseaeesaeessaeeseaeessaeeesaees 45 GHAPTERS Simulation Data Analyzing isaassisrimn nsn smia urshnigb ide ertietl ivi cides 47 LOVE
29. nit between FM3 Simulator and Analog input device is shown below Syntax GENERAL TIME_UNIT unit Section GENERAL EntryName TIME_UNIT 34 FM3 MN706 00044 1v0 E July 18 2014 7 USER MANUAL SPANSION WW Value unit Type string Default value ms Remarks If the period which smaller than CPU clock is configured you have risk of lost input value from analog input GUI Therefore please configure the period which bigger than CPU clock Please refer SYNC_PERIOD about the period value Example TIME_UNIT ms July 18 2014 FM3 MN706 00044 1v0 E 35 7 SPANSION USER MANUAL WW 3 2 Configurations of DIP Switch Input Function DIP switch input function is configured by using DIP switch input configuration file dip_switch ini Configurations are shown at Table 4 4 Table 4 4 DIP switch function option Option Entry name Explanation Period of synchronization between Period of synchronization SYNC_PERIOD FM3 Simulator and DIP switch input device Unit of synchronization period Unit of synchronization period TIME UNIT between FM3 Simulator and DIP switch input device Period of synchronization Configuration of synchronization period between FM3 Simulator and DIP switch input device is shown below Syntax GENERAL SYNG PERIOD Value Section GENERAL EntryName SYNC PERIOD Value Value Type int Default value 1 Remarks If the period value which is sma
30. nnection Target image file configuration Configuration of file path of FM3 Simulator s image file is shown below Syntax GENERAL ELF FILE TargetlmageFilePath Section GENERAL EntryName ELF FILE Value TargetlmageFilePath Type String Default value Sample image including simulator Remarks Please assign ELF format file to this option This configuration cannot skip Example ELF_FILE Sample image including simulator Software debugger configuration Configuration of GdbStb port number which is used in connection with software debugger is shown below Syntax GENERAL GDB_STUB_PORT GdbStubPort Section GENERAL EntryName GDB_STUB_PORT 32 FM3 MN706 00044 1v0 E July 18 2014 7 USER MANUAL SPANSION Value GdbStubPort Type Int Default value 1234 Remarks If this option is disabled software debugger is not connected This option is disabled in default Example GDB_STUB_PORT 1234 2 Configurations of Microcontroller Function The MCU function is configured by using MCU configuration file micom ini Configurations are shown at Table 4 2 Table 4 2 Configuration list at microcontroller function Option Entry name Explanation PLL period configuration PLL_CLK_PERIOD Configuration of PLL clock period PLL clock period configuration PLL clock period configuration is shown below Syntax GENERAL PLL CLK PERIOD PIICIockPeriod Section GENERAL EntryName PL
31. nput device specification is shown below Port type Transaction type Data type Analog value Direction 1 Input Channel number 1 Connectable port A D Converter ADC analog input ANxx 1 Direction Input Output is seen from FM3 Simulator Analog input device GUI is shown at Figure 3 1 and composition element explanation is shown at Table 3 1 Figure 3 1 Analog input device GUI Minimum Value Slider Maximum Value Current Value Composition element Table 3 1 Analog input device composition element Explanation Minimum Value This textbox is showed minimum value and setting minimum value is available Default value is 0 Maximum Value This textbox is showed maximum value and setting maximum value is available Default value is 5 Current Value This textbox is showed the analog input value and setting the analog input value is available Default is Minimum Value Slider This slider is showed the position of analog input value Changing the analog input value is available by the bar slide Default is Minimum Value Function Setting the analog input value is available by the bar slide The value unit is Volt Also setting the analog input value is available by set a value to Value textbox The value range of analog input bar can be changed by modifying the Min s and Max s value Enter a value number to Min textbox to change Min value enter a value number to Max textb
32. od TIME_UNIT between FM3 Simulator and Tactile switch input device Period of synchronization Configuration of synchronization period between FM3 Simulator and Tactile switch input device is shown below Syntax GENERAL SYNC_PERIOD Value Section GENERAL EntryName SYNC_PERIOD Value Value Type int Default value 1 Remarks If the period value which is smaller than configured CPU clock period there is a possiblity that FM3 simulator can drop any input data from Tactile Switch Therefore please configure the period value bigger than CPU clock Please refer TIME_UNIT about the unit Example SYNC_PERIOD 1 Unit of synchronization period Configuration of synchronization period unit between FM3 Simulator and Tactile switch input device is shown below Syntax GENERAL TIME_UNIT unit Section GENERAL EntryName TIME UNIT 38 EMS MN706 00044 1v0 E July 18 2014 7 USER MANUAL SPANSION WW Value unit Type string Default value ms Remarks If the period value which is smaller than configured CPU clock period there is a possibility that FM3 simulator can drop any input data from Tactile Switch Therefore please configure the period value bigger than CPU clock Please refer SYNC PERIOD about the period value Example TIME_UNIT ms July 18 2014 FM3 MN706 00044 1v0 E 39 7 SPANSION USER MANUAL a 3 4 Configurations of Terminal Connection Function Terminal conn
33. ox to change Max value Maximum value must be bigger than Minimum value The characters which are not numeric character can not be accepted In this case error message is displayed 26 FM3_MN706 00044 1v0 E July 18 2014 7 SPANSION USER MANUAL WW 2 DIP Switch Device DIP switch device is a GUI program which is used to input digital value The GUI includes 8 switches each switch is used to input digital value for 1 bit DIP switch device specification is shown below Port type Signal type Data type 1bit digital value Direction 1 Input Channel number 8 Connectable port 2 General I O port input Pxx Timer trigger input TIOAx TIOBx Input capture input ICx External interrupt input INTxx External reset input INITX Non maskable interrupt NMIX A D converter trigger input ADTGx 1 Direction Input Output is seen from FM3 Simulator 2 Connected to general I O port P00 P07 in this package DIP switch device GUI window is shown at Figure 3 2 and composition element explanation is shown at Table 3 2 Figure 3 2 DIP switch GUI window gt DIP switch bit bits bits mm bm bit2 bn bit0 ON ON ON ON ON ON oy ON OFF OFF OFF OFF OFF OFF Switch lever Table 3 2 DIP switch composition element Composition i Explanation element Switch lever bit digital value input lever Default is OFF Function Move up the switch lever to switch ON Move down the switch lever to switch OF
34. r About software debugger which supports gdb port Following software debuggers can connect with FM3 Simulator Please refer to each tool bender website for latest support status The following is the latest status in March 2014 IAR Embedded Workbench Software IAR Embedded Workbench Source IAR Systems Sourcery Code Bench Software Sourcery Code Bench 2011 09 69 Source Mentor Graphics Corporation July 18 2014 FM3 MN706 00044 1v0 E 23 fe lt SPANSION USER MANUAL a 8 Trace Function 8 1 I O Trace Function Explain about I O Trace function FM3 Simulator also has UO trace function to trace the value of a I O signal If you use Trace function you can analyze simulation data Trace function schematic view is shown in Figure 2 4 Figure 2 4 Trace function FM3 simulator External device model Communication data Please refer to CHAPTERS Simulation Data Analyzing about trace function and simulation data analyze details 24 FM3 MN706 00044 1v0 E July 18 2014 CHAPTER3 External Device This chapter explains the functions of the External Device Zn SPANSION WW 1 Analog Input Device 2 DIP Switch Device 3 Tactile Switch Device 4 Terminal Connection Device July 18 2014 FM3 MN706 00044 1v0 E 25 7 SPANSION a USER MANUAL 1 Analog Input Device Analog input device is a GUI program which provides analog value to FM3 Simulator Analog i
35. scribed in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan the US Export Administration Regulations or the applicable laws of any other country the prior authorization by the respective government entity will be required for export of those products Trademarks and Notice The contents of this document are subject to change without notice This document may contain information on a Spansion product under development by Spansion Spansion reserves the right to change or discontinue work on any product without notice The information in this document is provided as is without warranty or guarantee of any kind as to its accuracy completeness operability fitness for particular purpose merchantability non infringement of third party rights or any other warranty express implied or statutory Spansion assumes no liability for any damages of any kind arising out of the use of the information in this document Copyright 2014 Spansion All rights reserved Spansion the Spansion logo MirrorBit MirrorBit Eclipse ORNAND Easy DesignSim Traveo and combinations thereof are trademarks and registered trademarks of Spansion LLC in the United States and other countries Other names used are for informational purposes only and may be trademarks of their respective owners 56 FM3_MN706 00044 1v0 E July 18 2014
36. simulator nested vectored interrupt controller NVIC and SysTick timer function Please refer to web site below about QEMU details http wiki qemu org July 18 2014 FM3_MN706 00044 1v0 E 19 7 SPANSION USER MANUAL a 4 Memory Map FM3 Simulator Memory Map is shown at Figure 2 3 Figure 2 3 FM3 Simulator Memory Map Peripherals Area 0x41FF_FFFF Reserved 0x4006_9000 Ethernet MAC1 0x4006_7000 ox4006_6000 Ethernet Control Reg oxFFFF FFF 0x4006 4000 Ethernet MACO Reserved 0x4006_ 3000 CAN ch 1 0xE010_0000 0x4006_2000 CAN ch 0 Cortex M3 Private 0x4006_1000 Reserved 0xE000_0000 Peripherals 0x4006_0000 DMAG USB ch 1 0x4005 0000 USB ch 0 0x4004 0000 0x4003_F000 EXT bus VE 0x4003_C000 Reserved 0x4003_B000 RTC 0x4003_A000 Watch Counter 0x6000_0000 0x4003_9000 CRC 0x4003_8000 MFS Reserved 0x4003 7000 CAN Prescaler 0x4400 0000 0x4003 6000 USB Clock Ctrl 32Mbytes 0x4003_5000 LVD DS mode 0x4200_0000 Bit band alias 0x4003 4000 HDMI CEG f 0x4003_3000 GPIO Peripherals 0x4000_0000 0x4003_2000 Reserved 0x4003_1000 Int Req Read Reserved 0x2400_0000 0x4003_0000 EXTI 32Mbytes 0x4002_F000 Reserved 0x2200_0000 Bit band alias 0x4002_E000 CR Trim External Device Area Reserved Reserved 0x200E_1000 0x4002_9000 0x200E_0000 Flash I F Work 0x4002_8000 D AC 0x200C_0000 Flash Work 0x4002_7000 A DC 0x4002_6000
37. state It is different between simulation start time and program start time because simulation starts after reset releases Immediately after moving to Run phase FM3 Simulator issues power on reset then do not run the program Peripheral function does not run also even external signal is input to FM3 Simulator After 1ps from start simulation power on reset is released automatically Then program starts and move to Run phase Normal condition E Normal state Each peripheral function of FM3 microcontroller starts running after power on reset is released and then change to accessible condition from external interface In the normal condition if a system termination signal from simulator console or internal abnormality is detected FM3 Simulator moves to End phase E Debug state In the run phase Normal state if application of software debugger comes to a break simulator move to Run phase Debug state In the debug state simulation temporarily stops In the debug status CPU function and microcontroller function do not run and simulation time doesn t change If application of software debugger starts again simulator moves back to Run phase Normal state End phase In the End phase simulation is stops and simulation finishes 18 FM3 MN706 00044 1v0 E July 18 2014 7 USER MANUAL SPANSION WW 3 CPU FM3 Simulator uses QEMU as Cortex M3 CPU function QEMU includes Cortex M3 processer instruction set
38. t Po2 out POS out POACout 3 POSCout EEE POs out KE Plent d P19lout 3 wire SINO command 79 0 TIOAO out INTOO out event SINO event Noi font A wire SINO function 255 0 INTO2 out 3 wire SINO mode 31 0 AO wire SINO out_data 7 0 INTOS out wire SINO response 255 0 ee 5 out wire SOTO address 31 0 S0TO conmand 79 0 wire SOTO command 79 0 SOTO event 3 event SOTO event wire SOTO function 255 0 wire SOTO mode 31 0 wire SOTO out_data 7 0 wire SOTO response 255 0 SOTO function 255 0 SOTO mode 31 0 SOTO out_data 7 0 SOTO response 255 0 Note 1 ContentID Mode Command and Response are outputted trace file with ASCII code 2 You can check the trace result as character if you display data format change to ASCII on the viewer when the trace result is displayed on the waveform viewer July 18 2014 FM3_MN706 00044 1v0 E 51 SPANSION WW USER MANUAL MAJOR CHANGES Page Section Changes Revision 1 0 Initial release 52 FM3 MN706 00044 1v0 E July 18 2014 USER MANUAL SPANSION WW July 18 2014 FM3 MN706 00044 1v0 E 53 SPANSION USER MANUAL a 54 FM3_MN706 00044 1v0 E July 18 2014 USER MANUAL MN706 00044 1v0 E SPANSION WW Spansion Controller Manual FM3 Family 32 BIT MIGROCONTROLLER Virtual Starter Kit User Manual July 2014 Rev 1
39. tion This chapter explains the Simulator functions specification Overview Simulator Behavior CPU Memory Map Peripheral External Device Model Debug Interface o N O Om A Go N Trace Function July 18 2014 FM3_MN706 00044 1v0 E 13 SPANSION 1 Overview USER MANUAL FM3 Simulator is used to simulate hardware functions of FM3 microcontroller provided by Spansion FM3 microcontroller is 32 bit general purpose RISC microcontroller whose CPU is CortexTM M3 core of ARM Limited In FM3 Simulator QEMU is used as the Instruction set simulator of Cortex M3 It allows users to conduct a software development with FM3 Simulator as the same with actual machine Interface to connect microcontroller function I O with External device model is also available in FM3 Simulator It allows the users to run FM3 simulator with external devices connected Simulator basic information Simulator Name FM3 Simulator MB9B510R series Version 1 20 Target Series MB9B510R series About FM3 Simulator supporting peripheral function FM3 Simulator supporting peripheral function is different according to FM3 Simulator objective lineup products and simulator version Supported peripheral function is shown at Table 2 1 14 FM3 MN706 00044 1v0 E July 18 2014 USER MANUAL Peripheral function Table 2 1 Peripheral function supported in FM3 Simulator description 7 SPANSION WW Basic periph
40. tion element 11 Table 2 1 Peripheral function supported in FM3 Gimulator 15 Table 2 2 Each time explanation errnvrnnnenvvnnnnvnvrnnnvnnvrnrrrnnnnerrrnrnnnnnnvrnrrrnnnnetrrvenenenvrnesennrnesernvenessnvreesennen 17 Table 2 3 Connections between I O Ports and External Devices rrnnnnrnnnvrnnnnvnnnnrnnnnvnnrnrnnnnrnernrnnenrnrrnnne 22 Table 3 1 Analog input device composition element 26 Table 3 2 DIP switch composition element 27 Table 3 3 Tactile switch device composition element AA 28 Table 4 1 Configuration list at CPU function 32 Table 4 2 Configuration list at microcontroller function rerrrnrorrrnnvrrrrrnnvnrrrrnrnnrrrnnnrrrnnnnerrrnnnnrrrnnnnerennnn 33 Table 4 3 Analog input function option 34 Table 4 4 DIP switch function option esernvrnnrvnvrennrnnrnerrrnnrnnrrrrnnnnnnvrnrrrnnvnerrrvenenenvrnesennnnerersvanersnvrensennen 36 Table 4 5 Tactile switch function option srennrrnornnnvnnrrerernvrnnrrrnvannnnnvrnnrrnnrnenrrvennnenvrersrnnnnesersranerenvressennen 38 Table 4 6 Terminal connection device function option rsrverrrnrrnnnnnvrnrrrnnrnnrrrvennrrnvrnerrnnrnerersvanerrnvressennen 40 Table 4 7 Trace function configurations 0 eee eeeeeeeeeeneeeeeeeeeeeteneeeeeteneeeeesaaeeesenaeeeeeeeeeeeenaeeesenaeeseneneeeeeee 42 Table 4 8 Configuration option which select target Trace 43 Table 5 1 Items which are outputted in trace file at Signal type rrnvrnrnnnnvnnnnnnvennnnnvrnnnnnnrnnnrrnrrnnrrnvrerrern
41. zing a This chapter explains the functions of the Simulation Data Analyzing 1 Overview 2 Trace Type 3 Target Trace 4 Trace Result Visualization July 18 2014 FM3 MN706 00044 1v0 E 47 7 SPANSION USER MANUAL 1 Overview FM3 Simulator has UO trace function to trace the value of a I O signal Trace function option configuration is necessary for I O trace function before the simulation run See also 4 5 Option configuration of Trace function VCD format trace file is output to a trace file after simulation run finishes when any signal becomes a target to be traced If you use Trace function you can analyze simulation data 48 FM3 MN706 00044 1v0 E July 18 2014 7 USER MANUAL SPANSION WW 2 Trace Type Trace function is divided into two types depending on target trace port data type Two types are shown below Signal type Transaction type Signal type Signal type port is used for port of signal level In case of selecting signal type port as target trace items which is outputted in trace file vcd are shown at Table 5 1 Table 5 1 Items which are outputted in trace file at signal type Explanation ContentID Data type ID of selected port as target trace Data Communication data of selected port as target trace Transaction type Transaction type port is used for port including multiple signals in one transaction In case of selecting transa

Download Pdf Manuals

image

Related Search

MN706 00044 1v0 E mn3e0770-c4-t51e-4-fla61044-3

Related Contents

Bedienungsanleitung - Amica International  Roland TD-4K Drums User Manual  Emisor óptico de vídeo digital y señales auxiliares modelo A194  749 09 05 Rev0 UM Cafeteira CP30 Inox  H1.eps - カシオ携帯電話オフィシャルWEBサイト  IBM 4610 Printer User Manual  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.