100 likes | 178 Views
Anglicky v odborných pÅ™edmÄ›tech " Support of teaching technical subjects in English “. Training program: Mechanic - electrotechnician Program name: Digital processing - microprocessors III. class Microcontrollers Elaborated by: Vlastimil VlÄek.
E N D
Anglicky v odborných předmětech"Support of teaching technical subjects in English“ 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/04.0002 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 (I2C bus) • Potentiometer for the demonstration of the A/D converter • RS-232 connector • Acoustic piezo converter • Breadboardfor 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 theapplication hardware? • What are the advantages and disadvantages of the ICD system? • What are theadvantages of an external programmer?
References • DatasheetMicrochip PIC16F882/883/884/886/887 DS41291E (http://www.microchip.com) • Microchip.com: GettingStartedwithPICmicroMCUs • Microchip.com: MPLAB IDE User’s Guide • Microchip.com: QuickGuide to MicrochipDevelopmentTools