With ever increasing Connectivity options, Security Protocols and Sophisticated Human Interfaces, Software and AP developers find themselves caught more deeply in the dichotomy of dealing with increasing complexity of designs and shrinking timelines. Resource constraints and constantly evolving software landscape provide challenges to software Integration that have to be overcome to enable designers to focus on the actual application.
Developers need a Modular Software Framework that accelerates software integration, provides flexible programming options and enables application re-use across multiple platforms. “That framework is MPLAB® Harmony.”
Join us for the webinar series where we provide a technical overview of MPLAB® Harmony, Live tool demos, Microchip and third party Middleware support and finally demonstrate how Harmony accelerates software integration and moves development focus and resources to Application Development and testing.
In this first installment of a three part webinar series attendees will learn:
-Current Software Development Challenges and how MPLAB® Harmony, Microchip’s software framework, overcomes them.
-Technical Overview of MPLAB® Harmony Framework.
-Integrating RTOS in an embedded development ecosystem.
-Graphics Application demo illustrating how MPLAB® Harmony facilitates changing system requirements.
2. q This webinar will be available afterwards at
www.designworldonline.com & email
q Q&A at the end of the presentation
q Hashtag for this webinar: #DWwebinar
Before We Start
5. Agenda
• Embedded software development challenges
• MPLAB® Harmony–Overview
• Application migration video demo using MPLAB® Harmony
• Third Party Feature Presentation:
• Q&A
7. Embedded Development Challenges
Embedded Development
Challenges
• End Systems Sophistication Increasing
• Complexity of Projects Growing
• Development Time Stretching
• S/W % Total Development Time* à 60%
• Switching between RTOS leads to rework
• Lack of software compatibility creates new bugs
• Greater Risk with Re-‐‑Work of Code
• Challenge to Integrate RTOS, Middleware,
Drivers All in One Platform
• Generally Multiple 3rd Party Software Suppliers
* 2014 UBM Embedded Market Study
8. Embedded Development Challenges
• Increased Verification & Debug Time Means
Less time to Focus on Critical Applications
• 60% of Software Resource Involved in Verification**
• Defects Found during Verification Costs 10x More Than Found in Design***
• Unpredictable Future Competitive Environments
• Increasing Pressure to Quickly Adapt
• Economic Risks of 3rd Party Companies
• Difficult to Procure all the S/W Components
from Single Vendor’s Website
• Full Feature Set Offerings are Costly
• Sca[ered Support for 3rd Party Offerings
Embedded Development
Challenges
** Defect Prevention: Reducing Costs and Enhancing Quality, isixsigma – Mukesh Soni
*** Frequently Forgo[en Fundamental Facts about Software Engg, IEEE – Robert L Glass
9. MPLAB® Harmony Solves!
MPLAB® Harmony Solution
*** Frequently Forgo[en Fundamental Facts about Software Engg, IEEE – Robert L Glass
Customer Code Developed in Harmony Framework has Higher Reusability
COMPLEXITY
RE-‐‑WORK
INCONSISTENCY
FRAGMENTED
OBSOLOSCENCE
Reduces Development Costs:
REDUCE!
Microchip Tested, Debugged, Interoperable Code is Ready for
RE-‐‑USE
RE-‐‑USE!
Modular Architecture Enables Efficient Integration
Pre-‐‑tested Software Eliminates These Bugs
SAVE!
Single Source Support for MPLAB® Harmony Code (including 3rd party solutions) by
Microchip
Improved Reaction Time to Ever Changing Markets
FUTURE
PROOF!
10. • MPLAB® Harmony is a comprehensive, interoperable,
tested software development framework for Microchip
PIC32 microcontrollers.
o The framework integrates both internal and 3rd party
middleware, drivers, peripheral libraries and real time
operating systems, simplifying and accelerating the 32-bit
code development process.
o MPLAB® Harmony works within the MPLAB X IDE
development environment and is supported by Microchip.
§ First Line of Support
§ First line of support provided by Microchip for all Harmony
components, including third-party solutions
§ Comprehensive Web Portal
§ Includes Licensing, Resale, Technical Support & Collateral
for Microchip & third-party Harmony components
What is MPLAB® Harmony
Flexible
Interoperable
Compatible
MPLAB®
Harmony
Modular
Re-‐‑Usable
16. Applications
MPLAB® Harmony
Libraries
System &
Configuration
Code
Framework
Peripheral Initialization
Middleware Logic
System
System Configuration
System Initialization
System Control Logic
Middleware Initialization
Peripheral Logic
Your Application
Code
Application
Application Initialization
Application Logic
17. Framework of Libraries
• Interface Functions
o Input, Process, Output
o May have “Side Effects”
o Treated as a “Black Box”
• Module
o One or more closely related functions
o Share common data or resources
o Maintain state of common resources
o Interface stays the same, even if implementation changes
• Provides Ability to “Divide & Conquer”
18. Multiple Clients & Instances
USART 1
USART 2
USART
Driver
Multiple Instances
Dynamic library modules can manage multiple
instances of same hardware.
• Avoids duplicating library code
• Simplifies application or client code
• Requires use of an instance “index”
Timer 1
Timer 1
Driver
TCP/IP
Console
File System
Multiple Clients
Multiple unrelated “clients” can access
common “server” modules.
• Localizes protection & maintenance of
shared resources
• Isolates clients from each other
• Requires use of a client “handle”
25. MPLAB® Harmony –Summary/Next steps
• Modular architecture allows Drivers and Libraries to work together with minimal effort
• Applications can be easily ported to different boards
Improved Code Interoperability
• Integrated single platform enables shorter development time
• Able to easily add features
Faster Time to Market for
Customers
• Improves scalability across PIC32 Microchip parts to custom fit customers requirement
Improved Compatibility
• Common SW platform with standard interface ensures efficient Microchip support
• One stop support for all customer needs
Simplified Support
• MPLAB® Harmony integrates third party solutions (RTOS, Middleware, Drivers etc) into the
software framework seamlessly
Enhanced 3rd party software
integration
Where to get MPLAB® Harmony?
• Basic framework is FREE!
• Select Tools & Libraries have a premium.
Pricing
• Download MPLAB® Harmony at www.microchip.com/Harmony
27. Application Overview
• Basic graphics application
with USB and file system
services.
• D4 on Display is synced up
with on board LED D4.
● Display prompts the user to
insert the USB drive.
● Once the USB Pen drive is
inserted, the applications reads a
file and displays the text on the
screen.
28. Application Overview
On USB Pen drive insertion, the
applications reads a file from the drive
and displays the text on the screen.
30. • Microcontroller :
PIC32MZ2048ECH144 (200 MHz,
2 MB Flash and 512 KB RAM)
• Low Cost Controller less Graphics (L.C.C.G).
• 4.3" WQVGA PCAP touch display
Application Migration Summary
• Microcontroller :
PIC32MX795F512L (80 MHz, 512KB
Flash and 128 KB RAM)
• Solomon Systech Graphics Controller (SSD1926)
• 3.2 color TFT touch-screen QVGA display
v Application Migration with just some basic
configuration changes .
v Not a single line of code needed to be written.
v Efficient, time-saving.
PIC32MZ Embedded Connectivity Starter kit + PIC32
Multi-media Expansion Board II (MEB II)
PIC32 Ethernet Starter kit II +
PIC32 Multi-media Expansion Board (MEB I)
31.
32. Value Proposition
FreeRTOS’s compelling value
proposition, which has made it the
market leading RTOS in the MCU
space, is delivered directly to
Microchip customers within the
Harmony ecosystem
High quality C source code under strict quality control
Safety critical version ensures dependability
Tutorial books and training to educate engineers
Pre-‐‑configured example projects
Free first class support
Large/growing user base and community (>113K downloads in 2014)
Peace of mind -‐‑ low cost commercial options can be taken at any time
= A low total cost of ownership, risk free, & compelling solution
33. Ease of Use Benefit #1
• Automatic inclusion of correct
source files
34. Ease of Use Benefit #2
• Automatic creation of
configuration file
35. Ease of Use Benefit #3
• Automatic creation of
system interrupts
• No need for any assembly
coding
36. Ease of Use Benefit #4
• Automatic creation of
system tasks
39. MPLAB® Harmony Configurator- graphical
system and middleware configuration
Attend the Second Webinar of the MPLAB® Harmony
series to learn:
v In depth Hands-on Demo of MPLAB® Harmony
Configurator.
v Integrating Network Connectivity in an embedded
design.
Featured Ecosystem Partner:
May 20 2015
2-3pm EST
40. MPLAB® Harmony Ecosystem
Attend the third Webinar of the MPLAB® Harmony
series to learn:
v Benefits of using MPLAB® Harmony for integrating
third party solutions.
v How MPLAB® Harmony simplifies software purchase
and eases support.
Featured Ecosystem Partner:
May 27 2015
2-3pm EST
42. Thank You
q This webinar will be available at
designworldonline.com & email
q Tweet with hashtag #DWwebinar
q Connect with Design World
q Discuss this on EngineeringExchange.com