Chen-Hanson Ting SVFIG December 20, 2014

Slides:



Advertisements
Similar presentations
Code Composer Department of Electrical and Computer Engineering
Advertisements

Slides created by: Professor Ian G. Harris PIC Development Environment MPLAB IDE integrates all of the tools that we will use 1.Project Manager -Groups.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
ARM development environment Modified Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting.
Systems Software.
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
1BA3 G Lacey Lecture 51 Evaluating mathematical expressions  How do computers evaluate x + y or any mathematical expression ?  Answer : “Reverse Polish.
Handheld TFTP Server with USB Andrew Pangborn Michael Nusinov RIT Computer Engineering – CE Design 03/20/2008.
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Project performed by: Safi Seid-Ahmad Emile.
Systems Programming Course Gustavo Rodriguez-Rivera.
M68K Assembly Language Programming R.Renner Chapters 9-10 Memory-Mapped I/O Exceptions & Interrupts Notice: Chapter slides in this series originally provided.
Table 1. Software Hierarchy Levels.. Essential Tools An assembler is a program that converts source-code programs into a machine language (object file).
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
Railway Foundation Electronic, Electrical and Processor Engineering.
ECE 4220 Real Time Embedded Systems Final Project Presentation Spring 2014 University of Missouri Columbia By: Michael Brauch Temperature Data Logger.
ECE 382 Lesson 2 Readings Lesson Outline Admin Assembler Linker
Railway Foundation Electronic, Electrical and Processor Engineering.
The 8051 Microcontroller Architecture
FPGA VHDL eP32 Design 2012 FIG Taiwan Conference February 17, 2012 Chen-Hanson Ting.
328eForth Workshop C. H. Ting February 16, 2012 SVFIG.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Welcome to Workshop 88’s Tiny85 Class Please download Tiny core libs from: (for Arduino 1.0, not 1.5!) Unzip and.
Introduction Purpose Objectives Content Learning Time
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
PIC microcontrollers. PIC microcontrollers come in a wide range of packages from small chips with only 8 pins and 512 words of memory all the way up to.
Silicon Labs ToolStick Development Platform
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
Oppenheimer Technologies Rick King Jonathan Creekmore.
Chapter Introduction to Computers and Programming 1.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
328eForth for Arduino Uno C. H. Ting February 16, 2012 SVFIG.
NetBurner MOD 5282 Network Development Kit MCF 5282 Integrated ColdFire 32 bit Microcontoller 2 DB-9 connectors for serial I/O supports: RS-232, RS-485,
COE4OI5 Engineering Design Chapter 2: UP2/UP3 board.
Slides created by: Professor Ian G. Harris Test and Debugging  Controllability and observability are required Controllability Ability to control sources.
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
The 8051 Microcontroller and Embedded Systems
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Vintage Computer Hardware 101 Featuring the MITS Altair 680b Bill Degnan.
ADAM2 Single Remocon MCU IDE User’s Manual S/W Integrated Development Environment - Assembler - Simulator - Code Wizard V1.0 Technical Sales Team, ETA.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Slide 1 Project 1 Task 2 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Task 2 Briefing The Design of a Computer.
Embedded System. What is an Embedded System? Computing systems embedded within electronic devices Hard to define – Nearly any computing system other than.
Chapter 1 : Overview of Computer and Programming By Suraya Alias
 Programming - the process of creating computer programs.
ChibiOS/RT Demo A free embedded RTOS
Software Toolchains. Instructor: G. Rudolph, Summer Motivation Desktop Programmers typically write code on the same kind of machine on which it.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
Programming and Debugging with the Dragon and JTAG Many thanks to Dr. James Hawthorne for evaluating the Dragon system and providing the core content for.
A Quick Start Guide to PIC16F877 microcontroller And Microchip Development Environment A Quick Start Guide to PIC16F877 microcontroller And Microchip Development.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Debugging using By: Samuel Ashby. What is debugging?  A bug is an error in either a program or the hardware itself.  Debugging is first locating and.
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
The 8051 Microcontroller architecture
Scrolling LCD using Arduino.
Programming and Debugging with the Dragon and JTAG
PROPELLER DISPLAY OF MESSAGE BY VIRTUAL LEDS
CS4101 Introduction to Embedded Systems Lab 1: MSP430 LaunchPad IDE
PC Mouse operated Electrical Load Control Using VB Application
ECE 353 Introduction to Microprocessor Systems
Arduino Development for Beginners
DIGITAL CALCULATOR USING 8051
CS4101 Introduction to Embedded Systems Design and Implementation
Describe how NASA remotely controls equipment in space.
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Microcontrollers and Microprocessors
Software Setup & Validation
System Programming By Prof.Naveed Zishan.
2012 FIG Taiwan Conference February 17, 2012 Chen-Hanson Ting
Presentation transcript:

Chen-Hanson Ting SVFIG December 20, 2014 Zen of LaunchPad Chen-Hanson Ting SVFIG December 20, 2014

Summary What is Zen? LaunchPad is Zen Forth is Zen 430eForth is Zen 430eForth-IDE is Zen Morse Code Beacon

Forth is Zen Forth is the simplest programming language and the simplest computer architecture. Forth is a simple list processor. All computable problem can be solved in nested lists, which generally give the simplest solution. People did get enlightened in Forth.

LaunchPad is Zen LaunchPad is essentially the single chip microcontroller MSPG2553. Ignore the Emulation Part on LaunchPad, which is much more complicated than MSP430G2553. It just provides a transparent interface to IDE on PC which lost its USART port to USB.

MSP430G2553 is Zen MSP430G2553 is an excellent host for a Forth Virtual Machine. 16 KB of flash memory and 4 KB of RAM. Serial Communications devices including an USART needed by Forth. Many other I/O devices for wide range of applications in a 20 pin DIP package.

Thread Model Comparison I tried three different thread models to compare, and select the best model for this book Zen for LaunchPad. Subroutine Thread Model v3.3 Direct Thread Model v4.3 Indirect Thread Model v6.1

430eForth v4.3 is Zen Only 182 total commands 125 Commands are visible 83 commands in assembly 57 Commands are nameless It only takes 4134 bytes in flash memory.

430eForth v4.3 is Zen 125 commands define the simplest Forth Language for programming real applications on LaunchPad. With LaunchPad, it is ideally suitable for young students and first time Forth programmers.

430eForth-IDE is Zen A gift from Dirk Bruehl of 4E4TH.org, derived from 4E4TH-IDE. Integrative Development Environment Flash downloader Terminal emulator Text file downloader Integrated Editor, Compiler, Command Viewer, Debugger, and Turnkey services

430eForth-IDE is Zen Very small package. Include all IDE services. Assume a valid 430eForth.a43 image. Best companion for 430eForth and for LaunchPad.

LaunchPad Experiments Turn LED’s On and Off HEX 41 21 C! (Turn LED on) 0 21 C! (Turn LED off) 1 21 C! (Turn red LED on) 40 21 C! (Turn green LED on)

Tone Generator Connect 8 Ohm speaker to P2.0/GND HEX 1 2A C! ( P2.0 set as output) 1 2E C! (TA1.0 output to P2.0) 80 182 ! ( Set TA1.0 to toggle) 400 192 ! ( Set period count) 210 180 ! ( Start speaker) 0 180 ! ( Stop speaker) It can’t be any simpler!

Morse Code Beacon Originally Michael Kalus’ 4E4thMorsecode.4th Modified to use Timer_A1 to produce tones Dit’s lit up red LED. Dah’s lit up green LED.

RUN! VIEW APP! These are three buttons above the Word-List-Panel on top right corner. RUN! Execute a highlighted command VIEW Display source code of highlighted command APP! Execute a highlighted command on Reset or Power-up

Thank you. Merry Christmas and Happy New Year!