SlideShare a Scribd company logo
(8 points) Assume that you have four (4) ROM chips organized as 16Kx8 with signals OE, CE,
A13.0, D.0, and Vpp (similar to one shown in figure 14-14 on page 432). Assume you would like
to implement all ROM externally, show the connectivity between the 8051 and those chips to
allow the implementation of a complete 64K ROM address space. Make sure to show all signals
(i.e. PSEN, address lines, etc) to implement this system correctly (i.e. as shown in figure 14-14).
You should also indicate the addresses associate each external ROM chip. 13.0, D^7.0, and Vpp
(simlar to one shown in figure
Solution
The last part is to use it from the application. Typically I have a header file like the one below
where I have the addresses defined:
/**
* file
* brief Interface for the Non-Volatile-Memory
* author Erich Styger
*
* This provides an interface to store and retrieve data from the on-chip memory.
*/
#ifndef CONFIGNVM_H_
#define CONFIGNVM_H_
#define NVMC_FLASH_START_ADDR 0x1FC00 /* NVRM_Config, start address of
configuration data in flash */
#define NVMC_FLASH_ERASED_UINT8 0xFF
#define NVMC_FLASH_ERASED_UINT16 0xFFFF
#define NVMC_REFLECTANCE_DATA_START_ADDR (NVMC_FLASH_START_ADDR)
#define NVMC_REFLECTANCE_DATA_SIZE (8*2*2) /* maximum of 8 sensors (min
and max) values with 16 bits */
#define NVMC_REFLECTANCE_END_ADDR
(NVMC_REFLECTANCE_DATA_START_ADDR+NVMC_REFLECTANCE_DATA_SIZE)
#define NVMC_SUMO_DATA_START_ADDR
(NVMC_REFLECTANCE_END_ADDR)
#define NVMC_SUMO_DATA_SIZE (4) /* 4 bytes of data */
#define NVMC_SUMO_END_ADDR
(NVMC_SUMO_DATA_START_ADDR+NVMC_SUMO_DATA_SIZE)
uint8_t NVMC_SaveReflectanceData(void *data, uint16_t dataSize);
void *NVMC_GetReflectanceData(void);
uint8_t NVMC_SaveSumoData(void *data, uint16_t dataSize);
void *NVMC_GetSumoData(void);
#endif /* CONFIGNVM_H_ */

More Related Content

Similar to (8 points) Assume that you have four (4) ROM chips organized as 16Kx8.pdf

Advanced micro -processor
Advanced micro -processorAdvanced micro -processor
Advanced micro -processor
Hinal Lunagariya
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embeded HardwareSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embeded Hardware
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
Arti Parab Academics
 
5.6 Basic computer structure microprocessors
5.6 Basic computer structure   microprocessors5.6 Basic computer structure   microprocessors
5.6 Basic computer structure microprocessors
lpapadop
 
Micro 2
Micro 2Micro 2
Micro 2
karthickkrish
 
The Best Programming Practice for Cell/B.E.
The Best Programming Practice for Cell/B.E.The Best Programming Practice for Cell/B.E.
The Best Programming Practice for Cell/B.E.
Slide_N
 
Basittttt
BasitttttBasittttt
Basittttt
AyAn Chaudhry
 
Operating System Assignment Help
Operating System Assignment HelpOperating System Assignment Help
Operating System Assignment Help
Programming Homework Help
 
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral IntegrationA 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
Talal Khaliq
 
Reversing & Malware Analysis Training Part 4 - Assembly Programming Basics
Reversing & Malware Analysis Training Part 4 - Assembly Programming BasicsReversing & Malware Analysis Training Part 4 - Assembly Programming Basics
Reversing & Malware Analysis Training Part 4 - Assembly Programming Basics
securityxploded
 
interfacing1 lecture notes for eng 5.ppt
interfacing1 lecture notes for eng 5.pptinterfacing1 lecture notes for eng 5.ppt
interfacing1 lecture notes for eng 5.ppt
JumanneChiyanda
 
microprocessor_8085_architecture.ppt
microprocessor_8085_architecture.pptmicroprocessor_8085_architecture.ppt
microprocessor_8085_architecture.ppt
Praches1
 
BOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPTBOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPT
Shahzeb Pirzada
 
Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)
Macpaul Lin
 
memory-interfacing.ppt
memory-interfacing.pptmemory-interfacing.ppt
memory-interfacing.ppt
Vanitha472439
 
Intel Hex Format
Intel Hex FormatIntel Hex Format
Intel Hex Format
SaravananVijayakumar4
 
מצגת פרויקט
מצגת פרויקטמצגת פרויקט
מצגת פרויקט
Yehezkel Padael
 
Lec MC.ppt
Lec MC.pptLec MC.ppt
Lec MC.ppt
nodov66591
 
programmable logic devices part 1
programmable logic devices part 1programmable logic devices part 1
programmable logic devices part 1
Kundan Gupta
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions converted
ArghodeepPaul
 
Embedded C - Lecture 4
Embedded C - Lecture 4Embedded C - Lecture 4
Embedded C - Lecture 4
Mohamed Abdallah
 

Similar to (8 points) Assume that you have four (4) ROM chips organized as 16Kx8.pdf (20)

Advanced micro -processor
Advanced micro -processorAdvanced micro -processor
Advanced micro -processor
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embeded HardwareSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embeded Hardware
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
 
5.6 Basic computer structure microprocessors
5.6 Basic computer structure   microprocessors5.6 Basic computer structure   microprocessors
5.6 Basic computer structure microprocessors
 
Micro 2
Micro 2Micro 2
Micro 2
 
The Best Programming Practice for Cell/B.E.
The Best Programming Practice for Cell/B.E.The Best Programming Practice for Cell/B.E.
The Best Programming Practice for Cell/B.E.
 
Basittttt
BasitttttBasittttt
Basittttt
 
Operating System Assignment Help
Operating System Assignment HelpOperating System Assignment Help
Operating System Assignment Help
 
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral IntegrationA 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
 
Reversing & Malware Analysis Training Part 4 - Assembly Programming Basics
Reversing & Malware Analysis Training Part 4 - Assembly Programming BasicsReversing & Malware Analysis Training Part 4 - Assembly Programming Basics
Reversing & Malware Analysis Training Part 4 - Assembly Programming Basics
 
interfacing1 lecture notes for eng 5.ppt
interfacing1 lecture notes for eng 5.pptinterfacing1 lecture notes for eng 5.ppt
interfacing1 lecture notes for eng 5.ppt
 
microprocessor_8085_architecture.ppt
microprocessor_8085_architecture.pptmicroprocessor_8085_architecture.ppt
microprocessor_8085_architecture.ppt
 
BOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPTBOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPT
 
Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)
 
memory-interfacing.ppt
memory-interfacing.pptmemory-interfacing.ppt
memory-interfacing.ppt
 
Intel Hex Format
Intel Hex FormatIntel Hex Format
Intel Hex Format
 
מצגת פרויקט
מצגת פרויקטמצגת פרויקט
מצגת פרויקט
 
Lec MC.ppt
Lec MC.pptLec MC.ppt
Lec MC.ppt
 
programmable logic devices part 1
programmable logic devices part 1programmable logic devices part 1
programmable logic devices part 1
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions converted
 
Embedded C - Lecture 4
Embedded C - Lecture 4Embedded C - Lecture 4
Embedded C - Lecture 4
 

More from Mujeeb76

About 15 of ethanol that is ingested is metabolized first in the.pdf
About 15 of ethanol that is ingested is metabolized first in the.pdfAbout 15 of ethanol that is ingested is metabolized first in the.pdf
About 15 of ethanol that is ingested is metabolized first in the.pdf
Mujeeb76
 
Accountants prepare adjusting journal entries for four different typ.pdf
Accountants prepare adjusting journal entries for four different typ.pdfAccountants prepare adjusting journal entries for four different typ.pdf
Accountants prepare adjusting journal entries for four different typ.pdf
Mujeeb76
 
A contingency table is a table in whichA. the distributions of tw.pdf
A contingency table is a table in whichA. the distributions of tw.pdfA contingency table is a table in whichA. the distributions of tw.pdf
A contingency table is a table in whichA. the distributions of tw.pdf
Mujeeb76
 
1. NIMS public information is based on three principlesThe Public.pdf
1. NIMS public information is based on three principlesThe Public.pdf1. NIMS public information is based on three principlesThe Public.pdf
1. NIMS public information is based on three principlesThe Public.pdf
Mujeeb76
 
4 value 10.00 points TB 13-44 If a companys PE ratio suddenly de.pdf
4 value 10.00 points TB 13-44 If a companys PE ratio suddenly de.pdf4 value 10.00 points TB 13-44 If a companys PE ratio suddenly de.pdf
4 value 10.00 points TB 13-44 If a companys PE ratio suddenly de.pdf
Mujeeb76
 
Ethnocentrism is similar to cultural relativism. True or falseSo.pdf
Ethnocentrism is similar to cultural relativism. True or falseSo.pdfEthnocentrism is similar to cultural relativism. True or falseSo.pdf
Ethnocentrism is similar to cultural relativism. True or falseSo.pdf
Mujeeb76
 
C. wafer, wind, animals, earthquakes d. gravity, wind, animals, river.pdf
C. wafer, wind, animals, earthquakes d. gravity, wind, animals, river.pdfC. wafer, wind, animals, earthquakes d. gravity, wind, animals, river.pdf
C. wafer, wind, animals, earthquakes d. gravity, wind, animals, river.pdf
Mujeeb76
 
Determine whether the given function is linear. If the function is l.pdf
Determine whether the given function is linear. If the function is l.pdfDetermine whether the given function is linear. If the function is l.pdf
Determine whether the given function is linear. If the function is l.pdf
Mujeeb76
 
Determine modes of inheritance for a set of phenotypes each of whic.pdf
Determine modes of inheritance for a set of phenotypes each of whic.pdfDetermine modes of inheritance for a set of phenotypes each of whic.pdf
Determine modes of inheritance for a set of phenotypes each of whic.pdf
Mujeeb76
 
Create your own example of a simple but true experiment to test the .pdf
Create your own example of a simple but true experiment to test the .pdfCreate your own example of a simple but true experiment to test the .pdf
Create your own example of a simple but true experiment to test the .pdf
Mujeeb76
 
An Overview of Financial Management Please respond to the followin.pdf
An Overview of Financial Management Please respond to the followin.pdfAn Overview of Financial Management Please respond to the followin.pdf
An Overview of Financial Management Please respond to the followin.pdf
Mujeeb76
 
C++ Help FilestreamWrite a program that reads the values from a f.pdf
C++ Help FilestreamWrite a program that reads the values from a f.pdfC++ Help FilestreamWrite a program that reads the values from a f.pdf
C++ Help FilestreamWrite a program that reads the values from a f.pdf
Mujeeb76
 

More from Mujeeb76 (12)

About 15 of ethanol that is ingested is metabolized first in the.pdf
About 15 of ethanol that is ingested is metabolized first in the.pdfAbout 15 of ethanol that is ingested is metabolized first in the.pdf
About 15 of ethanol that is ingested is metabolized first in the.pdf
 
Accountants prepare adjusting journal entries for four different typ.pdf
Accountants prepare adjusting journal entries for four different typ.pdfAccountants prepare adjusting journal entries for four different typ.pdf
Accountants prepare adjusting journal entries for four different typ.pdf
 
A contingency table is a table in whichA. the distributions of tw.pdf
A contingency table is a table in whichA. the distributions of tw.pdfA contingency table is a table in whichA. the distributions of tw.pdf
A contingency table is a table in whichA. the distributions of tw.pdf
 
1. NIMS public information is based on three principlesThe Public.pdf
1. NIMS public information is based on three principlesThe Public.pdf1. NIMS public information is based on three principlesThe Public.pdf
1. NIMS public information is based on three principlesThe Public.pdf
 
4 value 10.00 points TB 13-44 If a companys PE ratio suddenly de.pdf
4 value 10.00 points TB 13-44 If a companys PE ratio suddenly de.pdf4 value 10.00 points TB 13-44 If a companys PE ratio suddenly de.pdf
4 value 10.00 points TB 13-44 If a companys PE ratio suddenly de.pdf
 
Ethnocentrism is similar to cultural relativism. True or falseSo.pdf
Ethnocentrism is similar to cultural relativism. True or falseSo.pdfEthnocentrism is similar to cultural relativism. True or falseSo.pdf
Ethnocentrism is similar to cultural relativism. True or falseSo.pdf
 
C. wafer, wind, animals, earthquakes d. gravity, wind, animals, river.pdf
C. wafer, wind, animals, earthquakes d. gravity, wind, animals, river.pdfC. wafer, wind, animals, earthquakes d. gravity, wind, animals, river.pdf
C. wafer, wind, animals, earthquakes d. gravity, wind, animals, river.pdf
 
Determine whether the given function is linear. If the function is l.pdf
Determine whether the given function is linear. If the function is l.pdfDetermine whether the given function is linear. If the function is l.pdf
Determine whether the given function is linear. If the function is l.pdf
 
Determine modes of inheritance for a set of phenotypes each of whic.pdf
Determine modes of inheritance for a set of phenotypes each of whic.pdfDetermine modes of inheritance for a set of phenotypes each of whic.pdf
Determine modes of inheritance for a set of phenotypes each of whic.pdf
 
Create your own example of a simple but true experiment to test the .pdf
Create your own example of a simple but true experiment to test the .pdfCreate your own example of a simple but true experiment to test the .pdf
Create your own example of a simple but true experiment to test the .pdf
 
An Overview of Financial Management Please respond to the followin.pdf
An Overview of Financial Management Please respond to the followin.pdfAn Overview of Financial Management Please respond to the followin.pdf
An Overview of Financial Management Please respond to the followin.pdf
 
C++ Help FilestreamWrite a program that reads the values from a f.pdf
C++ Help FilestreamWrite a program that reads the values from a f.pdfC++ Help FilestreamWrite a program that reads the values from a f.pdf
C++ Help FilestreamWrite a program that reads the values from a f.pdf
 

Recently uploaded

Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
Amin Marwan
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
Chevonnese Chevers Whyte, MBA, B.Sc.
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 

Recently uploaded (20)

Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 

(8 points) Assume that you have four (4) ROM chips organized as 16Kx8.pdf

  • 1. (8 points) Assume that you have four (4) ROM chips organized as 16Kx8 with signals OE, CE, A13.0, D.0, and Vpp (similar to one shown in figure 14-14 on page 432). Assume you would like to implement all ROM externally, show the connectivity between the 8051 and those chips to allow the implementation of a complete 64K ROM address space. Make sure to show all signals (i.e. PSEN, address lines, etc) to implement this system correctly (i.e. as shown in figure 14-14). You should also indicate the addresses associate each external ROM chip. 13.0, D^7.0, and Vpp (simlar to one shown in figure Solution The last part is to use it from the application. Typically I have a header file like the one below where I have the addresses defined: /** * file * brief Interface for the Non-Volatile-Memory * author Erich Styger * * This provides an interface to store and retrieve data from the on-chip memory. */ #ifndef CONFIGNVM_H_ #define CONFIGNVM_H_ #define NVMC_FLASH_START_ADDR 0x1FC00 /* NVRM_Config, start address of configuration data in flash */ #define NVMC_FLASH_ERASED_UINT8 0xFF #define NVMC_FLASH_ERASED_UINT16 0xFFFF #define NVMC_REFLECTANCE_DATA_START_ADDR (NVMC_FLASH_START_ADDR) #define NVMC_REFLECTANCE_DATA_SIZE (8*2*2) /* maximum of 8 sensors (min and max) values with 16 bits */ #define NVMC_REFLECTANCE_END_ADDR (NVMC_REFLECTANCE_DATA_START_ADDR+NVMC_REFLECTANCE_DATA_SIZE) #define NVMC_SUMO_DATA_START_ADDR (NVMC_REFLECTANCE_END_ADDR) #define NVMC_SUMO_DATA_SIZE (4) /* 4 bytes of data */ #define NVMC_SUMO_END_ADDR (NVMC_SUMO_DATA_START_ADDR+NVMC_SUMO_DATA_SIZE) uint8_t NVMC_SaveReflectanceData(void *data, uint16_t dataSize);
  • 2. void *NVMC_GetReflectanceData(void); uint8_t NVMC_SaveSumoData(void *data, uint16_t dataSize); void *NVMC_GetSumoData(void); #endif /* CONFIGNVM_H_ */