Bird
0
0

Which of the following statements is true about this configuration?

hard📝 Application Q15 of 15
ARM Architecture - Bus Architecture
An embedded system uses MPU to protect three memory regions: code, data, and peripherals. The code region is set as read-only, data as read-write, and peripherals as no-execute. Which of the following statements is true about this configuration?
AThe MPU prevents code from being modified and peripherals from running code
BThe MPU allows peripherals to execute code but prevents data writes
CThe MPU disables all access to the data region
DThe MPU allows code to be written but not executed
Step-by-Step Solution
Solution:
  1. Step 1: Analyze code region protection

    Setting code region as read-only prevents modification, ensuring code integrity.
  2. Step 2: Analyze peripherals region protection

    Setting peripherals as no-execute stops code execution from peripheral memory, enhancing security.
  3. Step 3: Confirm data region access

    Data region set as read-write allows normal data operations.
  4. Final Answer:

    The MPU prevents code from being modified and peripherals from running code -> Option A
  5. Quick Check:

    Read-only code + no-exec peripherals = protection [OK]
Quick Trick: Read-only code and no-exec peripherals protect system [OK]
Common Mistakes:
  • Thinking peripherals can execute code
  • Assuming data region is blocked
  • Believing code region is writable

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More ARM Architecture Quizzes