Top Banner
Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601 Spring 2006 Computer Systems Architecture PIC Programming
9

Computer Systems Architecture PIC Programmingeee.guc.edu.eg/Courses/Electronics/ELCT706 Microelectronics Lab/PIC_prg.pdf · Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601

Mar 16, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Computer Systems Architecture PIC Programmingeee.guc.edu.eg/Courses/Electronics/ELCT706 Microelectronics Lab/PIC_prg.pdf · Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601

Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9

CSEN601 Spring 2006

Computer Systems Architecture PIC Programming

Page 2: Computer Systems Architecture PIC Programmingeee.guc.edu.eg/Courses/Electronics/ELCT706 Microelectronics Lab/PIC_prg.pdf · Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601

Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 2/9

PIC programming Steps:- �� ����������� ���������������������������� �������� �����

�� �� ��������� ����������������������

�� !�������� ���������"��������������#�����

��

Software used: - �� ���������$���"�#��%"��$�!�����!!!�"��$��%���� ��# ���!!!��%# ���%���

��

��

��

��

Page 3: Computer Systems Architecture PIC Programmingeee.guc.edu.eg/Courses/Electronics/ELCT706 Microelectronics Lab/PIC_prg.pdf · Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601

Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 3/9

1. Writing your C program �

����& ������ ���������"���������������

���������������%����

����'�(�����$�����������������

�� Compiling your program��

����& ����"��%������������

����)(�����"��$�������� ��� ���������������"��$��!�����

����� ���

� � ����

� � ������

� � �������������

� � ��������������� �

� � �

����* ���"��$��!����%��������%� ������� �����������

����������������"�������$����+*"������������"���$����!����,�� �����������

���������-������*.-,���$������

����������� ��������������������������������������� ���

��

�"�%/���%"� �

���,���

Page 4: Computer Systems Architecture PIC Programmingeee.guc.edu.eg/Courses/Electronics/ELCT706 Microelectronics Lab/PIC_prg.pdf · Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601

Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 4/9

3. Downloading your program to the PIC �

����& �����#����+)�%� ����0���!�/����(�0$�%������0%� ������

����%���%�0����1&2���

������$��������#�����

'�� ����%"��������%�%��������

Page 5: Computer Systems Architecture PIC Programmingeee.guc.edu.eg/Courses/Electronics/ELCT706 Microelectronics Lab/PIC_prg.pdf · Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601

Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 5/9

'�� ����& ����"�����������������$����

Page 6: Computer Systems Architecture PIC Programmingeee.guc.edu.eg/Courses/Electronics/ELCT706 Microelectronics Lab/PIC_prg.pdf · Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601

Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 6/9

'�� ����'���%�����%������� ����

3*� 4�)56�

5'� "��"����"���4�)56�

Page 7: Computer Systems Architecture PIC Programmingeee.guc.edu.eg/Courses/Electronics/ELCT706 Microelectronics Lab/PIC_prg.pdf · Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601

Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 7/9

'�� �4��7�� ��!��������,��������

Page 8: Computer Systems Architecture PIC Programmingeee.guc.edu.eg/Courses/Electronics/ELCT706 Microelectronics Lab/PIC_prg.pdf · Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601

Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 8/9

'�� �8���"������ ��������$��!��

Page 9: Computer Systems Architecture PIC Programmingeee.guc.edu.eg/Courses/Electronics/ELCT706 Microelectronics Lab/PIC_prg.pdf · Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 1/9 CSEN601

Prepared By: Mr.Khaled Wagdy, Dr.Gamal Fahmy 9/9

����'������!��������

����������������%�%������������"��9 )� �������������%��%/���������

:��������� �����;/<�

����������������������������������������������� ������������������������

���������������� ��������