pic microcontroller programming user guide.pdf

15
  PIC MICROCONTROLLER PROGRAMMING  Preparing for PIC microcontroller Programming Follow the following steps one by one. 1. Click “Copy PBP245” button and then copy “PBP245” folder to any place of your hard drive. ( Ex:- C:\Program File\pbp245 )  2. Click “Install MCS” button to install the Micro Code Studio. INSTALLING MICRO CODE STUDIO System Requirements  Windows 98 or higher  Pentium 3 or higher processor  9.9MB Disk Space Step1:- Micro Code Studio Se  tup Wizard. Click Next.

Upload: maria-malone

Post on 09-Oct-2015

114 views

Category:

Documents


3 download

TRANSCRIPT

  • PIC MICROCONTROLLER PROGRAMMING

    Preparing for PIC microcontroller Programming Follow the following steps one by one.

    1. Click Copy PBP245 button and then copy PBP245 folder to any place of your hard drive. ( Ex:- C:\Program File\pbp245 )

    2. Click Install MCS button to install the Micro Code Studio.

    INSTALLING MICRO CODE STUDIO

    System Requirements

    Windows 98 or higher Pentium 3 or higher processor 9.9MB Disk Space

    Step1:-

    Micro Code Studio Setup Wizard.

    Click Next.

  • Step2:-

    License Agreement

    Step3:-

    Tick I accept the agreement

    and click Next.

    Enter installation folder, if you want (or it get default C:\Program Files\Mecanique\MCS). Then click Next to continue. Then installation process must be proceeding.

  • Step4:-

    Click Finish to finish the installation process.

  • Configuring MicroCode Studio

    Click Start > All Programs > MicroCode Studio > MicroCode Studio then MicroCode Studio search PBP compiler. In this stage cancel it. Then MCS window must be appeared.

    1

    2

    3

  • Click View > Compile and Program Options Then Compile and Program Options window will be appeared.

    In compiler tab, click Find Manually button. Then select PBP245 (C:\Program Files\PBP245). Then click OK. After that PBP compiler will be linked to MCS.

  • Then Click OK

    Then you can write your program on MCS.

  • Installing WinPic800 (Programming Software)

    This software is necessary for program the PIC microcontroller.

    Click WinPic800 on Main window and then copy WinPic800 folder to any place of your hard drive (C:\Program files\WinPic800). Then double click WinPic800 icon and open it.

    Then select Settings -> Hardware and do following steps.

    COM1

    1

    2

    3

  • Hardware Test You can check your programmer, whether its properly connect or not.

    Detect PIC This option is used to auto detect PIC microcontroller.

    Erase All Erase PIC Microcontroller.

    Program All This option is used to Program the PIC.

    Verify All This option is used to verify your program in the PIC

    INSTALLING PROTEUS

    This software is useful to simulate PIC programs.

    1. Click Install Proteus on main window and then appears Proteus installation sub window. Click INSTALL button.

    1. Hardware Test 2. Detect PIC 3. Erase All

    4. Program All 5. Verify All

  • 2. Then click NEXT button on the welcome window.

    3. Click YES button on License agreement window.

    4. Chose Use a locally installed License Key option on Setup type window. Then click NEXT.

  • 5. Click NEXT button on Product License key window.

    6. Chose installation folder.

    7. Click NEXT on Select Features window.

  • 8. Click NEXT.

    9. Then starts the installation process.

    10. Then click FINISH to finish the installation process.

  • 11. Then Click Update Proteus Button.

    12. Then Proteus update window appears. Click Update button.

    13. After finishing update, update complete information box appears. Update process takes few seconds. Then click OK button.

  • 14. Then click Close button.

    15. Then click Install license button on Proteus installation window.

  • 16. Then Labcenter License Manager Window appears. Select first line and then click Install.

    17. After that all license files must be installing. Then click Close. After these steps you can work with Proteus software. Go Start -> All Programs -> Proteus Professional -> ISAS 7 professional and click on it. Then you can see work space of the proteus software.