Who is Tower System for?

Download Report

Transcript Who is Tower System for?

Rapid Prototyping Solutions
Module 1: Freescale Tower System
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.
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
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.
TM
Advanced Embedded Development with
Rapid Evaluation and Prototyping
+
Tower System
=
Development and
Runtime Software
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.
Time to Market
TM
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.
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.
TM
Tower System Components
1. Processor Module
2. Peripheral Modules
Tower System
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.
3. Elevator Boards
TM
The Tower System
Processor Module:

Tower controller board
Size: The Tower is
approx. 3.5” H x 3.5” W x
3.5” D when fully
assembled
Works stand-alone or in
Tower system

Features new Open
Source BDM (OSBDM) for
easy programming and
debugging via miniB USB
cable

Board Connectors:
Four card-edge
connectors

Uses PCI Express
connectors (x16,
90mm/3.5” long, 164 pins)

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)

Dummy Elevator:
Future expansion for more serial
interfaces and more complex MPU
interfaces (e.g. RGB LCD, segment
LCD, audio, enhanced Timer, etc.)


Power regulation circuitry
Standardized signal
assignments (e.g. UART,
SPI, Timers, External Bus,
I2C, CAN, GPIO, Ethernet,
USB, etc.)

Peripheral Module:
Standard peripheral boards
compatible with all controller
boards (e.g. Serial, Memory, etc.)
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.
“Dummy” shown with only GND
connectivity. Used for structural
integrity

TM
Why Tower System?
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
►
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 lowlevel 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.
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.
TM
7
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.
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.
TM
Build Your System (3 steps or less)
1. Choose a Processor
Module
2. Choose Peripheral
Modules
Tower System
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.
3. Connect each
module to the
Elevator Boards
TM
How to Assemble your Tower System
Tower System
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.
TM
Available Tower System Modules
(www.freescale.com/tower for latest tools)
Coming
Soon
Processor
Modules
($39-$69)
TWR-MCF51CN
TWR-S08LL64
TWR-MCF5225X
TWR-S08LL64
Peripheral
Modules
($15 – $149)
TWR-SER
TWR-PROTO
TWR-ELEV
TWR-MEM
TWR-SENSORPAK
Coming
Soon
Complete
Kits
TWR-LCD
Coming
Soon
($99 - $149)
TWR-MCF51CN-KIT
TWR-MCF51CN-KIT
TWR-MCF5225X-KIT
TWR-S08LL64-KIT
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.
TM
11
Tower Geeks Online Community (www.towergeeks.org)
Interact. Explore.
Create.
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.
TM
Freescale MQX™ Software Solutions
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 are your customer’s challenges?
►
Peripherals are more complex ex: RS232 => Ethernet, USB
•
►
Solution: Full-Featured MQX RTCS, USB, BSP Drivers, 3rd 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





►
Customers need higher quality of code
•
►
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
•
•
►
Solution: Backed by Freescale Global FAE, TIC, AE and software developers
60% of a team’s resources are spent on software
•
►
Scheduling of the tasks with priorities
Synchronization of the resource access
Inter-task communication
Time predictable
Interrupt handling
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
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/mqx
TM
► A Full-Featured,
Scalable and Proven RTOS
What is MQX?
•
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:
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.
TM
Proven: 15+ Years in the Market Place
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)
ARC acquired Precise with MQX
Embedded Access Inc. (EAI) founded
• Roots from Precise & ARC
Precise Founded
• Strategic Freescale Partner
• MQX Began
2005
1989
Time
2000
Introducing Freescale MQX along
with MCF5225x
• Acquired MQX across Freescale’s
portfolio
2006
Time
2004
2005
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.
Time
2008
2009
2010
2011
2012
TM
16
What’s Free and Add–on?
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
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-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
TM
A Game Changing Move: Why Acquire MQX?
GUI
►
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
►
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
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.
The Solution
TM
Freescale MQX Software Solution
Simple and Scalable: Straight- forward API and modular architecture can be finetuned to fit application requirements
►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
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.
TM
19
Freescale MQX Real-Time Communication Suite (RTCS )
Simple and Scalable
►Small, configurable size conserves
memory space for application
►Allows developers to add web servers, email, 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
*
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.
Optional pre-integrated products
Also included in TCP/IP Lite by
Interniche
TM
20
MQX Task Aware Debugging
►
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
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.
TM
NanoSSL™/ NanoSSH™ for Freescale MQX
Security Options with Significant Cost Savings
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
►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.
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.
TM
22
NanoSSL™/ NanoSSH™ Customer Base
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.
TM
23
NanoSSL & NanoSSH: Rich Library of Cryptography Options
DES
3DES
AES
ARCFOUR
Diffie-Hellman
RSA
PKCS #1, Version 1.5
PKCS #5
PKCS #7
PKCS #8
DHDSA/DSS 512-1024
AES128-CBC
AES192-CBC
AES256-CBC
RIJNDAEL128-CBC
RIJNDAEL192-CBC
RIJNDAEL256-CBC
BLOWFISH-128-CBC
3DES-192-CBC
ARCFOUR-128
PKCS #10
PKCS #12
MD2
MD4
MD5
SHA1
SHA-224
SHA-256
SHA-384
SHA-512
HMAC-SHA1-96
HMAC-SHA1-160
HMAC-MD5-9
HMAC-MD5-128
DSA Public Key 3072
RSA Key Exchange
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.
TM
24
Freescale MQX Support Plan and Design Services
Level 2 Premium
Level 2 Standard
Design Services
Base
►*
Plan Overview
On Line Support Page Access
Maintenance Releases
Training Discount
Response Time
software labs
started and
on getting
response
Email
on Freescale
development
software
Support on simple
Email -- Standarized
Boards
Email - Detailed support on customer's hardware, intergration and
optimization of application code.
Remote Debug Sessions
Phone Support
Support Plan Term
Price
Part Number
►Why need Level 2 support?




Freescale SW and HW Customer's Code:
Customer's Code:
Simple application
Forums, TIC, FAE, AE
Remote debugging,
and software teams help code, prototyping
faster response,
customers bring up the phase, reproducible
complex applications &
problems on
provided software on
Freescale Professional
stacks
Freescale boards.
Freescale boards
Services & Embedded
Yes
Quarterly
Regular Price
-
Yes
Immediate
10 % Discount
48 Hours
Yes
Immediate
20 % Discount
24 Hours
Yes
-
Yes
Yes
Yes
Yes
Unlimited
Free
N/A
6 Months
$3,000
Coming Soon
Yes
10 hours
Yes
12 Months
$12,000
Coming Soon
Access:
Cost based on project
definition.
Outsource developing
of application software
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
►*
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.
Will be available on buy direct and disty
TM
25
What if MQX is not released for the product my customer wants?
►
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
Legacy support or earlier porting available **
ColdFire
Customer Selected Device
Power & i.MX
Customer Selected Device
Licensing
$3K
$7.5K
Support
Level 2 Premium Support $12K
Level 2 Premium Support $12K
Total Package
$15K
$19.5k
•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.
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.
TM
Try it Yourself: Benchmark Script
►Different
configurations: Max, Small, Smallest, Typical
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.
TM
MQX Training
►
Freescale offers : www.freescale.com/mqx
•
•
•
•
►
MQX Hands On Labs/App Notes/Documentations
Videos
Global Support from FAE Community
Public Community: 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.embeddedaccess.com/training.html
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.
TM
Continuing on with MQX
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™ Documentation
► MQXUG
User Guide
► MQXRM Reference Manual
► MQXUSBHOSTAPIRM USB Host API Reference Manual
► MQXUSBDEVAPI USB Device API Reference
► MQXUSBHOSTUG USB Host User Guide
► MQXRTCSUG RTCS User Guide
► MQXMFSUG File System User Guide
► MQXIOUG I/O Drivers User Guide
► MQXFS Software Solutions Fact Sheets
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.
TM
Further Reading and Training
► 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)
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.
TM
Further Reading and Training (Cont.)
► Videos:
•
•
•
MCF5225x & Freescale MQX introduction
Getting started with MCF5225x and Freescale MQX Lab Demos
And more
► VFTF
•
•
•
www.freescale.com/mqx
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
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.
TM
Related URL’s
► www.freescale.com/tower
► www.towergeeks.org
► www.freescale.com/mqx
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.
TM
CodeWarrior Development Studio for Microcontrollers v10.0
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.
TM
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.
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
TM
CodeWarrior Roadmap
Q1
RS08
CW MCU
v10.0
Beta 1
2009
Q2
Q3
CW MCU
v10.0
Beta 2
Q4
Q1
CW MCU
v10.0
Beta 3
2010
Q2
Q3
CW MCU
v10.0
FCS
Q4
Q1
CW MCU
v10.x
Beta
CW MCU
v10.x
FCS
2011
Q2
Q3
CW MCU
v10.x1
Beta
CW MCU
v10.x1
FCS
Q4
CW MCU
v10.x2
Beta
HCS08
V1-V4 ColdFire
MPC51xx/52xx
MPC55xx/56xx
DSC
HCS12(X)
CW mobileGT v9.x
CW MPC55xx/56xx v2.x
CW DSC v8.x
CW12 v5.x
HC08
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.
CW MCU v6.x
TM
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
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.
TM
37
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
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.
TM
38
Welcome Screen
Use Welcome Screen for immediate access to development resources.
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.
TM
39
New Project Wizard
2
3
1
4
5
8
6
7
9
Use New Project Wizard to create a new project in as few as 9 clicks.
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.
TM
40
MCU Change Wizard
2
3
4
1
5
6
Use MCU Change Wizard to retarget projects to a
new processor in as few as 6 clicks.
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.
TM
41
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
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.
TM
42
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
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.
TM
43
Tutorials
Step by step tutorials – known as cheat sheets in Eclipse –
are available for standard tasks
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.
TM
44
Hands-on Lab:
Create a project with Processor Expert
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.
TM
45
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
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.
TM
46
Open new project wizard
1
2
Click “File”
Select “New”
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.
3
Select
“Bareboar
d Project”
TM
47
Input project name and select device
Enter “LED”
Click “-” to expand
ColdFire V2
2
Click “-” to
expand
3
MCF5225X
You can change project
location to proper
directory. Default location
is used.
Click “Next”
1
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
“MCF52259”
Click “Next”
TM
48
Configure parameters
Deselect “P&E
USB BDM
Multilink”
Select “Open
Source BDM”
Click “Next”
Click “Next”
Click “Next”
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.
TM
49
Select Processor Expert and configurations
Select
“MCF52259CAG80”
Select
“Processor Expert”
Click “Next”
Select “Internal
FLASH”
Configuration
Click “Finish”
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.
TM
50
Project creation completed
Please connect TWR-MCF52259 kit to computer
with USB cable.
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.
TM
51
Build the project
Click “build” arrow
Select
“LED”
Select
“MCF52259_Internal_Flash”
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.
TM
52
Update Properties
Click “Project”
Select
“Properties”
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.
TM
53
Remove MCF52259 from system path
Select “C/C++ Build”
Select “Settings”
Select
“ColdFire
Compiler
Input”
Click “X” to
delete
Select “ColdFire_Support/(headers)/MCF52259”
Click “OK”
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.
TM
54
Update CPU component
Click “+” to expand
ProcessorExpert.pe
Click
arrow
Click “+”
to expand
Cpus
Select “Internal Clock”
Select “CpuMCF52259CAG80”
Press cntl+S
to save settings
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.
TM
55
Add BitIO component for LED
Click “-” to expand CPU Internal Peripherals
Click “-” to expand Port I/O
Right click “BitIO”
Select “Add to project”
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.
TM
56
Configure BitIO Properties
Select “PTC0”
Click “-” to expand
Embedded
Components
Select “Output” direction
Select “Bit1: BitIO”
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.
TM
57
Select BitIO Methods
Click “Methods”
Click
arrow
Select “generate
code”
for NegVal
Press cntl+S
to save settings
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.
TM
58
Add TimerInt Component
Click “-” to expand Timer
Right click “TimerInt”
Select “Add to project”
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.
TM
Configure TimerInt Properties - 1
Select “DTIM0_Compare”
3
Click “…”
Select “TI1: TimerInt”
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.
TM
60
Configure TimerInt Properties - 2
Click arrow
Enter “1”
Select “sec”
4
Click “OK”
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.
TM
61
Generate code
Click “Project”
Select
“Generate
code”
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.
Press cntl+S
to save settings
TM
62
Copy function call
Double click “Bit1.c”
to open in editor
Copy “Bit1_NegVal”
function call.
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.
TM
63
Paste function call into Events.c
Click “Outline”
Double click
“Events.c” to
open in editor
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
“TI1_OnInterrupt”
Paste “Bit1_NegVal”
function call.
TM
Build the project
Click “build” arrow
Select “MCF52259_Internal_Flash”
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.
TM
65
Update debug configuration
Click “Debug” arrow
Select “Debug
Configuration”
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.
TM
66
Update target initialization file
Click “Debugger”
Select
“…Internal_Flash –
Open SourceBDM”
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.
Click “File
System…”
TM
67
Navigate to MCF52259.cfg file
Select
“Debugger”
Select
“task_example”
Select
“Project
Settings”
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
“MCF52259.cfg”
Click “Open” 5
TM
68
Update memory configuration file
Select
“MCF52259.mem”
Click “Open”
3
Click “File
System…”
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.
TM
69
Update memory configuration file
Click “Close”
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.
TM
70
Flash file to target - 1
Click “flash” arrow
Select “Flash File to Target”
Click “Program with Erase”
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.
TM
71
Flash file to target - 2
Click “Close”
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.
TM
72
Start debugger
Click “Debug” arrow
Select “Debug
Configuration”
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.
TM
73
Select launch configuration file
Select
“…Internal_Flash –
Open SourceBDM”
Click “Debug”
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.
TM
74
Start application
Click “Resume”
LED connected to PTC0 should be blinking!
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.
TM
75
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
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.
TM
TM