| Electronic Components Datasheet Search |
|
PICDEMPIC18 Datasheet(PDF) 20 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PICDEMPIC18 Datasheet(HTML) 20 Page - Microchip Technology |
|
20 / 38 page ![]() PICDEM™ PIC18 Explorer Demonstration Board User’s Guide DS51721B-page 16 © 2008 Microchip Technology Inc. 2.4 PROGRAMMING THE MICROCONTROLLERS Either or both the main microcontroller (PIC18F8722) and the RS-232 to USB, or the PIC18LF2450 microcontroller, can be reprogrammed. The main microcontroller that is reprogrammed can either be the board-mounted PIC18F8722 device or an alternate main microcontroller, mounted on a PIM attached to the board. This section discusses: • Programming Requirements • Loading the Program 2.4.1 Programming Requirements To reprogram a sample device, the following is required: • Program source code – Sample code is preloaded on the device, but user source code can be substituted. If this is done, the sample program can be restored using the file on the board kit’s CD-ROM. • An assembler or compiler – Source code must be assembled or compiled into a Hex file before it can be programmed into the device. • A programmer – Once the code is in the Hex file format, this device programs the microcontroller’s Flash memory. If the code protection bit(s) have not been programmed, the on-chip program memory can be read out for verification purposes. In meeting these requirements: • Code development and debugging – The free MPLAB® IDE software development tool includes a debugger and sev- eral other software tools as well as a unified graphical user interface for working with other Microchip and third-party software and hardware tools. • Assembler – The free MPLAB IDE tool includes the MPASM™ assembler. • Compiler – Microchip’s MPLAB® C18 is a C compiler for PIC18 microcontrollers and is fully integrated for the MPLAB IDE environment. • Programmer – Microchip’s MPLAB® In-Circuit Debugger (ICD) 2 or PICkit™ Starter Kit can be used to program the device and both are fully integrated for the MPLAB IDE environment. The free MPLAB IDE tool set and its documentation can be downloaded at http://microchip.com. For a list of the other mentioned devices’ documentation, see “Recommended Reading” on page 3. Other assemblers/compilers can be used. For a list of tools compatible with PIC microcontrollers, see the Microchip web site (http://microchip.com). |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |