User manual
15
PIC divided into 3 types of memories:
i. Program Memory - A memory that contains the program after the program
had been burned. As a reminder the program counter executes commands that
stored in the program memory one after the other [24].
ii. Data Memory - This is RAM memory type. It contains a special registers
such as SFR (Special Faction Register) and GPR (General Purpose Register).
The variables that stored in the data memory during the program are deleted
after we turn off the microcontroller [24].
These two memories have separated data buses, which makes the access to each one
of them very easy.
iii. Data EEPROM (Electrically Erasable Programmable Read-Only Memory) -
A memory that allows storing the variables as a result of burning the written
program [24].
Each one of them has a different role. Program memory and data memory is the
two memories that are needed to build a program while Data EEPROM is used to
save data after the microcontroller is turn off.
2.2.5 PIC Programmer
The PIC Programmer is a tool use to load a program to the PIC 18F452. The
PIC Programmer use USB to establish the connection between Laptop and
microcontroller in order to import the hex file into the PIC. The program will execute
when connected to computer and microcontroller turned on. PICkit 2 Readme
UIC00B is designed to program PIC Microcontroller that includes most of the PIC