Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Answer Question #1 Calculate the total memory space assigned for each section of

ID: 2247968 • Letter: A

Question

Answer Question #1 Calculate the total memory space assigned for each section of the above addresses (2) Familiarize yourself with the attached Dragon12 User's Manual. You can obtain the latest version of this manual at the www.evbplus.com website. Now, by the manual we see that the Dragon12 board uses the MC9S12Dx256 microcontroller chip from Freescale, where x can be P,T,J, or G version. The manual also shows the memory map of the MC9S12Dx256 chip. Examining the memory map of MC9S12Dx256 under NORMAL SINGLE CHIP, we see the following examining Reg Memory Address range used (S mean in hex) REGISTERS s0000 - S03FF EEPROM S0400 SOFFF RAM $1000 -S3FFF Flash ROM $4000 - SFFFF The above addresses assignments are the defaults upon RESET and can be mapped into different locations. We use the above default addresses throughout the Labs. Answer the following questions: 1. Calculate the total memory space (in Bytes and Kbytes) assigned for each section of the above addresses 2. Indicate the use of the EEPROM, SRAM, and Flash ROM in the controller. In other words, state which one is used for Code, Data, and scratch memory Hlort mundh ons-chip Flnsh memory do we have in the Mcss12Dx256 Give its 4. State the number of K bytes for address space of 4000H-FFFFH. 5. How much on-chip SRAM memory do we have in the MC9S12Dx256? Give its starting address upon Reset 6. How much on-chip EEPROM do we have in the MC9S12Dx256? Give its starting address upon Reset.

Explanation / Answer

Memory Calculation,

Registers = ((03FF - 0 ) + 1)16 Bytes= 1024 Bytes = 1 K Bytes

EEPROM = ((0400 - 03FF) + 1 )16  Bytes= 3072 Bytes = 3 K Bytes

RAM = (( 3FFF - 1000 ) + 1 )16  Bytes= 12,288 Bytes = 12 K Bytes

Flash ROM = ((FFFF- 4000 ) + 1)16  Bytes= 49,152 Bytes = 48 K Bytes

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote