
Hardware installation
5
K8048 © 2003 Velleman Components
6 Programming Procedure
Programming the microcontrollers: preparations
Writing or modifying the source code
: the source code is usually written in PIC assembler.
Look at the examples in the Velleman\K8048\Examples\ folder.
: the code you have written in comprehensible language is converted into machine
language. In this instance the Microchip PIC assembler software, MPASMWIN.EXE, is used.
: the machine code is programmed in the processor via your PC and the K8048,
using the PROGPIC2.EXE software
: erasing the contents of a controller
6.1 Writing/changing a program
In order to write or modify a program: \Velleman\K8048\Examples\DEMOF627.ASM
Example of a program treated with 'NOTEPAD'.
6.2 Compiling
Start MPASMWIN.EXE in the \Velleman\K8048 folder
The following setup screen is displayed (
click on the number for more details
Kommentare zu diesen Handbüchern