Development System EasydsPIC6
MikroElektronika
page
3.0. On-board dsPICprog Programmer
A programmer is a necessary tool when working with microcontrollers. It is used to load a hex code into the microcontroller and
provides an interface between the microcontroller and a PC. The
EasydsPIC6
has an on-board
dsPICprog
programmer. All you need
is a .hex file to be loaded into the microcontroller using the
dsPICFLASH
program. Figure 3-3 shows connection between the compiler,
the
dsPICFLASH
program and the microcontroller.
Figure 3-3:
Programming process
On the left side of the
ds
PICFLASH
program’s main
window, there is a number of
options for setting the operation
of the microcontroller to be
used. A number of options
which enable the programming
process are provided on the right
side of the window. Positioned
in the bottom right corner of
the window, the
Progress
bar
enables you to monitor the
programming progress.
2
Write a code in one of the dsPIC compilers, generate
a .hex file, and employ the on-board programmer
to load the code into the microcontroller.
1
3
Compiling program
hex code loading
Write a program in one of dsPIC
compilers and generate a .hex file;
Use the
dsPICFLASH
program
to select desired microcontroller to be
programmed;
Click the
Write
button to dump
the code into the microcontroller.
2
1
3
Figure 3-2:
On-board programmer
Figure 3-1
: USB connector’s front side
Programmer’s USB connector