Training program: Mechanic - electrotechnician Program name: Digital processing - microprocessors III. class Microcontrollers Elaborated by: Vlastimil Vlček Projekt Anglicky v odborných předmětech, CZ.1.07/1.3.09/ je spolufinancován Evropským sociálním fondem a státním rozpočtem České republiky.
MPLAB-IDE, ICD-2 Software simulators (MP-LAB) + simulate the function of a microcontroller with the help of software + are mostly available free of charge + good support from the producer - do not work in real time - do not enable direct work with the ports
MPLAB-IDE, ICD-2 Hardware emulators (IDEA) + hardware emulation of a function in real time + support direct work with the ports + possibility of debugging a program on a real hardware - support of only a few types of microcontrollers - do not respect real properties of a microcontroller - price
MPLAB-IDE, ICD-2 In-Circuit Debuggers (MPLAB ICD2) + emulation directly at the chip of a real microcontroller in real time + possibility of debugging a program on a real hardware + respect real properties of a microcontroller + good support from the producer + programming of a microcontroller directly from the MPLAB IDE environment - cheap types do not support all types of microcontrollers, they have some unpleasant limitations during debugging - for their activity, they need a part of system resources and two pins of the I/O port
MPLAB-IDE, ICD-2 MICROCHIP ICD-2 In-Circuit Debugger, connected with an instructruction board
Other development means Microchip PICDEM2-Plus instruction board Socket for PIC16/18Fxx LED display 2x16 characters 3 x buttons 4 x LED diodes Temperature sensor (I 2 C bus) Potentiometer for the demonstration of the A/D converter RS-232 connector Acoustic piezo converter Breadboard for experimenting Brought-out external buses of the microcontroller Power supply - a 9V battery or a 9V/500mA external adapter
Other development means PRESTO programmer Programming of a wide range of circuits (Microchip, Atmel AVR, 8051, Texas Instruments etc.), including the EEPROM and FLASH memories and the FPGA fields Excess-voltage protection and current overload protection Programming of the circuits mounted on the PCB High speed of programming Power supply from the USB bus
Summary of the subject matter What comes to your mind when you hear the term “development environment”? What does the development environment enable? In what does a software simulator differ from a hardware emulator? In what does a hardware emulator differ from an “In Circuit Debugger”?
Summary of the subject matter How do you connect the MICROCHIP ICD 2 to the PC and to the application hardware? What are the advantages and disadvantages of the ICD system? What are the advantages of an external programmer?
Datasheet Microchip PIC16F882/883/884/886/887 DS41291E ( Microchip.com: Getting Started with PICmicro MCUs Microchip.com: MPLAB IDE User’s Guide Microchip.com: Quick Guide to Microchip Development Tools References