Home > Documents > 8051 DEVELOPMENT BOARD - Binu Joy · 2017. 9. 4. · step 8: write the program and press save org...

8051 DEVELOPMENT BOARD - Binu Joy · 2017. 9. 4. · step 8: write the program and press save org...

Date post: 31-Jan-2021
Category:
Author: others
View: 1 times
Download: 0 times
Share this document with a friend
Embed Size (px)
of 20 /20
8051 DEVELOPMENT BOARD
Transcript
  • 8051

    DEVELOPMENT BOARD

  • Steps To Create

    Project on

    Keil µVision

  • Step 1: Open Keil µVision

  • Create New Project

    Step 2: Under Project Tab - Open New Project

  • Step 3: Browse Location – Make your Folder - Make your project Folder – Give File Name – Press Save

  • Step 4: Select Philips by Double clicking – Select

    P89C51RD2xx

  • Step 5: In Copy Standard 8051 Dialogue Box – Select No

  • Step 6: In TAB File – Select NEW

  • Step 7: Under TAB File – Select SAVE AS – Give .asm – Press Save

    Led_Suraj.asm

  • Step 8: Write the Program

    and Press SAVE

    Org 0000H

    MOV A,#00H

    MOV P1,A

    BACK: MOV A,#55H

    MOV P1,A

    ACALL DELAY

    ACALL DELAY

    MOV A,#0AAH

    MOV P1,A

    ACALL DELAY

    ACALL DELAY

    SJMP BACK

    DELAY: MOV R0,#0FFH

    UP1: MOV R1,#0FFH

    UP: DJNZ R1,UP

    DJNZ R0,UP1

    RET

    END

  • . Add the .c file into the project file

    Step 9: Under Project Workspace – Right Click on Source Group – Select Add Files to ‘Source Group1’

  • Step 10: Browse Location – Select File Type ASM Source - Select the .asm File created – Press ADD – Close the dialogue box

    Led_Suraj.asm

  • Step 11: Under Project – Select Option for Target ‘Target1’Under target Tab – Enter Frequency 11.0592Mhz

  • Go to OUTPUT Tab and Select Create .HEX file

    Step 11 Cont.: Under Output Tab- Check Create Hex File

  • Building the code

    Step 12: Under Tab Project – Select Build Target

  • Building Status

    Step 13: Check if Hex File is Created at the Bottom of Screen

  • Dumping Your Program in8051 Development Board

    Step1: Connect Serial port - one end of your cable with computer‘s Serial Port & Other end to the Serial Port of

    8051 Development Board.

    Step 2: Open Flash Magic

    Step 3: Select Device

    Step 4: Select COM port

    Step 5: Browse the ‘.hex’ file

    Step 6: Press start and Short 5V and ground of development

    Board together.

    http://www.robomart.com/robot-controller-boards/8051-robot/8051-development-board.html

  • Check if hardware is connected Load the hex file1 2

    Check the check boxes3

    Click Auto to load the program4


Recommended