Home
SK-FM3-176PMC-ETHERNET - ARM DS
Contents
1. Lwo Peyomeomron amrai OMADDO Merivek __ Peemot SINS 12 __ omm visors _ 144 ORTOS 1NT27 ________ PC8 E_RXCKO_REFCK Ethernet clock in 133 134 135 136 137 138 139 140 141 142 53 54 PC9 E COLO Host Device USB switch 2014 Spansion Inc CONFIDENTIAL SPANSION 18 Hardware Pin List SK FM3 176PMC ETHERNET 8 8 Pin 158 PCBE COUT 167 ppso ppsyscks obte s 170 ZINTI pramosos xa 2014 Spansion Inc CONFIDENTIAL SPANSION Version 2 0 oo eee DS Fr m 2000 00000 r UON Ub 5 Cu lt Came 8901 aU LJ LJ Board version 1 1 JP47 50 default closed am _ SPANSION a WW SDATLSLODLCOTTI Cr 122 5 2550 m EST LES 151 510 1 no ac T 3 i un RAP oc amp A al n LE l TRACE T ta 1 tr orii E THERNET U2 57 CONFIDENTIAL The Hardware v2 0 Bottom Side Jumper Settings FEE nm HANE
2. ROM monitar APROJ DIRS config R am mac E I dry hd44 80 h J Link J Trace R H E dre hda4780 Lh LMI FTDI Macraigor RDI ST Link Override default Third Party Driver OOLEIT_DIRESCONFIG SdebuggersFujtsuiombSbrS00 ddf EJ I El intrinsics h I io_macros h I iornbSbfS00 h I F stdia h I xencoding_limits h I ycheck h I ysizeth wals h I readme tt Device descriptian file SPANSION 55 2014 Spansion Inc CONFIDENTIAL a SPANSION a u Installation Getting Started 5 Tools bv ARM uVision 4 B Bu ld Project Integrated Development Environment Open Project Copyright 1997 2005 Keil Software 2005 2009 ARM Ltd All rights reserved D e b e P roj ect This product is protected by US and international laws CONFIDENTIAL KEIL uVision IDE and Debugger Getting Started Install u Vision from KEIL CD or download latest version from KEIL Website Evaluation Version httos www keil com demo eval arm htm Registration required Install ULINK ME 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 lt Installation Path gt KEIL ARM ULINK
3. P7A ZIN1 O INT24 1 MADATA15 0 P7B TIOBO7 10 0 P7C TIOA07 O0 INT11 0 P7D TIOA14 1 FRCK2 1 INT12 0 Hall Sensor2 3 N co Co Co P7E TIOB14 1 IC21 1 INT24 0 P7F TIOA15 1 IC22 1 INT25 0 Paz Hall Sensor2 5 SIN Multicon Connector N N 8 PFO TIOB15_1 SIN1_2 INT13_O IC23_1 82 PF1 TIOA08 1 SOT1 2 INT14 0 83 PF2 TIOBO8 1 SCK1 2 INT15 0 E N ERNE 84 PEO MD1 85 MDO Programming Switch S1 2 0 4MHz Crystal 97 PE3 X1 4MHz Crystal VSS GND 2014 Spansion Inc CONFIDENTIAL N SPANSION 15 Hardware Pin List SK FM3 176PMC ETHERNET 5 8 Pin Function Description 2014 Spansion Inc CONFIDENTIAL N SPANSION a Hardware Function Description 200000000000 000000000 P28IAN2S ADTG 4 INT09 ORTOS P2HAN2GINTO2 2 RTODA __ P26IANRTISCK2 _____ l PESJAN2B SOT2 TX O RTO02 PEAJAN2BISINZ 1IMADIT P22 AN31 SOTO 0 TIOBO7 1 ZIN1 1 UARTO TXD P21 SINO 06 1 BIN1 1 RR FF PFG FRCK2 0 NMIX SPANSION 16 2014 Spansion Inc CONFIDENTIAL a Hardware Pin List SK FM3 176PMC ETHERNET 7 8 a i 11 2 Le 000000000 Meme eek ____ TMS we ewmo 139
4. SPANSION 47 2014 Spansion Inc CONFIDENTIAL Workbench Main Window Workbench Workspace on left side of Workbench window f 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 mbobfdixt _ template 48 2014 Spansion Inc CONFIDENTIAL Embedded Workbench IDE File Edit View Project Tools Window Help x IV VEE D ue s workspace tall Information Center for ARM Information Center for ARM Information Center for ARM EXAMPLES Example description GettingStarted eww x E DESCRIPTION This example project shows how to use the IAR Embedded Workbench for ARM to develop code for IAR KSK MBSBF50B board It shows basic use of Dual timer and the interrupt controller COMPATIBILITY The example project is compatible with IAR KSK MBSIBF506 board By default the project is configured to use the J Link SWD interface CONFIGURATION The GettingStarted application is downloaded to the iFlash or memory depending on selected configuration and executed GETTING STARTED 1 Start the IAR Embedded Workbench for ARM fo 4 GettingStarted Ready SPANSION IAR Workbench Menu Bar u Menu Bar File Control Config
5. Start uVision SPANSION 57 2014 Spansion Inc CONFIDENTIAL 58 KEIL uVision Getting Started Choose Menu Project Open Project Browse to lt drive gt sw examples mb9bf56xr_gpio v10 example ARM Choose mb9bf56xr_gpio uvpro WBlinky p ision4 Ese Edit View Project Flash Debug Peripherals Tools SWCS Window amp am ERN ara i T Ej Fj weoersox Flash j Flash The BTinky project 15 a simple demo program for the Fujitsu MB9BF506 microcontroller using Keil MCB9BF500 Evaluation Board compliant TA cy l to Cortex Microcontroller software Interface standard CMSIS v1 30 F system 9 50 EE e functionality en stdint h ock settings us mb9bF50x h PLLQ 80 MHz core cm3 h CCLK 80 MHz aa system mb9bfS0x h SN Source Files Blinky c s stdio h 3 mb9bfSox h core cm3 h stdint h 0 system mbSbf5Ox h B 3 IRQ c s mb9bfS x h MBOBF50x RAM runs from Internal RAM located on chip la core ema h used for target debugging js stdint h Bore B MB9BF50x Flash runs from Internal Flash located on chip Pp mb9bf50x used for production or target debugging erial c A mbsbfsox h xi ae Fun D Build Output SysTick Timer is used in interrupt mode 8 LEDs blinklwith speed depending on potentiometer position AD conversion is done in interrupt m
6. stdio h rt_misc h B Documentation Output window on bottom side of IDE window E Output Find In Files N SPANSION 59 2014 Spansion Inc CONFIDENTIAL a KEIL p Vision Menu Bars 1 Menu Bar 1 Can be moved in bar window area or set floating File Control Navigation Control Project new open Bookmarks search etc Window View save etc Text search search in files etc ERAR E E E Edit Control Debug Control IDE cut copy paste etc Start Stop Debug Session Configuration indention commenting set remove disable breakpoints remove disable all breakpoints SPANSION 60 2014 Spansion Inc CONFIDENTIAL T KEIL uVision Menu Bars 2 u Menu Bar 2 Can be moved in bar window area or set floating Configuration Build Control en Manage Books Compile Translate File Extensions Build Rebuild etc e g RAM or ROM debugging Environment Download Target Manage to Target Options Multi Project Workspace SPANSION 61 2014 Spansion Inc CONFIDENTIAL a 62 KEIL uVision Project Window uVision Project Window Project 21 2 MBSBFSOx Flash E StartUp E startup MBSBFSOx s Ei E system MB3BFSOx c 7 stdint h hu mb9bfsnx h Es core cma3 h m system mbibrSox h O3 Source Files A Bl
7. N SPANSION a SK FM3 176PMC ETHERNET Hardware 2 0 Documentation V1 0 CONFIDENTIAL 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 1 Please note that the deliverables are intended for and must only be used for test applications in an evaluation laboratory environment 2 The software deliverables are provided on an as is basis without charge and are subject to alterations It is the user s obligation to fully test the software in its environment and to ensure proper functionality qualification and compliance with component specifications 3 Regarding hardware deliverables the following limited warranty shall apply Except as otherwise provided in the following paragraphs for a period of one 1 year from date of shipment to customer Warranty Period SPANSION warrants the hardware deliverables i are free of defects in material and workmanship and ii conform to SPANSI
8. below Build errors are indicated by A or In Output window and Source view Link time LOB CPL 0 06 elapsed Total number of errors 0 Total number of warnings 0 Warnings 1 63 Error while running C C Compiler Total number of errors 1 Total number of warnings 1 SPANSION 51 2014 Spansion Inc CONFIDENTIAL IAR Workbench Download to Target Download to Target and Start Debugging Use Icon Ctri D or Project Download and Debug Anew menu bar will occur on sucessful connection to target Reset Step Step Run to End Target Over Out Cursor Debugging gt 2222 2 Into Statement Control SPANSION 52 2014 Spansion Inc CONFIDENTIAL IAR Workbench Debug 1 Source Window The Source windows do not change contents but get additional information Current line PC 9 155 cow TIR bit mowr 9 9 Halted on Breakpoint 172 esu bic POWT 2 Halted on Data break example 1 148 Timerlintcir 1 Disassembly Window Shows pure disassebly view Shows mixed mode view la to Memory B Uxififfcibc 0 6001 STR ri pen ifi i BUT main 4 Uxififcibe 0 4824 DataTablel 33 xlfffc45 ri Uzlifffcic0 LDE xlfffc3c4 Uxdidc main z xlfffc380 Timerilontrol bit TimerEn 1 Uxlificicb 4821 LDF DataTablei 32 xlff
9. closed JP51 UART SOTUSB RS2332 UO JP52 UART SINUSB RS2332 RL JP53 flowconro PA _ 57 RIS JP58 UART RST JP61 thernetPHYO Solder Jumper closed JP62 EthernetPHYO Solder Jumper closed JP63 thernetPHYO Solder Jumper closed SPANSION CONFIDENTIAL 23 Jumper Jumper Settings SK FM3 176PMC ETHERNET Number Description Special Type Default JP65 themetPHYOReset fl 2 JP70 Ethernet Clock Enabled JP77 EthernetPHY1 Solder Jumper closed pthemetVC f2 1 P76 _EthernetPHY1Reset fl 2 Solder Jumper closed 1 Number Description Special Type Default SPANSION a CONFIDENTIAL Jumper Connector selection for serial interface u JP51 JP52 UAHT selection UARTO and UART4 of the microcontroller can be used together with a standard RS232 SUB D9 connector and a serial USB converter The jumpers JP51 and JP52 routes the channel to the connector The interface is selected by the jumpers alignment UARTO USB connector X11 UART4 Sub D9 X12 default Setting of Jumper JP51 and JP52 U 0 R 4 LES 295 T e UARTO Sub D9 X12 UART4 USB connector X11 Setting of Jumper JP51 and JP52 U 4 R 0 RS232 _ USB Tl SL or c mi 44 ce Ms S us SPANSION 24 2014 Spansion Inc CONFIDENTIAL Jumper Power the starter
10. mo 4 CONFIDENTIAL 21 Jumper Jumper Settings SK FM3 176PMC ETHERNET Default Number Description Special Type JP1 Main Clock Oscillator JP2 Main Clock Oscillator _ _ Clock Oscillator open JP4 Clock Oscillator open 5 Sub Clock Oscillator open JP6 _ Clock Oscillator open JP7 Sub Clock Oscillator open CPin Solder Jumper closed Solder Jumper closed JP10 UsB UARTprogramming open JP11 Sub Clock Oscillator Solder Jumper closed JP12 Sub Clock Oscillator Solder Jumper closed JVRH Esed Iia closed JP15 Clock Oscillator 7 SolderJumper closed JP16 Clock Oscillator 7 Solder Jumper closed e is wuvcc 1 CONFIDENTIAL Number Description Special Type Default JP27 Multicon 12c scL Pullup closed IP28 Multicon I2C SDA Pullup closed SPANSION a 22 Jumper Jumper Settings SK FM3 176PMC ETHERNET Description Number Version 1 1 Version 2 0 Special Type Default p39 lusevcco JP40__VBUSUSBHO B 012 2 USBUHCONX 45 Potentiometer Solder Jumper VBUS USBH1 2 __ closed FTDI JTAG CMSIS DAP prog v2 0 open 46 Default closed Number Description Special FTDI JTAG pas FTDIJTAG closed 9 FTDIJTAG closed IPSO FTDIJTAG
11. 4MHz Crystal Frequency Browse for the programming file srec or hex see subfolder lt project gt example lAR output release exe ARM KEIL see subfolder lt project gt example ARM output release Adjust the corresponding virtual COM port Select MCU MB9BFD1 8S T xa FUJITSU FLASH MCU Programmer for FM3 Targe 9 1 8 Start Addr Addr Size Select 8 Crystal Frequency MN EU TEE ER Select file srec hex E 100000H 100001H 000002H Select Virtual COM port Hex File mbSbbooc can wart termina Open Execute Full Operation incl stand alone operations gt tii j SetEnvironment Her Download Kernel Download Erase Blank Check __ idum Erase Program amp Verify Read amp Compare Copy Blank Check Program amp Verify Set switch 51 to position RUN and press Reset button Flash Information SPANSION 34 2014 Spansion Inc CONFIDENTIAL SPANSION a Debugger CONFIDENTIAL 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 SPANSION 36 2014 Spansion Inc CONFIDENTIAL a JTAG adapter CMSIS DAP his starterkit includes an on board JT AG adapter Compatible to CMSIS DAP http www keil com support man do
12. Europe mcu ticket de 2spansion com Japan mcu ticket jp Ospansion com Other http www spansion com Support SES Pages Ask Spansion aspx SPANSI ON 76 2014 Spansion Inc CONFIDENTIAL a 77 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 Durch eine Ver nderung des Boards Hard und oder Software verliert diese Erkl rung ihre G ltigkeit We Spansion International Inc Germany Branch Pittlerstrasse 47 63225 Langen Germany hereby declare that the design construction and description circulated by us of this board complies with the appropriate basic safety and health requirements according to the EU Guideline 2004 108 EC entitled Electro Magnetic Compatibility Any changes to the equipment hardware and or software will render this declaration invalid Note This evaluation board is a Class A product according to EN61326 1 It is intended to be used only in a laboratory environment and might cause radio interference when used in residential areas In this case the user must take appropriate measures to control and limit electromagnetic interference All data a
13. S Ee VSS GND SPANSION 12 2014 Spansion Inc CONFIDENTIAL A Hardware Pin List SK FM3 176PMC ETHERNET 3 8 MCUVCC 40 00 0 RTO10 1 INT12 1 P41 TIOAO1 O RTO11 1 INT13 1 PA2ITIOAO2 RTOI 1 o O RTO13 1 ADTG 7 VCC 44 04 O RTO14 1 45 5 0 15 1 c SS CC MCUVCC V V PA7 X1A Subclock optional INITX Key button Reset P48 DTTITX 1 INT14 1 SIN3 2 P49 TIOBOO 0 IC10 1 AINO 1 SOT3 2 01 0 IC11 1 BINO 1 SCK3 2 MADATAOO 0 PAB TIOBO2 0 IC12 1 ZINO 1 MADATAO 1 0 PAC TIOBOS 0 IC13 1 SCK7 1 AIN1 2 MADATAO2 0 PAD TIOBOA 1 1 SOT7 1 BIN1 2 MADATAOS3 0 P4E TIOB05_O INTO6_2 SIN7_1 ZIN1_2 MADATA04_0 P70 TX0_0 TIOA04_2 MADATA05_0 Pin P71 RXO 0 INT13 2 04 2 MADATAO6 0 SPANSION 13 2014 Spansion Inc CONFIDENTIAL a 14 Hardware Pin List SK FM3 176PMC ETHERNET 4 8 Pin Function Description SEG2 C QPRC2 A O P72 SIN2_O INT14_2 AIN2_0 MADATA07_0 P73 SOT2 0 INT15 2 BIN2 0 MADATAQ8 0 SEG2 D QPRC2 B P74 SCK2 O ZIN2 9 0 DEG FQPREZZ 7 SEG2 F e P75 SIN3 O ADTG 8 INTO7 1 MADATA10 0 SEG2 G N P76 SOT3_0 TIOA07_2 INT11_2 MADATA11_0 SEG2 DP P77 SCK3 O TIOBO7 2 INT12 2 MADATA12 0 SW Rotary A QPRC1 A N P78 AIN1 O TIOA15 0 MADATA13 0 SW Rotary B QPRC1 B N gt P79 BIN1 O TIOB15 23 1 MADATA14 0 QPRC1 Z
14. User C C Asm Linker Debug Utilitie Configure Flash Menu Command Use Target Driver for Flash Programming 3 Select tab Utilities 4 Select CMSIS DAP Debugger Signum Systems JT Gjet J LINK J Trace Cortex ST Link Deprecated Version ULINK Pro Cortex Debugger NULink Debugger CooCox Debugger ST Link Deprecated Version SiLabs UDA Debugger ST Link Debugger CMSIS DAP Debugger Fast Models Debugger Init File C Use Exter Command Arguments 41 2014 Spansion Inc CONFIDENTIAL JULINK2 ME Cortex Debugger Settings 7 3 Update Target before Debugging zl N SPANSION CMSIS DAP Firmware update Please see instructions contained in firmware update package 42 2014 Spansion Inc CONFIDENTIAL 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 T Spansion Starter Config File skim3 176pmersthemeteig 0 00 Firmware File msi Div Commands Programming Debugging GUI Frontend for OpenOCD Operation E Sat Debug D imer sauce na If necessary you can install with LibUSB win3 driver or reinstall the drivers via the ht
15. amp Mew uVision Project e Select Options 52 Ed New Multi Project Workspace Open Project Clase Project Export Manage Select Device for Target MBSBFxx6 Release Remove Item SPANSION 40 2014 Spansion Inc CONFIDENTIAL a JTAG adapter CMSIS DAP within Keil Vision V Options for Target MB9BFxx6 Release Setup in Keil uVision 2 C Use Simulator Limit Speed to Real Time Run to main Load Application at Startup Initialization File Setup Debug amp Utilities 1 Select tab Debug 2 Select CMSIS DAP Debugger Restore Debug Session Settings Breakpoints v Toolbox watch Windows amp Performance Analyzer Memory Display CPU DLL SARMCM3 DLL Parameter Dialog DLL Parameter DCM DLL Device Target Output Listing User Linker Debug x tiities Settings f Use 2 Cortex Debugger Settings ST Link v Eon ULINK Pro CortexWebugger Initializatid NL Link Debugger CooCox Debugger ST Link Deprecated SiLabs Debugger BERGE ST ink Debugger MAH CMSIS DAP Debugger Vv ms Models Debugaer 1 Memory Display Edit Driver DLL SARMCM3 DLL Parameter Dialog DLL Parameter TCM DLL 4 V Options for Target MB9BFxx6 Release Device Target Output Listing
16. kit and the microcontroller The starter kit be powered by external power supply 8 12V default 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 B Jumper JP17 selects MCUVCC PU 08 Default JP17 1 2 3 3V E LJ MCUUCC LO1 Al EE 2 POWER B SPANSION 25 2014 Spansion Inc CONFIDENTIAL a SPANSION a CONFIDENTIAL Software Examples Software examples for IAR EWARM V6 60 or KEIL uVision5 1 see lt drive gt Examples or www spansion com mb9bfdi8t template v16 Peer Empty project as base for user applications a mb9bfxxx ethernet driver v13 zip Welcome to SPANSION FM3 This Webserver runs an MESBFOTST microcontroller a member of Spansson s FM3 family SPANSION a powered by the lwiP lighteeight stack a UJ OW eve Et h e rn et d r ve r f mt en a meas background without the need to reload the whole page You can find mb9bfxxx ethern et uip v1 9 Zip Controls on SK FM3 176PMC ETHERNET Port of the free uIP micro IP 5 4 QPRC Quadrature Position Fevolubon Counter 1492 TCP IP stack including webserver Pushbuttons SW2 and SW3 associated with these two buttons 54 m b9 bfxxx eth e rn et Iwi 1 4 2 For more mformation updates cod
17. 5740 1 3 42283 1 037571 740 1 03751 40 1 03751 40 1 03751 40 1 037571 40 1 037571 40 Type 0 Num Address Data FC Cycles SPANSION 70 2014 Spansion Inc CONFIDENTIAL KEIL uVision Trace ULINK Pro 1 race via EI M Check settings in menu Flash Configure Flash Tools Tab Debug Options for Target 5 Flash Device Target Dutput Listing User Asm Linker Debug Utilities pE OOOO O I UU C Use Simulator Settings ULINK Pro Cortex Debugger 7 Settings Limit Speed to Real Time Load Application at Startup to Load Application at Startup Aun to maini Initialization File J em E E Edit AETM_Trace_enable ini Restore session Settings Breakpoints Toolbox watch Windows Memory Display E dit Restore Debug Session Settings Breakpoints Toolbox Watch windows amp Performance Analyzer Memory Display ETM_Trace_enable ini Notepad File Edit Format view Help wWOWORDCOx4 0033000 _WBYTECOx4 0033603 0x03 enables ETM pins CPU DLL Parameter Driver DLL Parameter JSARMCM3 DLL MPU JSARMCM3 DLL PU Dialog DLL Parameter Dialog DLL Parameter EEE TEM DLL EEE N SPANSION 71 2014 Spansion Inc CONFIDENTIAL a KEIL uVision Trace P
18. H MCU Programmer via X11 Serial via UART A or UART B For installation lt drive gt tools PCWFM3 VO1L07 setup exe For driver installation of USB Virtual COM port v2 0 lt drive gt drivers driverinstaller exe v1 1 Spansion OpenOCD Starter gt button Install driver JTAG Programming via X11 v2 0 CMSIS DAP v1 1 OpenOCD Example is given for IAR and KEIL See documentation of your development suite how to setup CMSIS DAP JTAG Programming via X14 optional JTAG adapter he correct JTAG adapter must be selected in the IDE toolchain SPANSION 30 2014 Spansion Inc CONFIDENTIAL T Flash Programming via X7 USB direct FLASH USB DIRECT Programming X7 USB device Jumper Setting Select the MCU power supply J5 Close JP10 Set switch S1 to position PROG Connect USB port X7 with the PC If connected for first time Windows OS may ask for a driver See subfolder driver of USBdirect installation path or lt drive gt tools USBDIREC T driver Start the FLASH USB DIRECT Programmer For first installation lt drive gt tools USBDIREC T setup exe Select the COM port Press Reset Start Full Operation Set switch S1 to position RUN Press Reset SPANSION 31 2014 Spansion Inc CONFIDENTIAL a Flash Programming via X7 USB device Choose the right target MB9BFD18S T Browse for the programming file srec or hex see subfolde
19. IMITED REMEDY REGARDLESS OF THE BASIS ON WHICH CUSTOMER IS ENTITLED TO CLAIM DAMAGES FROM SPANSION INCLUDING FUNDAMENTAL BREACH NEGLIGENCE MISREPRESENTATION OR OTHER CONTRACT OR TORT CLAIM SPANSION ENTIRE LIABILITY IN ANY CALENDAR YEAR REGARDLESS OF THE NUMBER OF CLAIMS SHALL NOT EXCEED FIFTY PERCENT 5096 OF THE TOTAL AMOUNT PAID BY CUSTOMER TO SPANSION FOR THE DELIVERABLES SOLD IN SUCH CALENDAR YEAR 5 Should one of the above stipulations be or become invalid and or unenforceable the remaining stipulations shall stay in full effect 6 The contents of this document are subject to change by SPANSION without a prior notice thus contact SPANSION about the latest one This board and its deliverables must only be used for test applications in an evaluation laboratory environment S N gt ON 2 2014 Spansion Inc CONFIDENTIAL a Overview MCU Features Board Features amp Contents u Test The Hardware Pin Overview The Jumper Table Jumper Default Board Power Software Examples amp Tools Additional documents Schematic HW version 2 0 1 1 Flash Programming Data sheet MB9BD10T Series u JIAG CMSIS DAP Peripheral Manual errata Timer part errata IAR Embedded Workbench Analog part errata n Communication part errata KEIL Uivision Ethernet part Workshops Contacts amp More Flash programming manual errata SPANSION 3 2014 Spansion Inc CONFIDE
20. If customer fails to adhere to these warranty returns guidelines customer shall assume all risk of loss and shall pay for all freight to SPANSION S specified location This warranty shall not apply to any deliverables that have been repaired or altered except those which have been repaired or altered by SPANSION The aforementioned provisions do not extend the original warranty period of any deliverable that has either been repaired or replaced by Seller THESE WARRANTIES ARE IN LIEU OF ALL OTHER WARRANTIES EXPRESSED IMPLIED OR STATUTORY INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE NONINFRINGEMENT AND ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL SPECIFICATION OR SAMPLE SPANSION NEITHER ASSUMES NOR AUTHORIZES ANY OTHER PERSON TO ASSUME FOR IT ANY OTHER LIABILITIES THE FOREGOING CONSTITUTES CUSTOMER S SOLE AND EXCLUSIVE REMEDY FOR THE FURNISHING OF DEFECTIVE OR NONCONFORMING DELIVERABLES 4 The following limitation of liability shall apply for all deliverables EXCEPT FOR DAMAGES FOR BODILY INJURY OR DEATH SPANSION SHALL NOT BE LIABLE FOR ANY INDIRECT INCIDENTAL SPECIAL RELIANCE OR CONSEQUENTIAL DAMAGES RELIANCE DAMAGES AND OR PUNITIVE OR EXEMPLARY DAMAGES WHETHER ANY SUCH DAMAGES ARE BASED ON CONTRACT TORT OR ANY OTHER LEGAL THEORY AND WHETHER OR NOT SPANSION HAS BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES AND NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF ANY L
21. NTIAL a Features of the microcontroller SK FM3 176PMC ETHERNET is a versatile evaluation board based on the Spansion ARM Cortex M3 device MB9BFD18T MB9BD10T Series includes the following features 32 54 ARM Cortex M3 Core with up to 144MHz operation Upto 1 Mbyte high speed flash memory with true 72MHz and Flash Accelerator System Upto 128Kbyte on chip SRAM memory Wide supply voltage range from 2 7 to 5 5 V 2 Ethernet channels RC oscillator 2 ARM Cortex M3 CPU 2USBinterface channels 144MHz max 2 7 5 5V 8 Multi function Serial Interface channels for UART CSIO SPI 2 and LIN EIE Main CLK 8DMA Controller channels SUB CLK J2KHz m MAIN CLR 4 812 bit A D Converters 1MSp 32 channels max SUB RC CLK TODkHz External bus interface 16 Base Timer channels PWM PPG reload or PWV timers selectable Up to 154 fast General Purpose Ports 3 Multi function Timer units can be used to achieve the motor control Quadrature Position Revolution Counter QPRC channels Dual Timer 32 16bit Down Counter Resource Pin Relocation Hardware Watchdog ku HESBDI OS LOFPI44 CRC Cyclic Redundancy Check Accelerator LOFPI 7 Five dynamically selectable clock sources 2 external oscillator 2 internal CR oscillator Main PLL Clock Supervisor CSV Low Voltage Detecto
22. ON applicable data sheet specifications available at www spansion com or upon request This warranty does not extend beyond the first purchaser of the deliverables The liability of SPANSION under this warranty is limited at SPANSION s option solely to repair the deliverable to send replacement deliverable or to make an appropriate credit adjustment or refund in an amount not to exceed the original purchase price actually paid for the deliverable returned to SPANSION SPANSION S warranty obligations are conditioned upon the following a SPANSION is promptly notified in writing by customer during the applicable warranty period of any defect or nonconformance in the deliverable b customer obtains authorization from SPANSION to return the defective deliverable c the defective deliverable is returned to SPANSION in accordance with SPANSION S shipping instructions set forth below and d SPANSION S examination of such deliverable discloses to its satisfaction that any defect or nonconformance actually existed and was not caused by improper use or operation outside of the data sheet specifications for the deliverable abuse negligence improper installation accident loss or damage in transit or unauthorized repair or alteration by a person other than SPANSION Customer shall ship such defective deliverable to SPANSION via SPANSION S carrier collect Risk of loss will transfer to SPANSION when the defective deliverable is provided to SPANSION S carrier
23. Privilege Privileged Changes are highlighted in dark blue text Eur a 0 03715153 background Eco Register tree knots can be expanded SPANSION 68 2014 Spansion Inc CONFIDENTIAL a KEIL uVision Debug 6 u Variable Windows Watch Windows Up to 2 Watch windows are sharing their tabs with e g Memory and Local views Updated during runtime Any changes are highlighted in dark blue text backround color Displayed values can be changed by user during break e ERN 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 SPANSION 69 2014 Spansion Inc CONFIDENTIAL a KEIL uVision Trace ULINK u race via I M Simple Trace views via Instrumentation Trace Macro is supported by uLINK ME Records Exceptions Counters 0 0 0 h w Counter Events w Exceptions w PC Samples w ITM Events w Data Reads w Data Writes i 0 0 0 0 0 TAD OA OS OX x 52975145 B23 5233 52990992 ee 52950592 52950592 52990992 52980592 52980592 AIIA 52950592 02995931 83001 332 83001 392 83001 332 53001332 53001332 83001 332 1 03715335 1 037139116 1 03735740 1 03735740 1 09738740 103735740 1 03735740 1 03735740 1 03735740 1 03735740 1 03735740 1 03735740 1 0373
24. ademarks of their respective owners This document is for informational purposes only and subject to change without notice Spansion does not represent that itis 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
25. cs dapdebug dapdebug introduction htm Select debugger CMSIS DAP in your tool chain Any other JTAG adapter can be connected to X14 too he correct JTAG adapter must be selected in the IDE toolchain No jumper setting is required Additional virtual COM port is provided by X11 UART B For driver installation lt drive gt drivers driverinstaller exe Please set jumper J19 and J20 accordingly SINO SOTO X11 USB CMSIS DAP MB9OBFD18T X14 JTAG Si 37 2014 Spansion Inc CONFIDENTIAL 38 JTAG adapter CMSIS DAP Setup in IAR EWARM 1 u Navigate to project options Via Files List Right click at the project Select Options Or via menu Project Select Options 2014 Spansion Inc within AR EWARM SIAR SYSTEMS mb9bf56xr template Embedded Workbench IDE File Edit View Project Tools Window Help Cie Hie E Release TE EE zim imb9b 56xr template MBIBFx E common E system M a OI source files Gompile Rebuild All Add Files Add Group Import File List Add Project Edit Configurations Remove ce Create Mew Project Add Existing Project SPANSION CONFIDENTIAL JTAG adapter CMSIS DAP within IAR EWARM Setup in IAR EWARM 2 MR Category General Options Setup Project Debbuger Options Output Conver
26. current application openend and built in the IDE Use Download Icon 54 or Menu Flash Download etart Debug Session Use Start Stop Debug Icon Q or Menu Debug Start Stop Debug session Ending Debug Session Use same way as for starting debug session SPANSION 64 2014 Spansion Inc CONFIDENTIAL a KEIL uVision Debug 2 Debugging Icon Bar During a Debug Session there will be visible a new icon bar Reset Step Control Show Windows Command Tool Box Target Step in out etc Disassembly Symbols can be Registers Call Stack customized 0 1 il B M D M _ otart Show Show multiple Debug Stop oource Code Windows Restore Application Line of current Watch Memory Serial Views PC Analysis Trace System Viewer SPANSION 65 2014 Spansion Inc CONFIDENTIAL a 66 KEIL uVision Debug 3 Source View The Source windows do not change contents but get additional information Active Breakpoint Disabled Breakpoint LED init ADC initi Current Program SER Counter 4 while 1 Blinky c X Seria oysTick Contfigis5ystemcoreclo 105 c 106 AD value AD last Current Cursor Line of 1 if AD value T AD last Source Code gt 108 AD value AD last 109 110 if AD value AD print AD lue Code Lines with Print valus compiled Instr
27. e examples and documentation please wer our website at Avew spanzjon corn or co lespansion com Port of the free LwIP Lightweight IP TCP IP stack Beine you ee 100kb a picture of ha ETHERNET elata board to demonstrate vant speed including 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 CD SPANSION 27 2014 Spansion Inc CONFIDENTIAL a Software Tools Ihe following software tools are available USB Virtual COM port allows UART communciation via the PC s USB connection On board UART to USB converter via X11 CMSIS DAP For driver installation lt drive gt drivers driverinstaller exe FLASH USB DIRECT Programmer Microcontroller Flash programming via X7 USB Device Port Install from lt drive gt tools USBDIRECT Terminal program Serial Port Viewer Install from lt drive gt tools serialportviewer setup exe SPANSION 28 2014 Spansion Inc CONFIDENTIAL a SPANSION a Flash Programming CONFIDENTIAL Flash Programming here are several options to program the microcontroller s flash FLASH USB DIRECT Programmer via X7 USB device For installation lt drive gt tools USBDIREC I setup exe USB driver is located in subdirectory of FLASH USB DIRECT Programmer FLAS
28. fcidc Timerllontrol xlfffc3c8 x amp sll ru rl 1 APRS M ri r 1728 TR SPANSION 53 2014 Spansion Inc CONFIDENTIAL a Workbench Debug 2 Watch Window Watch Expressions Variables have to be added by user and are updated by Halt Breakpoint Quick Watch he Quick watch allows the user to calculate and recalculate expressions even with variables he drop down menu memorizes the last typed contents 54 2014 Spansion Inc CONFIDENTIAL Workbench Simulator Simulator Mark Project File in Workspace Choose Project Options Choose Simulator in Debugger Setup Start Simulator with usual Icon Workspace 220020202 dry hd44780 l c main c Debug Options for node GettingStarted x Efe lGettiingStarted RAM Debug Ha modules Category Factory Settings dry_hd44780 c dre hd44780 Lc General Option Compile Ash cstartup M s Assembler mae Output Convert setup Download Images Extra Options Plugins Output Custom Build 7 arm comm h Build Actions Aun to assert h Linker UU Simulator I board h Debugger Mun L DLib Canfig Narmal h Simulator Setup macros z DLib Defaults h Angel F7 Use macro file s DLib_Froduct h Server SPROJ_DIRS config Rammac SSS am
29. ink c i gt stdia h zu mb9bFSOX H Project Name Startup Code Subfolder otartup Code Source and Header Files Main Project Code Subfolder EE Serial c s mb9brsox h Main Project Code Source and Header Files 10 system mbSbf5 x h Retarget c Re stdio h un rt misc h Fl E4 Documentation Project Description Subfolder and Abstract File SPANSION 9 2014 Spansion Inc CONFIDENTIAL a KEIL uVision Making Project Making the Project Use Rebuild Icon uj Build Output Build target MBOBFSOx Flash P assembling startup MBSBF50x s R compiling system MBOBFSOx c compiling IRQ C files compiling Serial c compiling Retarget c Linking Program Size Code 2604 RO data 320 RW data 32 Zl data 512 Check for no errors In AFlashiBlinky axf 0 Error s 0 Warningis 4 Output window below Build Output 4 In Files Build errors are shown in Output window Can be double clicked by showing the source line with a blue arrow au stdio h 152104 TYPO while il Loop forever rt misc h compiling Blinky c BlinkEy c 104 error 20 identifier TYPO is undefined Blinky c TYPO while 11 1 ij Loop forever Blinky c SPANSION 63 2014 Spansion Inc CONFIDENTIAL a KEIL uVision Debug 1 Start Debugging Download to target first when MCU Flash does not contain the
30. n example application lt drive gt Examples mb9bf61 xt_ethernet_Iwip_v13 zip Connect the SK FM3 176PMC ETHERNET via USB X11 with the PC Verify that jumper 45 is in the USBPWH position Switch SW1 is set to RUN Press the Reset button The SK FM3 1 76PMC ETHERNET s display will show 00 ink node ___ 1 EHHCI 4 ink status EHACD 0 EHHCI 1 IP address 192 188 1 20 IP address 0 0 0 0 1 0 2501 selPCRlata U Using pushbuttons SW3 and SW2 increase or decrease value Install the USB Driver first lt drive gt drivers driverinstaller exe Check the availibility for virtual COM port e g Windows Device Manager ink node E HLO 1 4 Open a serial terminal tool ink status 0 EHRCI 1 e g Spansion Serial Port Viewer IP address E ALU 192 168 1 20 lt drive gt tools serialportviewer setup exe IP address ALI 10 244 64 144 16ADCData 2502 Settings 115200 baud 8N1 3e PCRData U Board system status is printed to the console Connect X15 static IP address 192 168 1 20 or X16 DHCP to a local network DHCP address can be found out via serial debug console see above Point your webbrowser to board s IP address SPANSION A 7 2014 Spansion Inc CONFIDENTIAL You finished successfully the first test Congratulations Now you will get more de
31. nd power supply lines connected to this starter kit should be kept as short as possible with a maximum allowable length of 3m Shielded cables should be used for data lines As a rule of thumb the cable length used when connecting external circuitry to the MCU pin header connectors for example should be less than 20cm Longer cables may affect EMC performance and cause radio interference SPANSION 4A Srnaneinn Ine a 2014 Spansion Inc CONFIDENTIAL Recycling G ltig f r EU L nder Gem der Europ ischen WEEE Richtlinie und deren Umsetzung in landesspezifische Gesetze nehmen wir dieses Ger t wieder zur ck Zur Entsorgung schicken Sie das Ger t bitte an die folgende Adresse Valid for European Union Countries 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 X Frankfurter Str 83 107 D 65479 Raunheim Germany This board is compliant with China ROHS 2 78 2014 Spansion Inc CONFIDENTIAL SPANSION A SPANSION a WWW Spansion com Spansion the Spansion logo MirrorBit MirrorBit EclipseTM 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 tr
32. ode AD settings 10 bit resolution AD value 15 output onto ITM debug port 0 The Blinky program is available in different targets Build Output Files LO INK Cortex Debugger 4 SPANSION 2014 Spansion Inc CONFIDENTIAL a KEIL uVision Main Window u KEIL uVision File Edit View Project Flash Debug Peripherals Tools S CS Window Help iad Penn EEE us at Project window on left side of 3 MB9BFSOx Flash The Blinky is a simple demo program for t S Startup microcontroller using Keil MCB96F500 Evaluation WI OW to Cortex Microcontroller software Interface Stand startup MB9BFS0x E H system MB9BFSOx Example functionality stdint h ock settings az mb9bFSOx h XTAL 4 MHz Choose BR f B Source Files View Project Window an POP Pb mb9bfSOx h if hidden TERN B IRQ c SysTick Timer 15 used in interrupt mode 8 LEDs blink with speed depending on potentiome AD conversion is done in interrupt mode AD settings 10 bit resolution AD value 15 output onto ITM debug port 0 The Blinky is available in different targe MBOBF5O0x RAM runs from Internal RAM located Source files on right side L S system mbobsi runs from Internal Flash locate of IDE window as tabbed e aa core_cm3 h stdint h windows aem ES
33. oduction of control types Descriptors amp USB Settings Clock distribution Sinusoidal commutation Transfer Types Communication layer models Timer Field Orientated Control Data Transfers e Interfaces Space Vector Modulation e USB Class Concept The Internet Protocol suite FM3 features Peripherals of FM3 FM4 MCUs Software Driver Concepts Web technologies Development tool chains Base Timer USB Host in embedded systems workbench J Link Multifunction Timer e KEIL uVision uLink 12 bit A D Converter USB Examples Developing Ethernet applications Starter Kits Quadrature Position Virtual COM Port Tools and methods and Revolution Counter USB Descriptor Manager Practical exercises Interrupt Controller Create Template Classes Practical hints and advice e Flash programming Create Descriptors on FM3 Ethernet solutions Project setup modification Hands on exercise SW Example Debugging BLDC motor with hall sensor e PC software based on 16058 Hands on training External interrupts PMSM motor with field orientated control Special Use Cases e g boot loader SPANSION 75 4 Spansion Inc CONFIDENTIAL a 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 Ospansion com
34. onitor J Link J Trace acraigor TI Stellaris FTDI PE micro Macraigor PE micro RDI ST LINK Third Party Driver TI XDS100 UNFIG debugger FujtsuNiombSbf506n ddf Bl Cancel SPANSION Debugging with OpenOCD Board revision 1 1 only Workbench configuration Select GDB Server Type 127 0 0 1 on the field of TCP IP address Options for node mb sbfxxx iopork counter Genera Options Compiler b ST LIME Third Party Driver 405100 Start debug in Workbench SPANSION 45 2014 Spansion Inc CONFIDENTIAL a SPANSION A IAR Embedded Workbench u Installation Getting Started IAR Embedded M Workbench u Build Project u Debug Project SYSTEMS CONFIDENTIAL IAR Workbench Getting Started 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 lt drive gt sw examples j LAR En ke Werkbenw f LF fie Edt View Project mum Bus a Ben Ip Cx EE 1 MR Heer ee m sation Center for ARM Facer Files Li je il MAN lar comresources ka E EJ Read r depth sitis trom cur software nn E STARTED EXATAPLE
35. r LVD and Low Power Mode N SPANSION 4 2014 Spansion Inc CONFIDENTIAL a 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 1x High speed CAN Transceiver 1x UART Transceiver SUB D9 connector JTAG and Trace Interface each on a 20 pin header 2x LED Display 7 Segment 2x pushbutton User buttons rotary encoder potentiometer 1x Reset button Reset LED All 176 pins routed to pin header On board 5V and 3V voltage regulators to supply MCU Power LED 4x Power supply options USB USB Device JTAG or external 8V to 12V Voltage filter for ADC 3x Motor Control Interface for e g SK POWER 3P LV2 MC Multicon Interface to connect e g the Fujitsu SK TSC 1127S SB 2014 Spansion Inc CONFIDENTIAL SPANSION Contents SK FM3 176PMC ETHERNET he 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 SPANSION 6 2014 Spansion Inc CONFIDENTIAL a Test it The microcontroller on the SK FM3 176PMC ETHERNET is already preprogrammed with a
36. r lt project gt example lAR output release exe ARM KEIL see subfolder lt project gt example ARM output release FLASH INFORMATION End Addr Siz e 000000H OFFFFFH 100000H SELECT Select MCU MB9BFD18S T gt Target MCU MB9Bret8SiT Select file srec hex gt ren iogo00H 100001H 000002H Select Virtual COM port EE Help Full Operation D E B P Check SUM Version Info Download Erase Blank Check Program amp vens Head amp Compare Copy U Erase Flash memory Blank check Program Verify project to Flash memory Use Full Operation Download kernel Set switch 51 to position RUN and press Reset button SPANSION 32 2014 Spansion Inc CONFIDENTIAL 33 Flash Programming via X11 or X12 Serial FLASH MCU Programming via X11 or X12 UART A or UART B Jumper setting Check jumper setting J14 2 3 P60 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 e lt drive gt drivers cmsis dap Use the FLASH MCU Programmer for FM3 FM4 For installation lt drive gt tools PCWFEM3 V01L0 setup exe 2014 Spansion Inc SPANSION CONFIDENTIAL Flash Programming via X11 or X12 Serial Choose the right target MCU MB9BFD18S T select JP51 and JP52 accordingly select
37. ro 2 u 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 u Vision on break Instruction Trace Filter 2 Type Flag Nm PC 0 4 4284 CMP UE ETM 0500000440 DOO BEH 0004 45 OxDOU00446 4240 LMF r45 111 if AD value l AD print 1 Make sure that AD inter 1049567 ETM 00000448 0002 BEQ 0500000450 1048569 ETM 0 00000450 4814 LOR rm pe 80 220500000454 116 if clock 181 1048569 ETM 0 00000452 7800 LURE Blinky c x NE E ef FL stdiob if DLE AD last Make sure that AD interrupt AD value AD last it not interfere with value reading if AD value l AD print i jit Make sure that AD interrupt AD print AD value it Get unscaled value for printout AD dbg D value SPANSION 72 2014 Spansion Inc CONFIDENTIAL a KEIL p Vision Simulator Simulator The Core Simulator can be selected by the menu Flash Configure Flash Tools and then choosing Use Simulator Look amp feel is like using ULINK debugger Controlable also with ini files Options for Target HBSBF5 x Flash Fa Device Target Output Listing User C Ces Asm Linker Debug Utilities Settings C Use JULINK Fra Cortex Debugger Settings Load Application at Star
38. tails 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 uVision SPANSION 8 2014 Spansion Inc CONFIDENTIAL a SPANSION a CONFIDENTIAL SL a f a Gi ii HO 4 FH T1 OO Tere Ethernet port 0 UU DL 1 m 1 L al io 427 J T Cr Ethernet port 1 p eee rol nmn i 1 2 0 00000 dd wa a 7 Multicon 2 SPI UART LIN 1 15 u LD4 yellow ar _ debug run B On board JTAG USB to UART B Sa 051 2 7 ETMUCC mm LD3 red debug connect Pushbutton INT 11 port P7C Trace Interface CONFIDENTIAL External Power 8V 12V JTAG Interface am ml Hardware Pin List SK FM3 176PMC ETHERNET 1 8 Pin Function Description 20 57 5 1 O TIOBO9 2 INT16 1 MNCLE 0 21 P58 SCK1 0 11 2 INT17 1 MNWEX 0 22 P59 SIN7 0 RX1 1 TIOB11 2 INTO9 2 MNREX 0 Spansion Inc CONFIDENTIAL P IN O 2 N A N SPANSION a Hardware Pin List SK FM3 176PMC ETHERNET 2 8 Pin Function Description 2 MTM santis UIMCSXO 0 PsMSCKpOTIOBIS MANTO mesxi 25 Psomoaos antas NCO VSS GND VADTG
39. ter Angel CMSIS DAP CMSIS DAP GDB Server 2 Select tab Setup 258 3 Select Driver CMSIS DAP Me ST LINK Third Party Driver TI XDS100 Options for node mb9bf56xr template Factory Settings 4 Select CMSIS DAP p Assembler Output Converter Custom Build 5 Select tab JTAG SWD Target with multiple CPUs CPU number on target 0 CMSIS DAP m W D GDB Server JTAG SWD speed e e C IAR ROM monitor Auto detect I jet JTAGjet J Link J Trace TI Stellaris Macraigor PE micro RDI ST LINK Third Party Driver XDS100 N SPANSION 39 2014 Spansion Inc CONFIDENTIAL a JTAG adapter CMSIS DAP within Keil uVision KEIL Tools by ARM Setup in Keil uVision 1 gt u Navigate to project options C Documents and Settings MSCHREsDeskbEopmb bf56xr Eemplabe v z2 Eemplabe AR Via Project File Edit View Project Flash Debug Peripherals Tools SVCS Window 22 E F E Fi MBBBFxx amp Release gH ud c E E t Right click at the project Select Options j s Open File using the progra Open List File the Deliverables um t forth below th WC Documents and Settings MSCHRE Desktop mbabibbxr templa Or via menu Project File Edit View Project Flash Debug Peripherals Tools SVC e
40. tp ibusb win i sourceforge 2 Aosta at TAG detection Install driver button Spansion Semiconductor Europe OpenOCD GUI Frontend binaries within this package are from http www treddiechopin info and using LibUSB drivers instead of proprietary library FTIDZEX OpenOCD binary for Windows can be found here http www treddiechopin info index php en download categary 4 openocd SPANSION 43 2014 Spansion Inc CONFIDENTIAL 44 Debugging with OpenOCD Board revision 1 1 only 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 Options for node mbIbfxxx ioport counter OF IAR Embedded Workbench IDE File Edit View Project Tools Window Help ri Add Group Import File List Debug Edit Configurations Remove O mb 3bfx comm Create Mew Project sourc Add Existing Project I gt Dua Version Control System Make STAGE Factory Settings General Options C C Compiler Assembler Output Converter d Setup Do load Images Extra Options Plugins Custom Build Build Actions Driver 508 Server Run to main GDB Server IAR ROM m
41. tup Run to main Initialization File v Load Application at Startup Aun to mainl Initialization File El Edi AETM Trace enableini Edi Hestore Debug Session Settings Restore Debug Session Settings Breakpoints Toolbox Ereakpoints Toolbox Watch Windows amp Performance Analyzer Watch Windows Memory Display Memory Display CPU DLL Parameter Driver DLL Parameter SARMCM3 DLL MPU SARMCM3 DLL MPU Dialog DLL Parameter Dialog DLL Parameter DCM DLL TEM DLL EEE SPANSION 73 2014 Spansion Inc a CONFIDENTIAL SPANSION a CONFIDENTIAL Workshops amp Seminars FM3 FM4 Seminar Motor Control USB Workshop Ethernet Workshop Please register here http news spansion com seminars Overview FM3 FM4 family Introduction of Spansion MCU e Introduction of Spansion Introduction of Spansion MCU Memory Line Up of microcontrollers Line op of USB MCUs Line op of Ethernt MCUs Peripheral resources with motion control features e Packages Performance USB vs RS232 Fundamentals of Ethernet Historical Background Processor architecture Introduction of motors types Ethernet Microcontrollers Bus structure ACIM Electrical Layer Flash memory BLDC Hardware Design considerations Flash programming PMSM USB Protocol Enumeration Process Software Design considerations Peripheral resources Intr
42. uctions dark grey 1 SPANSION 9 2014 Spansion Inc CONFIDENTIAL a KEIL pVision 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 LI 67 2014 Spansion Inc Disassembly Ox0000042A F7FFFF 3 BL W 101 ADC Moxoooooazz FIFFFFET BL W SER initi 102 103 0 00000432 FOOUFGAE BL W 104 while iij i ib E n 0x0000043 6 015 LOG AD value AD if value CONFIDENTIAL last r E AD last SPANSION A KEIL uVision Debug 5 Memory Window Upto 4 Memory windows can be displayed in tabs Memory is updated during runtime Memory window tabs are shared with Watch windows m OxO00003F5 NEL 0x20000220 l 2 000000000 dad D 00000641 Address 0 20000004 DODODOB EL OxZ0000004 34 i 00 OO 00 OO OO EE 0500000000 0220000014 OO OO OO OO OO OO OO OO A Air 0500000000 0 20000024 00 00 00 au 0500000000 0 20000034 00 00 00 00 DURS 0500000000 0500000000 000000000 912 0500000000 R13 SP 0520000220 000000639 X Ox000003F6 Hegister View SR 0461000000 Register view is a tab of the Project window Then dd
43. uration Build Control new open Control compile make save etc e g RAM or ROM stop build debugging Dends kBel gt el sy vu DD gt wR EES Edit Control Navigation Control Debug Control cut copy Find Bookmarks File Breakpoint start paste undo Navigation etc Debug w and w o redo download SPANSION 49 2014 Spansion Inc CONFIDENTIAL a Workbench Workspace Workspace Window Workspace FAM Debug Files 1 jl GettingStarted RAM Debug v Ha modules dry hd44780 c dr hd44780 Lc Rsmcstartup M s Project Name main c oub Folder Modules Le C1 Output L arm eamm h I asserth DLib Defaults h I El DLib_Producth Main Modules I Hi DLib Threads h L dr hd44780 h dre hd44780 Lh Module Includes ai E E board h I macras h I E iormbSbfS00 h l E stdio h Project Description El xencoding limits h vcheck h E ysizeth I E Project Built Output mA PL L GettingStarted out GettingStarted SPANSION 50 2014 Spansion Inc CONFIDENTIAL IAR Workbench Making Project Making the Project Use Make Icon 38 F7 or T Tues Men U Project Make 2 058 bytes of readwrite data memory Errors none Warnings none Check for no errors in Output window
Download Pdf Manuals
Related Search
Related Contents
Téléchargement OBD II Diagnostic Tester RHAPSODY Lunchbox Acoustic RU-400BT Kidde KN-COPE-D User's Manual MANUAL DE INSTRUCCIONES Ver/Abrir Tt eSPORTS Meka G1 Mode d`emploi A4 Citélib Copyright © All rights reserved.
Failed to retrieve file