Embedded vs pc application programming
This presentation is the property of its rightful owner.
Sponsored Links
1 / 11

Embedded vs. PC Application Programming PowerPoint PPT Presentation


  • 52 Views
  • Uploaded on
  • Presentation posted in: General

Embedded vs. PC Application Programming. Overview. The software design cycle Designing differences Code differences Test differences. In general. They are the same All programs have: Inputs Processing/Decisions Outputs Always use the Software Design Cycle. Software Design Cycle.

Download Presentation

Embedded vs. PC Application Programming

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Embedded vs pc application programming

Embedded vs. PC Application Programming


Overview

Overview

  • The software design cycle

    • Designing differences

    • Code differences

    • Test differences


In general

In general...

  • They are the same

  • All programs have:

    • Inputs

    • Processing/Decisions

    • Outputs

  • Always use the Software Design Cycle


Software design cycle

Software Design Cycle

  • Specification

  • Design

  • Code

  • Test

http://rabatech.com


Specification

Specification

  • Understand the Requirements

    • The same words mean different things to different people

    • As a group, what does the following mean:The program must respond quickly to input.

  • Write down the Requirements

    • Once you know what you plan to do (with numbers) write it down!


Design

Design

  • Decide the ‘best approach’ to meet your requirements

    • Hardware

    • Programming Language

    • Customer Education(Change the Requirements)


Coding

Coding

Embedded

PC Application

Abstracted Hardware

Plenty of Resources

Has an Operating System

  • Closer to the Hardware

    • Use native data types

  • Fewer System Resources

  • No Operating System

  • More efficient algorithms

    • Higher frequency = higher power


Testing

Testing

Embedded

PC Application

Usually simple to get a basic debug output

Can be very sophisticated testing

  • Testing must be planned in

  • Usually a simple interface

  • Often involves extra hardware


Other big differences

Other big differences

  • Take a few minutes and talk in small groups. I’ll be asking one group to give some of the ideas they came up with.


Code size example

Code Size Example

  • Using the example code on the web explore the Wunderboard lights and code size based on variable types.


Things to remember

Things to Remember

  • There are parallels between embedded and PC programming

  • When coding embedded, it is better to use native data types


  • Login