MikroElektronika mikroProg Instrukcja Użytkownika Strona 8

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 16
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 7
8
mikroProg Suite for PIC
MikroElektronika
page
2.0. Loading .hex File into the Program
For programming the microcontroller, it is necessary to write a program in the appropriate compiler rst. The program is compiled
then and a .hex le used for programming the microcontroller is generated. Prior to loading the .hex le into the program, select family
and type of the microcontroller to be programmed. Use the MCU Family option to select the microcontroller family. By clicking on this
option, a drop-down list with available microcontroller families will appear. Select the microcontroller type you want from the drop-
down list that appears by clicking on the MCU option. Load the .hex le into the mikroProg Suite for PIC program by clicking on the
Load button. The .hex le can also be loaded via the keyboard shortcut Ctrl+O or the Load HEX option from the File menu. By right
clicking on any part of the main window, an extra window including different options will appear. One of them is the Load HEX option.
An alternative way of loading a .hex le is by dragging and dropping it on any portion of the program’s main window.
Figure 2-3: HEX le options
Figure 2-4: Loading .hex le via the File
menu by clicking on the Load HEX option
Figure 2-5: By right clicking on any portion of
the program’s main window, a menu containing
programming options will appear. One of them is the
Load HEX option
Figure 2-1: MCU family selection
Figure 2-2: MCU type selection
MCU Family option
MCU option
MCU drop-down list contains all
microcontrollers belonging to PIC16F family
After connecting the hardware programmer/development system, the program automatically
recognizes which microcontroller families are supported by the connected device. When
the connection is established, choose the family and type of the microcontroller to be
programmed.
By pressing the Ctrl and O keys at the same time, an option for .hex le loading becomes
available on the screen.
The mikroProg Suite for PIC program enables you to load the .hex le by simply dragging
and dropping it on any portion of the program’s main window (drag and drop).
Przeglądanie stron 7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Komentarze do niniejszej Instrukcji

Brak uwag