Question: Read Chapter 2 1 of the HCS 1 2 Microcontroller data sheet MC 9 S 1 2 C Family. And program 4 0 bytes of
Read Chapter of the HCS Microcontroller data sheet MCSC Family. And program bytes of data to the flash memory starting at $
Instruction
Finish reading Chapter Kbyte Flash Module of the HCS Microcontroller data sheet.
Study the sample Flash Memory program to store a short program in flash memory:
sample Flash Memory program for HCSC board
Write your Flash Memory program to write bytes to flash memory starting at $
First bytes of the byte data must be your student ID number last digits in ASCII code. For example, my ID will be $ $ $ $that is The remaining data must be an exact copy of the data block given in the sample Flash Memory program.
The sample Flash Memory program shows flash memory writing subroutine. You must write flash memory sector erase subroutine.
Flash memory must be erased before the data can be written. Because you will be writing only bytes, erase only one sector bytes starting at $
Design the program to start at $ and data to start at $ as usual.
Be sure to put much comments so that you and others can clearly and quickly understand your program later. Comments are very important in assembly language programs.
Do NOT Turnin your project source code file for this homework. This homework will not be counted as a homework, it is an exercise.
Congratulations on your CMPEN Course completion!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
