Question: Write a program to store three data sets in the flash memory, in data memory, and in EEPROM at the following location. First of all,

 Write a program to store three data sets in the flash

memory, in data memory, and in EEPROM at the following location. First

of all, you must store the data set in Program (Flash) memory

and compare the data in the flash memory with data memory (transfer

1) and EEPROM (transfer 2). ? DATA Memory Location starts at 0x100

? Flash Memory Location starts at 0x40 ? EEPROM Memory Location starts

at 0x100 Data Set1: [$12, $36, $83, $A5,$5D, $29 Data Set2:[T,E,M,P,L,E] Data

Set3:[:Engineering] After PARTI you are able to generate three checksum bytes for

dataset 1, 2 and 3. Now, we are going to evaluate the

Write a program to store three data sets in the flash memory, in data memory, and in EEPROM at the following location. First of all, you must store the data set in Program (Flash) memory and compare the data in the flash memory with data memory (transfer 1) and EEPROM (transfer 2). ? DATA Memory Location starts at 0x100 ? Flash Memory Location starts at 0x40 ? EEPROM Memory Location starts at 0x100

Data Set1: [$12, $36, $83, $A5,$5D, $29

Data Set2:[T,E,M,P,L,E]

Data Set3:[:Engineering]

After PARTI you are able to generate three checksum bytes for dataset 1, 2 and 3. Now, we are going to evaluate the transferred data stored in data memory and EEPROM with the checksum bytes of the original data in program memory. Follow the step 1 shown below. [Step1] Generate three checksum bytes of the original datasets. You need to make three checksum bytes of program memory. [Step2] Use the checksum bytes of program memory location and perform the data integrity test on the data sets transferred to data memory location. [Step3] Make an output ASCII value, O or E based on the result and show the corresponding binary value through PORTD. (Simulation Only) [Step4] Repeat the steps 2-4 for EEPROM data set, too.

Advanced AVR Programming Assembly Spring 2018 OBJECTIVES: To learn how to use EEPROM in AVR Microcontroller To learn how to operate Checksum To learn how to read data from outside and write in ROM . . . REFERENCES: Mazidi and Naimi, "The AVR Microcontroller and Embedded Systems," Chapter 6 MATERIALS: Atmel Studio 7, AVR Butterfly Board, LEDs or 7-segment display, and 7-DIP Switch BACKGROUND INFORMATION: Advanced AVR Programming Assembly Spring 2018 OBJECTIVES: To learn how to use EEPROM in AVR Microcontroller To learn how to operate Checksum To learn how to read data from outside and write in ROM . . . REFERENCES: Mazidi and Naimi, "The AVR Microcontroller and Embedded Systems," Chapter 6 MATERIALS: Atmel Studio 7, AVR Butterfly Board, LEDs or 7-segment display, and 7-DIP Switch BACKGROUND INFORMATION

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!