SlideShare a Scribd company logo
Microprocessor Lab
Procedure for Programming the EPROM’s
For the 8086 Minimum-Mode Project
To demonstrate the minimum 8086-based board working, you will have to run the similar
program that you wrote and demonstrated on the SDK-86 in the previous lab assignment.
The program was to read data from switches and then display the data on the LED’s,
rotating the display every second. Minor modifications need to be made to the previous
program to run it on the project board. The following are the required modifications:
1. The address for the 8255 ports will be corresponding to the addressing logic used
in your design. For proper address, refer to your address-decoding logic for the
8255 chip.
2. Change the previous program. Have the following format:
.MODEL SMALL
.CODE
ORG 0000H
START:
; Your original program
ORG 0FF0H
JMP FAR PTR START
END START
This way the system will load your program at the proper address when reset.
Save your program with an .asm extension.
3. Assemble the program in the previous section using Turbo Assembler. Turbo
Assembler can be found in the following locations:
Microprocessor lab - C:MICROLABtasm31
It is recommended that you copy Turbo Assembler into your working directory,
where your program is stored. Use the following command to assemble your
program:
Tasm -l (filename).asm, (filename).obj, (filename).lst
Where (filename) is your filename whatever you name, but has to be eight
characters.
4. The program must be linked using Turbo linker. Give the following command to
generate the executable binary:
tlink (filename).obj, (filename).rom
Don’t give .com or .exe extension to the output file. This is for being able to write
the program into the ROM chip.
5. The next step is to create the configuration file for the LOCATE program, which
will generate the code for the chip-writing utility. LOCATE will modify your
program binary so that it will be mapped appropriately to the ROM for your
project. The following text must be put into a file with the filename
(filename).cfg.
hexfile intel86
absfile axe86
listfile segments
map 0xff000 to 0xfffff as rdonly
cputype i8086
class DATA = 0x0000
class CODE = 0xff00
output CODE
6. The next step is to generate the code of your program using LOCATE. The
LOCATE program can be found in the following locations:
Microprocessor lab - C:MICROLABLocate
Switch to the directory above and generate the code with the following command:
Locate -Hi your path (filename) .rom
where {your path} is the drive and the directory of your (filename).
7. After performing all the steps, you should have the following files that have your
name with the following extensions:
.asm, .obj, .axe, .lst, .cfg, .hex, .map, .rom, .loc
8. Your program is now ready to be placed on your EPROM’s. This is done by MCT
chip programmer, which is connected to each computer in the Microprocessor
Lab. To start the utility program, either double click on the “Top Max” icon .
9. Once the Top Max window is opened check if it has loaded the file of INTEL
2716 , if it has not(or to be sure) go to the "Device" option of the main menu and
use "Select" option.
10. After clicking on the "Select" option you find a new window prompting to enter
the NAME of the file(Manufacturer Name).Enter "INTEL" and select 2716 as the
device. Press "OK".
11. Perform blank check from the main menu buttons. If you get the message “Blank
check ok” then proceed to the following steps.
12. Go to "Config" option of the main menu and select "Option" and set the default
buffer value as ‘FF’ as shown in the figure below.
13. In Gang Split option select"1Gang" and "Even" for even address programming.
14. Make sure that for loading the Program keep the Buffer Start and End addresses
are the same as shown in the figure below.
15. For “Auto Inc” option keep the keep the start and end address as shown in the
figure below.
16. Click on "File" of the main menu and select "Load" to load the Hex file of your
program into the Programmers Buffer.
17. To verify go to "Buffer" of the main menu and click on the "Edit Buffer" and
check if the program code bytes are on the correct address.(starting from 0f000)
18. Close the window and select the “Program” button to start programming.
19. Similarly select “Odd” for odd address programming and follow the above (Step
No.17 & 18) procedure.
20. If you don’t receive any error, you have successfully loaded your program to the
EPROMs. If you get errors, first check if your EPROM is blank then exchange
your EPROM at the electronics shop. Also check with the TA if you have further
problems.
21. To make sure the program code bytes of the Programmed EPROMs are valid,
perform a “Read” operation by first clearing off the contents of the buffer.
Project eprom progr
Project eprom progr

More Related Content

Similar to Project eprom progr

Mp lab manual
Mp lab manualMp lab manual
Mp lab manual
Pradeep Kumar
 
Mp &mc programs
Mp &mc programsMp &mc programs
Mp &mc programs
Haritha Hary
 
Microprocessor chapter 9 - assembly language programming
Microprocessor  chapter 9 - assembly language programmingMicroprocessor  chapter 9 - assembly language programming
Microprocessor chapter 9 - assembly language programming
Wondeson Emeye
 
Lecture01
Lecture01Lecture01
Lecture01
Xafran
 
ABC Consolidated Financial InfoABC Companys current financial inf.docx
ABC Consolidated Financial InfoABC Companys current financial inf.docxABC Consolidated Financial InfoABC Companys current financial inf.docx
ABC Consolidated Financial InfoABC Companys current financial inf.docx
ransayo
 
MikroBasic
MikroBasicMikroBasic
MikroBasic
butest
 
MikroBasic
MikroBasicMikroBasic
MikroBasic
butest
 
MikroBasic
MikroBasicMikroBasic
MikroBasic
butest
 
MikroBasic
MikroBasicMikroBasic
MikroBasic
butest
 
MikroBasic
MikroBasicMikroBasic
MikroBasic
butest
 
Assembly Language Programming
Assembly Language ProgrammingAssembly Language Programming
Assembly Language Programming
Niropam Das
 
Final opensource record 2019
Final opensource record 2019Final opensource record 2019
Final opensource record 2019
Karthik Sekhar
 
Chapter9and10
Chapter9and10Chapter9and10
Chapter9and10
Saurav
 
Chapter9 and10
Chapter9 and10Chapter9 and10
Chapter9 and10
Saurav
 
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docxCOMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
donnajames55
 
Ctutor ashu
Ctutor ashuCtutor ashu
Ctutor ashu
20101994ashu
 
install k+dcan cable standard tools 2.12 on windows 10 64bit
install k+dcan cable standard tools 2.12 on windows 10 64bitinstall k+dcan cable standard tools 2.12 on windows 10 64bit
install k+dcan cable standard tools 2.12 on windows 10 64bit
WORLD OBD2
 
Assembly language programming(unit 4)
Assembly language programming(unit 4)Assembly language programming(unit 4)
Assembly language programming(unit 4)
Ashim Saha
 
How to configure PHP with IIS or Apache on Windows
How to configure PHP with IIS or Apache on WindowsHow to configure PHP with IIS or Apache on Windows
How to configure PHP with IIS or Apache on Windows
Rizban Ahmad
 
INET for Starters
INET for StartersINET for Starters
INET for Starters
Fayruz Rahma
 

Similar to Project eprom progr (20)

Mp lab manual
Mp lab manualMp lab manual
Mp lab manual
 
Mp &mc programs
Mp &mc programsMp &mc programs
Mp &mc programs
 
Microprocessor chapter 9 - assembly language programming
Microprocessor  chapter 9 - assembly language programmingMicroprocessor  chapter 9 - assembly language programming
Microprocessor chapter 9 - assembly language programming
 
Lecture01
Lecture01Lecture01
Lecture01
 
ABC Consolidated Financial InfoABC Companys current financial inf.docx
ABC Consolidated Financial InfoABC Companys current financial inf.docxABC Consolidated Financial InfoABC Companys current financial inf.docx
ABC Consolidated Financial InfoABC Companys current financial inf.docx
 
MikroBasic
MikroBasicMikroBasic
MikroBasic
 
MikroBasic
MikroBasicMikroBasic
MikroBasic
 
MikroBasic
MikroBasicMikroBasic
MikroBasic
 
MikroBasic
MikroBasicMikroBasic
MikroBasic
 
MikroBasic
MikroBasicMikroBasic
MikroBasic
 
Assembly Language Programming
Assembly Language ProgrammingAssembly Language Programming
Assembly Language Programming
 
Final opensource record 2019
Final opensource record 2019Final opensource record 2019
Final opensource record 2019
 
Chapter9and10
Chapter9and10Chapter9and10
Chapter9and10
 
Chapter9 and10
Chapter9 and10Chapter9 and10
Chapter9 and10
 
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docxCOMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
 
Ctutor ashu
Ctutor ashuCtutor ashu
Ctutor ashu
 
install k+dcan cable standard tools 2.12 on windows 10 64bit
install k+dcan cable standard tools 2.12 on windows 10 64bitinstall k+dcan cable standard tools 2.12 on windows 10 64bit
install k+dcan cable standard tools 2.12 on windows 10 64bit
 
Assembly language programming(unit 4)
Assembly language programming(unit 4)Assembly language programming(unit 4)
Assembly language programming(unit 4)
 
How to configure PHP with IIS or Apache on Windows
How to configure PHP with IIS or Apache on WindowsHow to configure PHP with IIS or Apache on Windows
How to configure PHP with IIS or Apache on Windows
 
INET for Starters
INET for StartersINET for Starters
INET for Starters
 

More from Anurag Farkya

Final ppt
Final pptFinal ppt
Final ppt
Anurag Farkya
 
Automotive engineering
Automotive engineeringAutomotive engineering
Automotive engineering
Anurag Farkya
 
Layout of b.tech_project_report
Layout of b.tech_project_reportLayout of b.tech_project_report
Layout of b.tech_project_report
Anurag Farkya
 
Anurag
AnuragAnurag
Ppt by annu
Ppt by annuPpt by annu
Ppt by annu
Anurag Farkya
 
Timemanagement
TimemanagementTimemanagement
Timemanagement
Anurag Farkya
 
Time management
Time managementTime management
Time management
Anurag Farkya
 
Experiment reportexample
Experiment reportexampleExperiment reportexample
Experiment reportexample
Anurag Farkya
 

More from Anurag Farkya (8)

Final ppt
Final pptFinal ppt
Final ppt
 
Automotive engineering
Automotive engineeringAutomotive engineering
Automotive engineering
 
Layout of b.tech_project_report
Layout of b.tech_project_reportLayout of b.tech_project_report
Layout of b.tech_project_report
 
Anurag
AnuragAnurag
Anurag
 
Ppt by annu
Ppt by annuPpt by annu
Ppt by annu
 
Timemanagement
TimemanagementTimemanagement
Timemanagement
 
Time management
Time managementTime management
Time management
 
Experiment reportexample
Experiment reportexampleExperiment reportexample
Experiment reportexample
 

Recently uploaded

Expanding Access to Affordable At-Home EV Charging by Vanessa Warheit
Expanding Access to Affordable At-Home EV Charging by Vanessa WarheitExpanding Access to Affordable At-Home EV Charging by Vanessa Warheit
Expanding Access to Affordable At-Home EV Charging by Vanessa Warheit
Forth
 
美洲杯押注靠谱的软件-美洲杯押注靠谱的软件推荐-美洲杯押注靠谱的软件|【​网址​🎉ac123.net🎉​】
美洲杯押注靠谱的软件-美洲杯押注靠谱的软件推荐-美洲杯押注靠谱的软件|【​网址​🎉ac123.net🎉​】美洲杯押注靠谱的软件-美洲杯押注靠谱的软件推荐-美洲杯押注靠谱的软件|【​网址​🎉ac123.net🎉​】
美洲杯押注靠谱的软件-美洲杯押注靠谱的软件推荐-美洲杯押注靠谱的软件|【​网址​🎉ac123.net🎉​】
andagarcia212
 
EV Charging at Multifamily Properties by Kevin Donnelly
EV Charging at Multifamily Properties by Kevin DonnellyEV Charging at Multifamily Properties by Kevin Donnelly
EV Charging at Multifamily Properties by Kevin Donnelly
Forth
 
一比一原版科廷大学毕业证(Curtin毕业证书)学历如何办理
一比一原版科廷大学毕业证(Curtin毕业证书)学历如何办理一比一原版科廷大学毕业证(Curtin毕业证书)学历如何办理
一比一原版科廷大学毕业证(Curtin毕业证书)学历如何办理
pycfbo
 
How driver behavior monitoring helps fleet managers?
How driver behavior monitoring helps fleet managers?How driver behavior monitoring helps fleet managers?
How driver behavior monitoring helps fleet managers?
jennifermiller8137
 
原版定做(mmu学位证书)英国曼彻斯特城市大学毕业证本科文凭原版一模一样
原版定做(mmu学位证书)英国曼彻斯特城市大学毕业证本科文凭原版一模一样原版定做(mmu学位证书)英国曼彻斯特城市大学毕业证本科文凭原版一模一样
原版定做(mmu学位证书)英国曼彻斯特城市大学毕业证本科文凭原版一模一样
utuvvas
 
一比一原版南昆士兰大学毕业证(USQ毕业证书)学历如何办理
一比一原版南昆士兰大学毕业证(USQ毕业证书)学历如何办理一比一原版南昆士兰大学毕业证(USQ毕业证书)学历如何办理
一比一原版南昆士兰大学毕业证(USQ毕业证书)学历如何办理
pycfbo
 
一比一原版皇家墨尔本理工大学毕业证(RMIT毕业证书)学历如何办理
一比一原版皇家墨尔本理工大学毕业证(RMIT毕业证书)学历如何办理一比一原版皇家墨尔本理工大学毕业证(RMIT毕业证书)学历如何办理
一比一原版皇家墨尔本理工大学毕业证(RMIT毕业证书)学历如何办理
pycfbo
 
Kenwood DDX71/491/471/371/3108/30718/271/2071 User Manual
Kenwood DDX71/491/471/371/3108/30718/271/2071 User ManualKenwood DDX71/491/471/371/3108/30718/271/2071 User Manual
Kenwood DDX71/491/471/371/3108/30718/271/2071 User Manual
derekmelino
 
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
78tq3hi2
 
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
g1inbfro
 
欧洲杯竞猜-欧洲杯竞猜下注平台-欧洲杯竞猜投注平台|【​网址​🎉ac44.net🎉​】
欧洲杯竞猜-欧洲杯竞猜下注平台-欧洲杯竞猜投注平台|【​网址​🎉ac44.net🎉​】欧洲杯竞猜-欧洲杯竞猜下注平台-欧洲杯竞猜投注平台|【​网址​🎉ac44.net🎉​】
欧洲杯竞猜-欧洲杯竞猜下注平台-欧洲杯竞猜投注平台|【​网址​🎉ac44.net🎉​】
arcosarturo900
 
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
MarynaYurchenko2
 
Top-Quality AC Service for Mini Cooper Optimal Cooling Performance
Top-Quality AC Service for Mini Cooper Optimal Cooling PerformanceTop-Quality AC Service for Mini Cooper Optimal Cooling Performance
Top-Quality AC Service for Mini Cooper Optimal Cooling Performance
Motor Haus
 
欧洲杯下注-欧洲杯下注下注app-欧洲杯下注盘口app|【​网址​🎉ac22.net🎉​】
欧洲杯下注-欧洲杯下注下注app-欧洲杯下注盘口app|【​网址​🎉ac22.net🎉​】欧洲杯下注-欧洲杯下注下注app-欧洲杯下注盘口app|【​网址​🎉ac22.net🎉​】
欧洲杯下注-欧洲杯下注下注app-欧洲杯下注盘口app|【​网址​🎉ac22.net🎉​】
asjpkomrxo
 
car rentals in nassau bahamas | atv rental nassau bahamas
car rentals in nassau bahamas | atv rental nassau bahamascar rentals in nassau bahamas | atv rental nassau bahamas
car rentals in nassau bahamas | atv rental nassau bahamas
justinwilson0857
 
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
ggany
 
Charging Fueling & Infrastructure (CFI) Program by Kevin Miller
Charging Fueling & Infrastructure (CFI) Program  by Kevin MillerCharging Fueling & Infrastructure (CFI) Program  by Kevin Miller
Charging Fueling & Infrastructure (CFI) Program by Kevin Miller
Forth
 
Infineon_AURIX_HSM Revealed_Training_Slides.pdf
Infineon_AURIX_HSM Revealed_Training_Slides.pdfInfineon_AURIX_HSM Revealed_Training_Slides.pdf
Infineon_AURIX_HSM Revealed_Training_Slides.pdf
maicuongdt21
 
一比一原版悉尼大学毕业证(USYD毕业证书)学历如何办理
一比一原版悉尼大学毕业证(USYD毕业证书)学历如何办理一比一原版悉尼大学毕业证(USYD毕业证书)学历如何办理
一比一原版悉尼大学毕业证(USYD毕业证书)学历如何办理
cenaws
 

Recently uploaded (20)

Expanding Access to Affordable At-Home EV Charging by Vanessa Warheit
Expanding Access to Affordable At-Home EV Charging by Vanessa WarheitExpanding Access to Affordable At-Home EV Charging by Vanessa Warheit
Expanding Access to Affordable At-Home EV Charging by Vanessa Warheit
 
美洲杯押注靠谱的软件-美洲杯押注靠谱的软件推荐-美洲杯押注靠谱的软件|【​网址​🎉ac123.net🎉​】
美洲杯押注靠谱的软件-美洲杯押注靠谱的软件推荐-美洲杯押注靠谱的软件|【​网址​🎉ac123.net🎉​】美洲杯押注靠谱的软件-美洲杯押注靠谱的软件推荐-美洲杯押注靠谱的软件|【​网址​🎉ac123.net🎉​】
美洲杯押注靠谱的软件-美洲杯押注靠谱的软件推荐-美洲杯押注靠谱的软件|【​网址​🎉ac123.net🎉​】
 
EV Charging at Multifamily Properties by Kevin Donnelly
EV Charging at Multifamily Properties by Kevin DonnellyEV Charging at Multifamily Properties by Kevin Donnelly
EV Charging at Multifamily Properties by Kevin Donnelly
 
一比一原版科廷大学毕业证(Curtin毕业证书)学历如何办理
一比一原版科廷大学毕业证(Curtin毕业证书)学历如何办理一比一原版科廷大学毕业证(Curtin毕业证书)学历如何办理
一比一原版科廷大学毕业证(Curtin毕业证书)学历如何办理
 
How driver behavior monitoring helps fleet managers?
How driver behavior monitoring helps fleet managers?How driver behavior monitoring helps fleet managers?
How driver behavior monitoring helps fleet managers?
 
原版定做(mmu学位证书)英国曼彻斯特城市大学毕业证本科文凭原版一模一样
原版定做(mmu学位证书)英国曼彻斯特城市大学毕业证本科文凭原版一模一样原版定做(mmu学位证书)英国曼彻斯特城市大学毕业证本科文凭原版一模一样
原版定做(mmu学位证书)英国曼彻斯特城市大学毕业证本科文凭原版一模一样
 
一比一原版南昆士兰大学毕业证(USQ毕业证书)学历如何办理
一比一原版南昆士兰大学毕业证(USQ毕业证书)学历如何办理一比一原版南昆士兰大学毕业证(USQ毕业证书)学历如何办理
一比一原版南昆士兰大学毕业证(USQ毕业证书)学历如何办理
 
一比一原版皇家墨尔本理工大学毕业证(RMIT毕业证书)学历如何办理
一比一原版皇家墨尔本理工大学毕业证(RMIT毕业证书)学历如何办理一比一原版皇家墨尔本理工大学毕业证(RMIT毕业证书)学历如何办理
一比一原版皇家墨尔本理工大学毕业证(RMIT毕业证书)学历如何办理
 
Kenwood DDX71/491/471/371/3108/30718/271/2071 User Manual
Kenwood DDX71/491/471/371/3108/30718/271/2071 User ManualKenwood DDX71/491/471/371/3108/30718/271/2071 User Manual
Kenwood DDX71/491/471/371/3108/30718/271/2071 User Manual
 
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
原版制作(Exeter毕业证书)埃克塞特大学毕业证完成信一模一样
 
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
原版制作(澳洲WSU毕业证书)西悉尼大学毕业证文凭证书一模一样
 
欧洲杯竞猜-欧洲杯竞猜下注平台-欧洲杯竞猜投注平台|【​网址​🎉ac44.net🎉​】
欧洲杯竞猜-欧洲杯竞猜下注平台-欧洲杯竞猜投注平台|【​网址​🎉ac44.net🎉​】欧洲杯竞猜-欧洲杯竞猜下注平台-欧洲杯竞猜投注平台|【​网址​🎉ac44.net🎉​】
欧洲杯竞猜-欧洲杯竞猜下注平台-欧洲杯竞猜投注平台|【​网址​🎉ac44.net🎉​】
 
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
53286592-Global-Entrepreneurship-and-the-Successful-Growth-Strategies-of-Earl...
 
Top-Quality AC Service for Mini Cooper Optimal Cooling Performance
Top-Quality AC Service for Mini Cooper Optimal Cooling PerformanceTop-Quality AC Service for Mini Cooper Optimal Cooling Performance
Top-Quality AC Service for Mini Cooper Optimal Cooling Performance
 
欧洲杯下注-欧洲杯下注下注app-欧洲杯下注盘口app|【​网址​🎉ac22.net🎉​】
欧洲杯下注-欧洲杯下注下注app-欧洲杯下注盘口app|【​网址​🎉ac22.net🎉​】欧洲杯下注-欧洲杯下注下注app-欧洲杯下注盘口app|【​网址​🎉ac22.net🎉​】
欧洲杯下注-欧洲杯下注下注app-欧洲杯下注盘口app|【​网址​🎉ac22.net🎉​】
 
car rentals in nassau bahamas | atv rental nassau bahamas
car rentals in nassau bahamas | atv rental nassau bahamascar rentals in nassau bahamas | atv rental nassau bahamas
car rentals in nassau bahamas | atv rental nassau bahamas
 
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
按照学校原版(UniSA文凭证书)南澳大学毕业证快速办理
 
Charging Fueling & Infrastructure (CFI) Program by Kevin Miller
Charging Fueling & Infrastructure (CFI) Program  by Kevin MillerCharging Fueling & Infrastructure (CFI) Program  by Kevin Miller
Charging Fueling & Infrastructure (CFI) Program by Kevin Miller
 
Infineon_AURIX_HSM Revealed_Training_Slides.pdf
Infineon_AURIX_HSM Revealed_Training_Slides.pdfInfineon_AURIX_HSM Revealed_Training_Slides.pdf
Infineon_AURIX_HSM Revealed_Training_Slides.pdf
 
一比一原版悉尼大学毕业证(USYD毕业证书)学历如何办理
一比一原版悉尼大学毕业证(USYD毕业证书)学历如何办理一比一原版悉尼大学毕业证(USYD毕业证书)学历如何办理
一比一原版悉尼大学毕业证(USYD毕业证书)学历如何办理
 

Project eprom progr

  • 1. Microprocessor Lab Procedure for Programming the EPROM’s For the 8086 Minimum-Mode Project To demonstrate the minimum 8086-based board working, you will have to run the similar program that you wrote and demonstrated on the SDK-86 in the previous lab assignment. The program was to read data from switches and then display the data on the LED’s, rotating the display every second. Minor modifications need to be made to the previous program to run it on the project board. The following are the required modifications: 1. The address for the 8255 ports will be corresponding to the addressing logic used in your design. For proper address, refer to your address-decoding logic for the 8255 chip. 2. Change the previous program. Have the following format: .MODEL SMALL .CODE ORG 0000H START: ; Your original program ORG 0FF0H JMP FAR PTR START END START This way the system will load your program at the proper address when reset. Save your program with an .asm extension. 3. Assemble the program in the previous section using Turbo Assembler. Turbo Assembler can be found in the following locations: Microprocessor lab - C:MICROLABtasm31 It is recommended that you copy Turbo Assembler into your working directory, where your program is stored. Use the following command to assemble your program: Tasm -l (filename).asm, (filename).obj, (filename).lst Where (filename) is your filename whatever you name, but has to be eight characters. 4. The program must be linked using Turbo linker. Give the following command to generate the executable binary: tlink (filename).obj, (filename).rom Don’t give .com or .exe extension to the output file. This is for being able to write the program into the ROM chip. 5. The next step is to create the configuration file for the LOCATE program, which will generate the code for the chip-writing utility. LOCATE will modify your program binary so that it will be mapped appropriately to the ROM for your project. The following text must be put into a file with the filename (filename).cfg.
  • 2. hexfile intel86 absfile axe86 listfile segments map 0xff000 to 0xfffff as rdonly cputype i8086 class DATA = 0x0000 class CODE = 0xff00 output CODE 6. The next step is to generate the code of your program using LOCATE. The LOCATE program can be found in the following locations: Microprocessor lab - C:MICROLABLocate Switch to the directory above and generate the code with the following command: Locate -Hi your path (filename) .rom where {your path} is the drive and the directory of your (filename). 7. After performing all the steps, you should have the following files that have your name with the following extensions: .asm, .obj, .axe, .lst, .cfg, .hex, .map, .rom, .loc 8. Your program is now ready to be placed on your EPROM’s. This is done by MCT chip programmer, which is connected to each computer in the Microprocessor Lab. To start the utility program, either double click on the “Top Max” icon . 9. Once the Top Max window is opened check if it has loaded the file of INTEL 2716 , if it has not(or to be sure) go to the "Device" option of the main menu and use "Select" option.
  • 3. 10. After clicking on the "Select" option you find a new window prompting to enter the NAME of the file(Manufacturer Name).Enter "INTEL" and select 2716 as the device. Press "OK". 11. Perform blank check from the main menu buttons. If you get the message “Blank check ok” then proceed to the following steps. 12. Go to "Config" option of the main menu and select "Option" and set the default buffer value as ‘FF’ as shown in the figure below.
  • 4. 13. In Gang Split option select"1Gang" and "Even" for even address programming. 14. Make sure that for loading the Program keep the Buffer Start and End addresses are the same as shown in the figure below.
  • 5. 15. For “Auto Inc” option keep the keep the start and end address as shown in the figure below. 16. Click on "File" of the main menu and select "Load" to load the Hex file of your program into the Programmers Buffer. 17. To verify go to "Buffer" of the main menu and click on the "Edit Buffer" and check if the program code bytes are on the correct address.(starting from 0f000) 18. Close the window and select the “Program” button to start programming. 19. Similarly select “Odd” for odd address programming and follow the above (Step No.17 & 18) procedure. 20. If you don’t receive any error, you have successfully loaded your program to the EPROMs. If you get errors, first check if your EPROM is blank then exchange your EPROM at the electronics shop. Also check with the TA if you have further problems. 21. To make sure the program code bytes of the Programmed EPROMs are valid, perform a “Read” operation by first clearing off the contents of the buffer.