Advertisement

Quick Links

SK-FM3-176PMC-ETHERNET
Hardware V2.0 / Documentation V1.0
1
© 2014 Spansion Inc.
CONFIDENTIAL
CONFIDENTIAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SK-FM3-176PMC-ETHERNET and is the answer not in the manual?

Questions and answers

Summary of Contents for Spansion SK-FM3-176PMC-ETHERNET

  • Page 1 SK-FM3-176PMC-ETHERNET Hardware V2.0 / Documentation V1.0 © 2014 Spansion Inc. CONFIDENTIAL CONFIDENTIAL...
  • Page 2: Warranty And Disclaimer

    The use of the deliverables (deliverables shall include, but not limited to, software, application examples, hardware, target boards, evaluation boards, starter kits, schematics, engineering samples of IC’s etc.) is subject to the terms and conditions of Spansion LLC and its affiliates (“SPANSION”) as set out below and in (i) the terms and conditions of the License Agreement and/or the Sale and Purchase Agreement and/or any other agreement under which deliverables have been delivered, (ii) the technical descriptions and (iii) all accompanying written materials.
  • Page 3  JTAG / CMSIS-DAP  Timer part (errata)  IAR-Embedded Workbench  Analog part (errata)  Communication part (errata)  KEIL µVision  Ethernet part  Flash programming manual (errata)  Workshops, Contacts & More © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 4 Features of the microcontroller  ® SK-FM3-176PMC-ETHERNET is a versatile evaluation board based on the Spansion ARM Cortex-M3 device MB9BFD18T  The MB9BD10T Series includes the following features: − 32-bit ARM Cortex-M3 Core with up to 144MHz operation − Up to 1 Mbyte high-speed flash memory with true 72MHz and Flash Accelerator System −...
  • Page 5 Features of the board  Features of the SK-FM3-176PMC-ETHERNET board: − Microcontroller MB9BFD18T − 2x Ethernet connectors − 2x USB-Host (Type-A connector) − 1x USB-Device (Type-B connector) − 1x USB-to-serial converter (Type-B connector)  UART and on-board JTAG simultaneously (version 1.1: OpenOCD, version 2.0: CMSIS DAP) −...
  • Page 6 Contents SK-FM3-176PMC-ETHERNET  The SK-FM3-176PMC-ETHERNET box contains − The SK-FM3-176PMC-ETHERNET evaluation board − USB cable − CD: Documentation, software examples and development utilities − 1-page flyer CD ROM Additional information ESD foam ESD box SK-FM3-176PMC-ETHERNET USB cable © 2014 Spansion Inc.
  • Page 7  The microcontroller on the SK-FM3-176PMC-ETHERNET is already preprogrammed with an example application (<drive:>\Examples\mb9bf61xt_ethernet_lwip_v13.zip).  Connect the SK-FM3-176PMC-ETHERNET via USB (X11) with the PC − Verify that jumper J5 is in the USBPWR1 position − Switch SW1 is set to RUN −...
  • Page 8  Now you will get more details about the SK-FM3-176PMC-ETHERNET  You will learn more about − The on-board features − How to program the Flash − How to start with IAR-Embedded-Workbench and KEIL µVision © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 9 Hardware © 2014 Spansion Inc. CONFIDENTIAL CONFIDENTIAL...
  • Page 10 3x Motor control Interface 3x Motor control Interface 3x Motor control Interface 3x Motor control Interface 3x Motor control Interface Pushbutton INT10, port P7B Power Pushbutton INT11, port P7C Multicon (I²C, SPI, UART, LIN) Trace Interface JTAG Interface © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 11 Hardware Pin-List SK-FM3-176PMC-ETHERNET (1/8) Function Description MCUVCC Reset Multicon Connector / INT0 PA0/RTO20_0/TIOA08_0/FRCK1_0 Hall Sensor1-3 /INT1 PA1/RTO21_0/TIOA09_0/IC10_0 Hall Sensor1-4 PA2/RTO22_0/TIOA10_0/IC11_0 Hall Sensor1-5 PA3/RTO23_0/TIOA11_0/IC12_0 TINT Multicon Connector PA4/RTO24_0/TIOA12_0/IC13_0/RX0_2/INT03_0 GINT Multicon Connector PA5/RTO25_0/TIOA13_0/TX0_2/INT10_2 UART4 ( RXD)/ TRACED0 P05/TRACED0/TIOA05_2/SIN4_2/INT00_1 UART4 ( TXD)/ TRACED1...
  • Page 12 Hardware Pin-List SK-FM3-176PMC-ETHERNET (2/8) Function Description P5A/SOT7_0/TX1_1/TIOA13_1/INT18_1/MCSX0_0 P5B/SCK7_0/TIOB13_1/INT19_1/MCSX1_0 P5C/TIOA06_2/INT28_0/IC20_1 MotorDrive2 FAULT P5D/TIOB06_2/INT29_0/DTTI2X_1 QPRC0-A P30/AIN0_0/TIOB00_1/INT03_2 QPRC0-B P31/BIN0_0/TIOB01_1/SCK6_1/INT04_2 QPRC0-Z P32/ZIN0_0/TIOB02_1/SOT6_1/INT05_2 P33/INT04_0/TIOB03_1/SIN6_1/ADTG_6 CANL P34/FRCK0_0/TIOB04_1/TX0_1 CANH P35/IC03_0/TIOB05_1/RX0_1/INT08_1 Hall Sensor0-5 P36/IC02_0/SIN5_2/INT09_1/TIOA12_2/MCSX2_0 Hall Sensor0-4 P37/IC01_0/SOT5_2/INT10_1/TIOB12_2/MCSX3_0 Hall Sensor0-3 P38/IC00_0/SCK5_2/INT11_1/MCLKOUT_0 MotorDrive0 FAULT P39/DTTI0X_0/ADTG_2 MotorDrive0 PWM1H P3A/RTO00_0/TIOA00_1 MotorDrive0 PWM1L...
  • Page 13 Hardware Pin-List SK-FM3-176PMC-ETHERNET (3/8) Function Description MCUVCC P40/TIOA00_0/RTO10_1/INT12_1 P41/TIOA01_0/RTO11_1/INT13_1 P42/TIOA02_0/RTO12_1 P43/TIOA03_0/RTO13_1/ADTG_7 U14 LAN reset ‘nRST’ P44/TIOA04_0/RTO14_1 U12 LAN reset ‘nRST’ P45/TIOA05_0/RTO15_1 C-pin MCUVCC Subclock (optional) P46/X0A Subclock (optional) P47/X1A Key button ‘Reset’ INITX P48/DTTI1X_1/INT14_1/SIN3_2 P49/TIOB00_0/IC10_1/AIN0_1/SOT3_2 P4A/TIOB01_0/IC11_1/BIN0_1/SCK3_2/MADATA00_0 P4B/TIOB02_0/IC12_1/ZIN0_1/MADATA01_0 P4C/TIOB03_0/IC13_1/SCK7_1/AIN1_2/MADATA02_0 P4D/TIOB04_0/FRCK1_1/SOT7_1/BIN1_2/MADATA03_0 P4E/TIOB05_0/INT06_2/SIN7_1/ZIN1_2/MADATA04_0...
  • Page 14 Hardware Pin-List SK-FM3-176PMC-ETHERNET (4/8) Function Description SEG2-C / QPRC2-A P72/SIN2_0/INT14_2/AIN2_0/MADATA07_0 SEG2-D/ QPRC2-B P73/SOT2_0/INT15_2/BIN2_0/MADATA08_0 SEG2-E/ QPRC2-Z P74/SCK2_0/ZIN2_0/MADATA09_0 SEG2-F P75/SIN3_0/ADTG_8/INT07_1/MADATA10_0 SEG2-G P76/SOT3_0/TIOA07_2/INT11_2/MADATA11_0 SEG2-DP P77/SCK3_0/TIOB07_2/INT12_2/MADATA12_0 SW Rotary-A /QPRC1-A P78/AIN1_0/TIOA15_0/MADATA13_0 SW Rotary-B /QPRC1-B P79/BIN1_0/TIOB15_0/INT23_1/MADATA14_0 QPRC1-Z P7A/ZIN1_0/INT24_1/MADATA15_0 P7B/TIOB07_0/INT10_0 P7C/TIOA07_0/INT11_0 USB Host-Overcurrent P7D/TIOA14_1/FRCK2_1/INT12_0 Hall Sensor2-3 P7E/TIOB14_1/IC21_1/INT24_0...
  • Page 15 Hardware Pin-List SK-FM3-176PMC-ETHERNET (5/8) Function Description MCUVCC Motor Drive0-U_DC_BUS P10/AN00/MCSX7_0 Motor Drive0-U_PH_A P11/AN01/SIN1_1/INT02_1/RX1_2/FRCK0_2/MCSX6_0 Motor Drive0-U_PH_B P12/AN02/SOT1_1/TX1_2/IC00_2/MCSX5_0 Motor Drive0-U_PH_C P13/AN03/SCK1_1/IC01_2/MCSX4_0 Motor Drive0-I_DC_BUS P14/AN04/SIN0_1/INT03_1/IC02_2/MAD00_0 Motor Drive0-I_PH_A P15/AN05/SOT0_1/IC03_2/MAD01_0 Motor Drive0-I_PH_B P16/AN06/SCK0_1/INT20_1/MAD02_0 Motor Drive0-I_PH_C P17/AN07/SIN2_2/INT04_1/MAD03_0 Motor Drive1-U_DC_BUS P18/AN08/SOT2_2/INT21_1/MAD04_0 Motor Drive1-U_PH_A P19/AN09/SCK2_2/INT22_1/MAD05_0 Motor Drive1-U_PH_B P1A/AN10/SIN4_1/INT05_1/TIOA13_2/IC00_1/MAD06_0...
  • Page 16 Hardware Pin-List SK-FM3-176PMC-ETHERNET (6/8) Function Description Motor Drive2-U_PH_A PB1/AN17/TIOB09_1/SOT7_2/INT17_0 Motor Drive2-U_PH_B PB2/AN18/TIOA10_1/SCK7_2/INT18_0 Motor Drive2-U_PH_C PB3/AN19/TIOB10_1/INT19_0 Motor Drive2-I_DC_BUS PB4/AN20/TIOA11_1/SIN0_2/INT20_0 Motor Drive2-I_PH_A PB5/AN21/TIOB11_1/SOT0_2/INT21_0/AIN2_2 Motor Drive2-I_PH_B PB6/AN22/TIOA12_1/SCK0_2/INT22_0/BIN2_2 Motor Drive2-I_PH_C PB7/AN23/TIOB12_1/INT23_0/ZIN2_2 P29/AN24/MAD12_0 P28/AN25/ADTG_4/INT09_0/RTO05_1/MAD13_0 P27/AN26/INT02_2/RTO04_1/MAD14_0 P26/AN27/SCK2_1/RTO03_1/MAD15_0 P25/AN28/SOT2_1/TX1_0/RTO02_1/MAD16_0 P24/AN29/SIN2_1/INT01_2/RX1_0/RTO01_1/MAD17_0 Variable resistor P23/AN30/SCK0_0/TIOA07_1/RTO00_1 UART0 ( TXD) P22/AN31/SOT0_0/TIOB07_1/ZIN1_1...
  • Page 17 Hardware Pin-List SK-FM3-176PMC-ETHERNET (7/8) Function Description MCUVCC JTAG TRSTX P00/TRSTX JTAG TCK / TRACE TCK P01/TCK JTAG TDI/ TRACE TDI P02/TDI JTAG TMC/ TRACE TMC P03/TMS JTAG TMC/ TRACE TMC P04/TDO Motor Drive2-PWM1H P90/TIOB08_0/RTO20_1/INT30_0/MAD19_0 Motor Drive2-PWM1L P91/TIOB09_0/RTO21_1/INT31_0/MAD20_0 Motor Drive2-PWM2H P92/TIOB10_0/RTO22_1/SIN5_1/MAD21_0...
  • Page 18 Hardware Pin-List SK-FM3-176PMC-ETHERNET (8/8) Function Description USB Host enable PCA/E_CRS0 Ethernet VCC ETHVCC PCB/E_COUT PCC/E_MDIO1 Reset Ethernet switch PCD/E_TCK0_MDC1 Ethernet PCE/E_TXER0_TXEN1/RTS4_0/TIOB06_1 Ethernet PCF/E_TX03_TX11/CTS4_0/TIOB08_2 Ethernet PD0/E_TX02_TX10/SCK4_0/TIOB10_2/INT30_1 Ethernet PD1/E_TX01/SOT4_0/TIOB14_0/INT31_1 Ethernet PD2/E_TX00/SIN4_0/TIOA03_2/INT00_2 Ethernet PD3/E_TXEN0/TIOB03_2 Ethernet P62/E_PPS0_PPS1/SCK5_0/ADTG_3 USB UHCONX P61/SOT5_0/TIOB02_2/UHCONX0 Programming Switch S1 P60/SIN5_0/TIOA02_2/INT15_1...
  • Page 19 The Hardware (v2.0 Top Side) – Jumper Settings : default position Version 2.0: JP47 JP52 JP51 JP42 JP39 JP58 JP70 JP76 JP41 JP81 JP65 Board version 1.1: JP47-50, default closed JP56 JP46 JP40 JP17 JP10 JP18 JP14 JP13 JP5-7 JP1-4 © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 20 The Hardware (v2.0 Bottom Side) – Jumper Settings JP54 JP60 JP53 JP59 JP55 JP38 JP61-64, JP66-69 JP19-26,JP29-36 JP57 JP71-75, JP77-80 JP82-105 JP45 JP12 JP43 JP27 JP44 JP11 JP28 JP37 JP16 JP15 © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 21 Jumper Jumper Settings SK-FM3-176PMC-ETHERNET Number Description Special Type Default Number Description Special Type Default Main Clock Oscillator open JP19 SEG1 - P50 Solder Jumper closed Main Clock Oscillator open JP20 SEG1 - P51 Solder Jumper closed Main Clock Oscillator open...
  • Page 22 Jumper Jumper Settings SK-FM3-176PMC-ETHERNET Description Number Description Special Type Default Number Version 1.1 Version 2.0 Special Type Default JP47 FTDI JTAG closed JP37 SPI / SIN-Pin Solder Jumper open JP48 FTDI JTAG closed JP38 CAN MCUVCC / VCC5V Solder Jumper 2-3...
  • Page 23 Jumper Jumper Settings SK-FM3-176PMC-ETHERNET Number Description Special Type Default Number Description Special Type Default JP65 Ethernet PHY0 Reset JP83 Motor Control 1 Solder Jumper open JP66 Ethernet PHY0 Solder Jumper closed JP84 Motor Control 2 Solder Jumper open JP67 Ethernet PHY0...
  • Page 24 UART0 = USB-connector (X11), UART4 = Sub-D9 (X12) (default) RS232  Setting of Jumper JP51 and JP52: U-0 / R-4 (default) − UART0 = Sub-D9 (X12), UART4 = USB-connector (X11)  Setting of Jumper JP51 and JP52: U-4 / R-0 RS232 © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 25 JLINK/JTAG connector X14 (CN3 − USB device connector X7 − by UART B USB connector X11  The Microcontroller can be supplied with 3.3V or 5V − Jumper JP17 selects MCUVCC − Default: JP17: 1-2 (3.3V) © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 26 Software © 2014 Spansion Inc. CONFIDENTIAL CONFIDENTIAL...
  • Page 27: Software Examples

    AJAX-enabled web application Note: Please copy the examples to your local drive before compiling! You can find a demonstration firmware and additional product information of the commercially supported TCP/IP stack by SEVENSTAX on this © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 28: Software Tools

    On-board UART-to-USB converter (via X11, CMSIS-DAP)  For driver installation <drive:>\drivers\driverinstaller.exe − FLASH USB DIRECT Programmer  Microcontroller Flash programming (via X7, USB-Device-Port)  Install from <drive:>\tools\USBDIRECT − Terminal program ‚Serial Port Viewer‘  Install from <drive:>\tools\serialportviewer\setup.exe © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 29: Flash Programming

    Flash Programming © 2014 Spansion Inc. CONFIDENTIAL CONFIDENTIAL...
  • Page 30 For installation <drive:>\tools\PCWFM3-V01L07\setup.exe  For driver installation of USB/Virtual-COM port v2.0: <drive:>\drivers\driverinstaller.exe  v1.1: Spansion OpenOCD Starter -> button „Install driver“ − JTAG Programming via X11 (v2.0: CMSIS-DAP, v1.1: OpenOCD)  Example is given for KEIL  See documentation of your development suite how to setup CMSIS-DAP −...
  • Page 31 <drive:>\tools\USBDIRECT\driver − Start the FLASH USB DIRECT Programmer  For first installation: <drive:>\tools\USBDIRECT\setup.exe  Select the COM port  Press Reset  Start Full Operation  Set switch S1 to position RUN  Press Reset © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 32 Select Virtual COM-port  Use ‚Full Operation‘ − Download kernel − Erase Flash memory / Blank check − Program & Verify project to Flash memory  Set switch S1 to position RUN and press Reset button © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 33 Connect the board via USB CMSIS-DAP (CN3) to the USB-Port of the PC  When connected for first time Windows OS may ask for ‚spansionusbvcomm.inf‘ • <drive:>\drivers\cmsis-dap − Use the FLASH MCU Programmer for FM3/FM4  For installation <drive:>\tools\PCWFM3-V01L07\setup.exe © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 34 Select file (*.srec / *.hex) Select Virtual COM-port Execute ‚Full Operation‘ incl. stand-alone operations - Download Kernel - Erase - Blank Check - Program&Verify  Set switch S1 to position RUN and press Reset button © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 35 JTAG Debugger © 2014 Spansion Inc. CONFIDENTIAL CONFIDENTIAL...
  • Page 36 JTAG adapter  SK-FM3-176PMC-FA contains an on-board JTAG debugger that can be connected via X11 (UART B) USB connector.  Board version v2.0 uses CMSIS-DAP  Board version v1.1 uses OpenOCD © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 37 No jumper setting is required  Additional virtual COM port is provided by X11 (UART B)  For driver installation <drive:>\drivers\driverinstaller.exe  Please set jumper J19 and J20 accordingly SIN0/SOT0 X11 (USB) CMSIS-DAP MB9BFD18T JTAG X14 (JTAG) © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 38 JTAG adapter CMSIS-DAP – within IAR EWARM Setup in IAR EWARM (1)  Navigate to project options: − Via Files-List  Right-click at the project  Select „Options...“ − Or via menu „Project“  Select „Options...“ © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 39 Setup in IAR EWARM (2)  Setup Project Debbuger Options − (1) Navigate to Debugger − (2) Select tab „Setup“ − (3) Select Driver „CMSIS-DAP“ − (4) Select in „CMSIS-DAP“ − (5) Select tab „JTAG/SWD“ − (6) Select SWD © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 40 JTAG adapter CMSIS-DAP – within Keil µVision Setup in Keil µVision (1)  Navigate to project options: − Via Project  Right-click at the project  Select „Options...“ − Or via menu „Project“  Select „Options...“ © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 41 JTAG adapter CMSIS-DAP – within Keil µVision Setup in Keil µVision (2)  Setup Debug & Utilities − (1) Select tab „Debug“ − (2) Select „CMSIS-DAP Debugger“ − (3) Select tab „Utilities“ − (4) Select „CMSIS-DAP Debugger“ © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 42 CMSIS-DAP Firmware update Please see instructions contained in firmware update package! © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 43 Debugging with OpenOCD (Board revision 1.1 only)  SK-FM3-176PMC-ETHERNET v1.1 offers on-board debugging via OpenOCD instead of CMSIS-DAP via X11 − Connect the board on X11 to the USB-Port of your PC − Open OpenOCD − Select the sk-fm3-176pmc-ethernet in config file −...
  • Page 44 Debugging with OpenOCD (Board revision 1.1 only)  IAR Workbench configuration − Open the project you want to debug. − Go to Project->Options − Select Debugger − Select Setup − As driver select GDB Server © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 45 Debugging with OpenOCD (Board revision 1.1 only)  IAR Workbench configuration − Select GDB Server − Type 127.0.0.1 on the field of TCP/IP address − Start debug in IAR Workbench © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 46: Iar Embedded Workbench

    IAR Embedded Workbench  Installation  Getting Started  Open Project  Build Project  Debug Project © 2014 Spansion Inc. CONFIDENTIAL CONFIDENTIAL...
  • Page 47 Install EWARM from IAR-CD or download latest version from IAR Website − EWARM size-limited (32k) or time-limited (full) Evaluation Version  http://supp.iar.com/Download/SW/?item=EWARM-EVAL  Start EWARM Workbench Choose File → Open → Workspace  − e.g.: <drive:>\sw-examples\ © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 48 Workbench window  If hidden then View→Workspace − Source files on right side of Workbench window as tabbed windows − Project open File → Open → Workspace → *.eww − For new projects start with ‚mb9bfd1xt_template’ © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 49: Configuration Control

    (compile, make, Control save, etc.) stop build) (e.g. RAM or ROM debugging) Navigation Control Debug Control Edit Control (Find, Bookmarks, File (Breakpoint, start (cut, copy, Navigation, etc.) Debug w/ and w/o paste, undo, download) redo) © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 50 IAR Workbench – Workspace  IAR Workspace Window Project Name Sub Folder Modules Main Modules Module Includes Project Description Project Built Output © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 51 IAR Workbench – Making Project  Making the Project − Use Make-Icon ( ), <F7> or Menu: Project→Make − Check for no errors in Output window below − Build errors are indicated by In Output window and Source view © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 52 − Icon, <Ctrl>-D, or Project→Download and Debug − A new menu bar will occur on sucessful connection to target Step Run to Reset Step Debugging Cursor Target Over Stop Step Next Trace Statement Control Into © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 53: Source Window

    The Source windows do not change contents but get additional information  Current line (PC):  Halted on Breakpoint:  Halted on Data break (example):  Disassembly Window − Shows ‘pure‘ disassebly view − Shows mixed mode view © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 54: Watch Window

    Expressions/Variables have to be added by user and are updated by Halt/Breakpoint − Quick Watch  The Quick watch allows the user to calculate and recalculate expressions even with variables  The drop down menu memorizes the last typed contents © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 55 IAR Workbench – Simulator  Simulator − Mark Project File in Workspace − Choose Project→Options − Choose Simulator in Debugger Setup − Start Simulator with usual Icon © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 56 KEIL µVision  Installation  Getting Started  Open Project  Build Project  Debug Project © 2014 Spansion Inc. CONFIDENTIAL CONFIDENTIAL...
  • Page 57 Special installation is not needed, because ULINK-ME acts as a USB Human Interface Device (HID) and thus needs no extra USB driver  Install ULINK Pro (optional) − ULINK Pro needs an own dedicated USB driver located in: <Installation Path>\KEIL\ARM\ULINK  Start µVision © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 58 KEIL µVision – Getting Started Choose Menu: Project→Open Project...  − Browse to: <drive:>\sw-examples\mb9bf56xr_gpio-v10\example\ARM\ − Choose mb9bf56xr_gpio.uvproj © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 59 Project window on left side of IDE window  Choose: View→Project Window if hidden − Source files on right side of IDE window as tabbed windows − Output window on bottom side of IDE window © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 60 (new, open, (Bookmarks + search, etc.) Window View save, etc.) (Text search, search in files, etc.) Edit Control Debug Control (cut, copy, paste, etc.) (Start/Stop Debug Session, Configuration (indention, commenting) set/remove/disable breakpoints, remove/disable all breakpoints) © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 61 Can be moved in bar window area or set floating Configuration Build Control Manage Books, Control (Compile [Translate], File Extensions, (e.g. RAM or ROM Build, Rebuild, etc.) Environment debugging) MB9BF51x Release Download Target Manage to Target Options Multi- Project Workspace © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 62 KEIL µVision – Project Window  µVision Project Window Project Name Startup Code Subfolder Startup Code Source and Header Files Main Project Code Subfolder Main Project Code Source and Header Files Project Description Subfolder and Abstract File © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 63 ) or Project→Rebuild all target files − Check for no errors in Output window below − Build errors are shown in Output window.  Can be double-clicked by showing the source line with a blue arrow © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 64: Start Debugging

    Use Download Icon ( ) or Menu: Flash→Download − Start Debug Session ) or Menu: Debug→Start/Stop Debug  Use Start/Stop Debug Icon ( Session − Ending Debug Session  Use same way as for starting debug session © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 65 (Command, (Step in, out, etc.) Disassembly, Symbols, (can be Target Registers, Call Stack) customized) Debug Start/ Show Show (multiple) Stop Source/Code Windows Restore (Watch, Memory, Serial, Views Application Line of current Analysis, Trace, System Viewer) © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 66: Source View

     Source View − The Source windows do not change contents but get additional information Active Breakpoint Disabled Breakpoint Current Program Counter Current Cursor Line of Source Code Code Lines with compiled Instructions (dark grey © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 67: Disassembly View

    KEIL µVision – Debug (4)  Disassembly View − Mixed mode is selectable and deselectable Active Breakpoint Disabled Breakpoint Current Program Counter Current Cursor Line of Code highlighted in yellow background ( ) © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 68: Memory Window

    Memory window tabs are shared with Watch windows  Register View − Register view is a tab of the Project window − Changes are highlighted in dark blue text background − Register tree knots can be expanded © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 69 Local View  The local view shares the tab with e.g. Memory and Watch windows  Any changes are highlighted in dark blue text backround color  Displayed values can be changed by user during break © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 70 KEIL µVision – Trace (ULINK ME)  Trace via ITM − Simple Trace views via Instrumentation Trace Macro is supported by µLINK ME  Records  Exceptions  Counters © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 71 KEIL µVision – Trace (ULINK Pro) (1)  Trace via ETM − Check settings in menu: Flash→Configure Flash Tools... Tab:Debug enables ETM pins © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 72: Instruction Trace

    KEIL µVision – Trace (ULINK Pro) (2)  Instruction Trace − Real Time Trace recording − Output can be filtered by several ETM and ITM events − Trace buffer is held in PC memory and transfered to µVision on break © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 73 − The Core Simulator can be selected by the menu: Flash → Configure Flash Tools... and then choosing Use Simulator − Look & feel is like using ULINK debugger − Controlable also with *.ini files © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 74 Finally © 2014 Spansion Inc. CONFIDENTIAL CONFIDENTIAL...
  • Page 75: Workshops & Seminars

    Motor Control USB Workshop Ethernet Workshop Please register here: http://news.spansion.com/seminars • Overview FM3/FM4 family • Introduction of Spansion MCU • Introduction of Spansion MCU • Introduction of Spansion MCU • Memory • Line-Up of microcontrollers • Line-op of USB MCUs •...
  • Page 76 Spansion Support  Please check the following website, for any available updates www.spansion.com  Please contact your local support team for any technical question America: Spansion.Solutions@Spansion.com China: mcu-ticket-cn@spansion.com Europe: mcu-ticket-de@spansion.com Japan: mcu-ticket-jp@spansion.com Other: http://www.spansion.com/Support/SES/Pages/Ask-Spansion.aspx © 2014 Spansion Inc. CONFIDENTIAL...
  • Page 77: Eu-Konformitätserklärung / Eu Declaration Of Conformity

    EU-Konformitätserklärung / EU declaration of conformity Hiermit erklären wir, Spansion International Inc., Germany Branch, Pittlerstrasse 47, 63225 Langen, Germany, dass dieses Board aufgrund seiner Konzipierung und Bauart sowie in den von uns in Verkehr gebrachten Ausführung(en) den grundlegenden Anforderungen der EU-Richtlinie 2004/108/EC „Elektromagnetische Verträglichkeit“ entspricht.
  • Page 78 According to the European WEEE-Directive and its implementation into national laws we take this device back. − For disposal please send the device to the following address: CCS Express GMBH c/o Spansion International Inc. Frankfurter Str. 83-107 D-65479 Raunheim Germany ...
  • Page 79 This document is for informational purposes only and subject to change without notice. Spansion does not represent that it is complete, accurate or up-to-date; it is provided “AS IS.” To the maximum extent permitted by law, Spansion disclaims any liability for loss or damages arising from use of or reliance on this document.

Table of Contents