Presentation is loading. Please wait.

Presentation is loading. Please wait.

TM Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of.

Similar presentations


Presentation on theme: "TM Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of."— Presentation transcript:

1 TM Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Rapid Prototyping Solutions Module 1: Freescale Tower System

2 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Agenda ► Introduction to the Freescale Tower System ► Freescale MQX™ Software Solutions ► Continuation with MQX ► CodeWarrior Development Studio v 10.0 ► Demonstration Labs ► Additional Resources ► Review

3 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Advanced Embedded Development with Rapid Evaluation and Prototyping Tower System += Time to MarketDevelopment and Runtime Software

4 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Introducing the Freescale Tower System The Freescale Tower System is a modular development platform for 8-, 16- and 32-bit processors that enables advanced development through rapid evaluation and prototyping. Featuring multiple development boards or modules, the Tower System provides designers with building blocks for entry-level to advanced application development. Tower System. Elevate your design to the next level.

5 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Tower System Components 1. Processor Module 2. Peripheral Modules 3. Elevator Boards Tower System

6 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Functional Elevator: Common serial and expansion bus signals Two 2x80 connectors on backside for easy signal access and side-mounting board (e.g. LCD module) Power regulation circuitry Standardized signal assignments (e.g. UART, SPI, Timers, External Bus, I2C, CAN, GPIO, Ethernet, USB, etc.) The Tower System Processor Module: Tower controller board Works stand-alone or in Tower system Features new Open Source BDM (OSBDM) for easy programming and debugging via miniB USB cable Dummy Elevator: Future expansion for more serial interfaces and more complex MPU interfaces (e.g. RGB LCD, segment LCD, audio, enhanced Timer, etc.) “Dummy” shown with only GND connectivity. Used for structural integrity Peripheral Module: Standard peripheral boards compatible with all controller boards (e.g. Serial, Memory, etc.) Size: The Tower is approx. 3.5” H x 3.5” W x 3.5” D when fully assembled Board Connectors: Four card-edge connectors Uses PCI Express connectors (x16, 90mm/3.5” long, 164 pins)

7 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 7 Elevate your design to the next level with the Freescale Tower System. Our modular development platform saves you months of development time now and in the future through rapid prototyping and tool re-use. Modular and expandable Why Tower System? ► Developing with the Tower System is easy with modular, reconfigurable hardware. Saves months of development time ► Open source design files and standard, reusable modules reduce low- level design—giving you more time to focus on differentiated solutions. Low Cost ► Flexible modular design helps you control tool costs, from simple concept testing to full product development.

8 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Who is Tower System for? The Embedded Developer Eager to find complete hardware and software embedded solutions. Needs comprehensive prototyping solutions that can expedite time to market while reducing cost and learning curve. The Student/Professor Always on the go. Relies on scalable, low cost development tools and devices to keep his edge and keep his interest. The Hobbyist Master experimentalist. Always seeking community knowledge. Desires modular, build-it-yourself components and a team of people to explore with.

9 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Build Your System (3 steps or less) 1. Choose a Processor Module 2. Choose Peripheral Modules 3. Connect each module to the Elevator Boards Tower System

10 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Tower System How to Assemble your Tower System

11 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 11 Available Tower System Modules (www.freescale.com/tower for latest tools)www.freescale.com/tower TWR-SER TWR-MCF5225X-KIT TWR-ELEV TWR-PROTO Peripheral Modules ($15 – $149) Processor Modules ($39-$69) Complete Kits ($99 - $149) TWR-MEMTWR-LCD Coming Soon TWR-MCF51CN-KIT TWR-S08LL64-KIT TWR-S08LL64 TWR-MCF51CN-KIT TWR-MCF5225X TWR-MCF51CN TWR-SENSOR- PAK TWR-S08LL64

12 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Interact. Explore. Create. Tower Geeks Online Community (www.towergeeks.org)www.towergeeks.org

13 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Freescale MQX™ Software Solutions

14 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. ► Peripherals are more complex ex: RS232 => Ethernet, USB Solution: Full-Featured MQX RTCS, USB, BSP Drivers, 3 rd party and more ► Customers need an easier way to manage stacks and software Solution: Real-time operating system manages the time of a MCU/MPU  Features of an RTOS:  Allows multi-tasking  Scheduling of the tasks with priorities  Synchronization of the resource access  Inter-task communication  Time predictable  Interrupt handling ► Customers need higher quality of code Solution: Backed by Freescale Global FAE, TIC, AE and software developers ► 60% of a team’s resources are spent on software Solution: MQX allow customers to focus on their “Special Sauce” instead of stacks, drivers, etc. ► 32-bit devices require a higher need for re-use 89% of our customers say they reuse code from a previous project Solution: An RTOS allows you to reuse application on different processors and boards ► Customers face the challenge of reducing costs while speeding time to market Solution: Freescale provides complimentary MQX RTOS, USB, TCP/IP, MFS www.freescale.com/mqx What are your customer’s challenges?

15 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. ► A Full-Featured, Scalable and Proven RTOS Real-Time Operating System, Middleware (USB, TCP/IP stacks) and Board Support Packages (I/O Drivers) Scalable: Design by Feature, Size, Speed ► Freescale owned Backed by Freescale Support Source code, exclusive rights to distribute and modify Across the Freescale Portfolio: ARM, ColdFire, Power, DSC, 8-bit, 16-bit No grant back ► Business Friendly Model Lets developers keep their source modifications – Not GPL No royalties Full production source code with silicon ► Value given to customers Savings of $95K from day one Eliminate initial software cost hurdle (Zero to low cost) ► Similar to other software OS like: What is MQX?

16 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 16 1989Time2000Time20042005Time20082009201020112012 Precise Founded MQX Began 20062005 Embedded Access Inc. (EAI) founded Roots from Precise & ARC Strategic Freescale Partner ARC acquired Precise with MQX Introducing Freescale MQX along with MCF5225x Acquired MQX across Freescale’s portfolio Used in over a million products in Medical, Industrial, and Defense Fortune 500 Companies. Certifiable for Medical (CFR 820.30 Part 21, IEC 60601-1) and Aerospace Standards (DO-178b) Proven: 15+ Years in the Market Place

17 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. What is Complimentary? Meets majority of customer requirements RTOS (Full priority-based, pre-emptive scheduler) Real-time TCP/IP Communication Suite (RTCS) - TCP/IP, FTP, Telnet, DHCP, SNMP etc.. USB Host – PHDC (medical),HID, MASS, HUB, CDC USB Device - HID, MASS, CDC, PHDC MS-DOS File System (MFS ) BSP I/O Driver: CAN, UART, etc. Basic HTTP Web server Benchmarking Tool Base Support: Freescale TIC, FAE, AE Add-on Software & Services IAR* & CW: MQX Task Aware Debugging with tools Freescale - Level 2 Support Embedded Access: Web server Basic/Standard/Pro, SNTP, XML, SMTP, POP3, SNMP (V3), SFFS Flash File System, On-Site Training, PEG Graphic Builder RTA & IXXAT: Industrial Protocols - 1588, CANopen, etc. Freescale Low Cost SSL and SSH Segger: Graphic Libraries What’s Free and Add–on?

18 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. A Game Changing Move: Why Acquire MQX? ► Freescale Advantage Optimize SW and HW Enable HW features Provide quality, tested and proven code Add differentiating vertical segment software ex: medical Past Customer Problem GUI Application TCP/IP PSP for different processors and NO BSP Wrong Drivers Demo Code The Solution ► Past Freescale and Competitors Offering Long integration time Bait and switch model Huge Up Sell High cost of entry Lack of IP protection Not complete code Example Code

19 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 19 ► Designed to be customized by Feature Size Speed ► Lightweight services ► Smaller and faster vs. regular MQX services ► Allows control of RAM/ROM utilization ► Scalable Code Density ideal for MCU & MPU ► ROM size ranges from CFV2: 12K to 150K ► RAM size starting at 2.5K ► 2 task application with 1 LW Semaphore and minimum interrupt stack ► New, custom components can be added Simple and Scalable: Straight- forward API and modular architecture can be fine- tuned to fit application requirements Freescale MQX Software Solution

20 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 20 Simple and Scalable ► Small, configurable size conserves memory space for application ► Allows developers to add web servers, e- mail, network management, security, and routing to their designs Full- Featured and Powerful ► Developed to be tightly integrated with MQX RTOS ► Includes FTP, Telnet, DHCP, DNS servers and clients, and SNMP client ► Ethernet – Serial to Gateway applications Optional pre-integrated products Also included in TCP/IP Lite by Interniche * Freescale MQX Real-Time Communication Suite (RTCS )

21 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. ► Advanced kernel analysis tool Allows developers to gain greater visibility into their embedded system. Obtain detailed data about system performance enabling optimization work that can reduce potential performance bottlenecks in their embedded application. ► TAD is included Codewarrior™ Professional Edition (30-day evaluation available) for Coldfire® V2 Core and above ► TAD is included with IAR’s C-SPY Debugger to give additional debugging functionality ► CodeSourcery GNU Tool command-line support MQX Task Aware Debugging

22 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 22 ► Secure Shell (SSH) encrypts communications between hosts over an insecure network, and it’s great for logging into and executing commands on networked computers. It’s also useful for tunneling, port-forwarding and secure file transfers using the SFTP protocol. ► Secure Sockets Layer/Transport Layer Security (SSL/TLS) - authenticates endpoints and encrypts channels to provide session privacy and security on the Internet. The standard operates at a higher level in the OSI stack than IPsec, and supports peer negotiation for algorithm selection, public key based exchange of secret session keys and X.509 certificates. – Ultra-small at less than one fifth the size of a typical SSL/SSH client. – Minimal impact on device performance – Minimal impact on flash ROM utilization – FIPS 140-2 Certified for Multiple Applications – Up to 10x performance advantage over competing SSL and SSH implementations – Freescale hardware Cryptographic Acceleration Unit (CAU) – Mocana purpose-built assembly language optimizations – Mocana’s patented Acceleration Harness ► Freescale’s super-fast, super-small embedded SSH/SSL client by Mocana. NanoSSL™/ NanoSSH™ for Freescale MQX Security Options with Significant Cost Savings

23 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 23 NanoSSL™/ NanoSSH™ Customer Base

24 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 24 DES 3DES AES ARCFOUR Diffie-Hellman RSA PKCS #1, Version 1.5 PKCS #5 PKCS #7 PKCS #8 PKCS #10 PKCS #12 MD2 MD4 MD5 SHA1 SHA-224 SHA-256 SHA-384 SHA-512 DHDSA/DSS 512-1024 AES128-CBC AES192-CBC AES256-CBC RIJNDAEL128-CBC RIJNDAEL192-CBC RIJNDAEL256-CBC BLOWFISH-128-CBC 3DES-192-CBC ARCFOUR-128 HMAC-SHA1-96 HMAC-SHA1-160 HMAC-MD5-9 HMAC-MD5-128 DSA Public Key 3072 RSA Key Exchange NanoSSL & NanoSSH: Rich Library of Cryptography Options

25 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 25 ► Why need Level 2 support?  More hand holding, complex application code development, board support package development  Most RTOS companies offer these services  Freescale will continue to provide standard free support  Freescale Level 2 support is very competitive in price ►*►* ► * Will be available on buy direct and disty Freescale MQX Support Plan and Design Services

26 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. ► MQX is available on i.MX / ColdFire® / Power Architecture™ processor that are NOT Currently released or Not in the roadmap ► Freescale is making licensable pre-tested port available at a low cost through Embedded Access ► Customer can start development on current released products and should be able to re-use majority of the code ► Competitive Advantage: Low Cost Include 1 Year of Level 2 Premium Support USB may be extra for any porting fees or third party licensing. Assumes no new driver work, BSP for 2.50 exists, and no other NRE. Otherwise additional fees may apply. What if MQX is not released for the product my customer wants?

27 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. ► Different configurations: Max, Small, Smallest, Typical Try it Yourself: Benchmark Script

28 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. ► Freescale offers : www.freescale.com/mqx MQX Hands On Labs/App Notes/Documentations Videos Global Support from FAE Community Public Community: forums.freescale.com/forums.freescale.com/ ► Embedded Access (EAI) offers customizable software training designed for individuals, and companies Canada Training facility or On-site: 2 Day - MQX RTOS Course (Covers the API of the RTOS with hands-on labs) 1 Day - RTCS TCP/IP Stack (Overview of protocols, Initializing RTCS, Socket API ½ Day – USB (Overview of USB, USB Host Stack, USB Device Stack) ½ - 2 Day - Application Development Contact for pricing: www.embedded- access.com/training.htmlwww.embedded- access.com/training.html MQX Training

29 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Continuing on with MQX

30 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. ► MQXUG User Guide MQXUG ► MQXRM Reference Manual MQXRM ► MQXUSBHOSTAPIRM USB Host API Reference Manual MQXUSBHOSTAPIRM ► MQXUSBDEVAPI USB Device API Reference MQXUSBDEVAPI ► MQXUSBHOSTUG USB Host User Guide MQXUSBHOSTUG ► MQXRTCSUG RTCS User Guide MQXRTCSUG ► MQXMFSUG File System User Guide MQXMFSUG ► MQXIOUG I/O Drivers User Guide MQXIOUG ► MQXFS Software Solutions Fact Sheets MQXFS Freescale MQX™ Documentation

31 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. ► TWR-MCF51CN-KIT Lab Document ► MCF5225x – Lab Document ► MQX Release Notes ► MQX User’s Guide ► Writing First MQX Application (AN3905) ► Using MQX: RTCS, USB, and MFS (AN3907) ► How to Develop I/O Drivers for MQX (AN3902) Further Reading and Training

32 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. ► Videos: www.freescale.com/mqx MCF5225x & Freescale MQX introduction Getting started with MCF5225x and Freescale MQX Lab Demos And more ► VFTF technical session videos www.freescale.com/vftf Introducing a modular system, Serial-to-Ethernet V1 ColdFire® MCU and Complimentary MQX™ RTOS Writing First MQX Application Implementing Ethernet Connectivity with the Complimentary Freescale MQX™ RTOS Further Reading and Training (Cont.)

33 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. ► www.freescale.com/tower www.freescale.com/tower ► www.towergeeks.org www.towergeeks.org ► www.freescale.com/mqx www.freescale.com/mqx Related URL’s

34 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. CodeWarrior Development Studio for Microcontrollers v10.0

35 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 35 CodeWarrior for Microcontrollers 10.0 Integrates the development tools for the RS08, HCS08 and ColdFire ® architectures into a single product based on the Eclipse open development platform.

36 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. CodeWarrior Roadmap

37 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 37 Architectures Supported ► Use CodeWarrior Development Studio for Microcontrollers v10.0 to develop RS08, HCS08, and ColdFire projects RS08 derivatives HCS08 derivatives V1 ColdFire derivatives V2 ColdFire derivatives V3 ColdFire derivatives V4 ColdFire derivatives 37

38 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Multiple Compilers / Single Debugger ► CodeWarrior optimizing compilers RS08 HCS08 V1-V4 ColdFire ► Debugger Eclipse C/C++ Development Tools (CDT) Extended for embedded programming ► Profile and Trace HCS08 derivatives V1ColdFire derivatives 38

39 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 39 Use Welcome Screen for immediate access to development resources. 39 Welcome Screen

40 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 40 2 New Project Wizard 40 Use New Project Wizard to create a new project in as few as 9 clicks. 1 3 4 567891

41 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 41 MCU Change Wizard 41 Use MCU Change Wizard to retarget projects to a new processor in as few as 6 clicks. 1 3 4 562

42 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 42 Project Importer ► Use the Project Importer to import CodeWarrior Classic projects CodeWarrior Development Studio for Microcontrollers v6.x CodeWarrior Development Studio for ColdFire Architectures v7.x 42

43 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 43 Processor Expert ► A rapid application design tool with … Graphical User Interface which allows an application to be specified by the functionality needed Automatic code generator which creates tested, optimized C code tuned to the application needs and selected Freescale MCU Built-in knowledgebase, which immediately flags resource conflicts and incorrect settings ► Architectures supported RS08 derivatives HCS08 derivatives ColdFire derivatives 43

44 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 44 Tutorials 44 Step by step tutorials – known as cheat sheets in Eclipse – are available for standard tasks

45 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 45 Hands-on Lab: Create a project with Processor Expert

46 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Create a new project to blink an LED ► This hands-on lab shows you how to… Create a new project with the New Project Wizard Use Processor Expert to write a simple application Test the application’s functionality ► The lab uses the TWR-MCF52259 kit. ► The application uses a timer on the MCF52259 to blink an LED 46

47 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 47 Open new project wizard 1 Click “File” 2 Select “New” 3 Select “Bareboar d Project”

48 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 48 Input project name and select device You can change project location to proper directory. Default location is used. 1 Click “Next” 4 Select “MCF52259” 5 Click “Next” Enter “ LED” 2 Click “-” to expand ColdFire V2 3 Click “-” to expand MCF5225X

49 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. 49 Configure parameters 6 Click “Next” 7 9 Select “Open Source BDM” 10 Click “Next” 8 Deselect “P&E USB BDM Multilink”

50 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Select Processor Expert and configurations 50 10 Select “Processor Expert” 11 Click “Next” 12 Select “MCF52259CAG80” 14 Click “Finish” 13 Select “Internal FLASH” Configuration

51 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Project creation completed 51 Please connect TWR-MCF52259 kit to computer with USB cable.

52 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Build the project 52 1 Select “LED” 2 Click “build” arrow 3 Select “MCF52259_Internal_Flash”

53 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Update Properties 53 1 Click “Project” 2 Select “Properties”

54 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Remove MCF52259 from system path 54 1 Select “C/C++ Build” 2 Select “Settings” 3 Select “ColdFire Compiler Input” 4 Select “ColdFire_Support/(headers)/MCF52259” 6 Click “OK” 5 Click “X” to delete

55 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Update CPU component 55 3 Select “CpuMCF52259CAG80” 1 Click “+” to expand ProcessorExpert.pe 2 Click “+” to expand Cpus 5 Select “Internal Clock” 6 Press cntl+S to save settings 4 Click arrow

56 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Add BitIO component for LED 56 3 Right click “BitIO” 4 Select “Add to project” 1 Click “-” to expand CPU Internal Peripherals 2 Click “-” to expand Port I/O

57 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Configure BitIO Properties 57 2 Select “Bit1: BitIO” Select “PTC0” 3 Select “Output” direction 4 1 Click “-” to expand Embedded Components

58 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Select BitIO Methods 58 3 Select “generate code” for NegVal 4 Press cntl+S to save settings 1 Click “Methods” 2 Click arrow

59 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Add TimerInt Component 2 Right click “TimerInt” 3 Select “Add to project” 1 Click “-” to expand Timer

60 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Configure TimerInt Properties - 1 60 Select “DTIM0_Compare” 2 1 Select “TI1: TimerInt” 3 Click “…”

61 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Configure TimerInt Properties - 2 61 Enter “1” 1 4 Click “OK” Select “sec” 3 2 Click arrow

62 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Generate code 62 3 Select “Generate code” 1 Press cntl+S to save settings 2 Click “Project”

63 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Copy function call 63 1 Double click “Bit1.c” to open in editor Copy “Bit1_NegVal” function call. 2

64 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Paste function call into Events.c 1 Double click “Events.c” to open in editor 3 Select “TI1_OnInterrupt” 2 Click “Outline” Paste “Bit1_NegVal” function call. 4

65 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Build the project 65 1 Click “build” arrow 2 Select “MCF52259_Internal_Flash”

66 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Update debug configuration 66 1 Click “ Debug ” arrow 2 Select “Debug Configuration”

67 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Update target initialization file 67 1 Select “…Internal_Flash – Open SourceBDM” 3 Click “File System…” 2 Click “Debugger”

68 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Navigate to MCF52259.cfg file 68 1 Select “task_example” 2 Select “Project Settings” 3 Select “Debugger” 4 Select “MCF52259.cfg” 5 Click “Open”

69 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Update memory configuration file 69 1 Click “File System…” 2 Select “MCF52259.mem” 3 Click “Open”

70 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Update memory configuration file 70 1 Click “Close”

71 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Flash file to target - 1 71 1 Click “flash” arrow 2 Select “Flash File to Target” 3 Click “Program with Erase”

72 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Flash file to target - 2 72 1 Click “Close”

73 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Start debugger 73 1 Click “ Debug ” arrow 2 Select “Debug Configuration”

74 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Select launch configuration file 74 1 Select “…Internal_Flash – Open SourceBDM” 2 Click “Debug”

75 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. Start application 75 1 Click “Resume” LED connected to PTC0 should be blinking!

76 TM Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010. In Summary By now, you should be able to: ► Understand what MQX is and how to use it ► Create tasks, schedule them and add synchronization using MQX ► Create your own MQX applications ► Understand what the Tower System is ► Understand CodeWarrior Development Studio v 10.0

77 TM


Download ppt "TM Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of."

Similar presentations


Ads by Google