HERE IS A GOOGLE DRIVE LINK FOR THE SOFTWARE: https://drive.google.com/file/d/19HVtjjhX8aJEh2oDa…

ote on board names

CSM12C128 board is also called HCS12C128 board or APS12C128 board. It contains the MC9S12C128 microcontroller chip. In the previous years, the class used smaller CSM12C32 boards with MC9S12C32 microcontroller chip. The main differences are the on-chip RAM size and flash memory size. The RAM on MC9S12C128 chip starts at $3000 and the RAM on MC9S12C32 chip starts at $3800. Otherwise, both chips are practically the same.

This Semester, we are using ONLY the CodeWarrior Debugger/Simulator to show the hardware and program workings. For the grading of all homework during this Semester, we will be testing your program on the CodeWarrior simulator only.

INSTRUCTION

  1. Read the HCS12 Microcontroller refference manual, S12CPUV2 and data sheet Chapters 1, 2, and 13 of MC9S12C Family.
  2. Copy the Homework 5 Sample program HW5start.asm file. Study it, assemble it, debug it, and run it on the CodeWarrior Debugger/Simulator.
  3. For the CodeWarrior simulation, please follow the Full Chip Simulator/Debugger – Homework 5 Sample program guide, with Terminal component. The sample program is the ‘Type writer’ – what you type is what you see (on the Terminal component).
  4. Write the user friendly, menu driven, and fool-proofed program, ‘main.asm’, to turn on/off LEDs and dimm the LED lights on CSM12C128 board as follows:

    Print the following menu on the Hyper Terminal:
  5. When user type in the menu selection followed by a ‘Return/Enter’ key, run the selected program on the CodeWarrior Debugger/Simulator.
  6. Print detail guide on the terminal screen so that users will properly use your program. Once your program is running, everything must be self explanatory to user at the Terminal component attached to SCI Port. (use Hyper Terminal connected on CSM12C128 board if usng the MC9S12C128 microcontroller chip.).
  7. Also, make your program ‘fool-proof’, never crash or stop based on wrong user response.
  8. Design the program to start at $3100 and data to start at $3000.
  9. If you are not sure how to start, please take a look at an example hw5 flow chart. You may build up your program step by step.
  10. Be sure to put much comments so that grader and others can clearly and quickly understand your program. Comments are very important in assembly language programs.
  11. You may want to see and check the Sample Grading Sheet for this homework.
  12. Copy your ‘main.asm’ file to ‘cmpen472hw5_YourLastName.asm’. For example, mine will be ‘cmpen472hw5_choi.asm’ Do not ZIP your ‘cmpen472hw5_YourLastName.asm’ file.
  13. Turn-in your project source code file through Penn State CANVAS. Upload your source code file into the CANVAS Assignment’s Homework submission. Be sure to select CMPEN 472 class and correct Homework number, and correct file name.

Congratulations on your fifth CMPEN 472 homework completion!

Epilogue:

Flow chart of the Homework 5 program. Click here.

Aid for the Homework 5. Click here.

Explanation & Answer length: 4 pages

Do you similar assignment and would want someone to complete it for you? Click on the ORDER NOW option to get instant services at essayloop.com

Do you have a similar assignment and would want someone to complete it for you? Click on the ORDER NOW option to get instant services at essayloop.com. We assure you of a well written and plagiarism free papers delivered within your specified deadline.