Pass the ARM AAE EN0-001 Questions and answers with CertsForce

Viewing page 6 out of 7 pages
Viewing questions 51-60 out of questions
Questions # 51:

What type of debug point would you set when debugging flash memory or ROM?

Options:

A.

Start point


B.

Step point


C.

Hardware breakpoint


D.

Software breakpoint


Expert Solution
Questions # 52:

Consider the following code sequence, executing on a processor which implements ARM Architecture v7-A.

LDR r0, [r1]

STR r0, [r2]

STR r3, [r3]

R1 points to a location in normal memory. R2 and R3 point to device memory.

Which of the following statements best describes the ordering rules which apply to this sequence?

Options:

A.

The two writes to device memory will happen in program order, but the read can be performed out of order


B.

The memory accesses can happen in any order


C.

The memory accesses will happen in program order


D.

The read to r0 and the write from r0 will happen in program order, but the write from r3 can be performed out of order


Expert Solution
Questions # 53:

When debugging an embedded Linux system, which one of the following techniques can be used to halt a single user thread, while allowing other threads to continue to run during the debug process?

Options:

A.

Halting a single user thread in an embedded Linux system is not possible


B.

Use the Linux kernel printk() function to output messages to the console


C.

Connect a Linux-aware JTAG debugger to the target, which allows single-stepping of the code


D.

Connect a debugger running on an external host device to an instance of gdbserver running on the target, using Ethernet


Expert Solution
Questions # 54:

Which one of the following statements is TRUE for monitor mode debugging?

Options:

A.

Monitor mode debug might be suitable for debugging timing critical control software


B.

Monitor mode debug only supports hardware breakpoints and watchpoints


C.

Monitor mode debug can be used to halt instruction execution on the processor


D.

Monitor mode debug is only available for ARM processors with a JTAG debug port


Expert Solution
Questions # 55:

In the ARM instruction set what is the maximum branch distance for a Branch or Branch and Link instruction?

Options:

A.

±32MB


B.

±4MB


C.

±12KB


D.

±4KB


Expert Solution
Questions # 56:

A deeply embedded real-time industrial control system is missing some hard real-time interrupt deadlines. Which of the following performance analysis techniques is the most suitable for identifying which routines are causing the problem?

Options:

A.

Use an ETM instruction trace profiler, which outputs information about the program as it runs


B.

Add some serial logging to the software, which outputs information about the program as it runs


C.

Add a new interrupt handler, which is triggered off a timer, and dump information about the interrupted process


D.

Use a JTAG sample-based profiler, which periodically halts the CPU, and dumps information about the interrupted process


Expert Solution
Questions # 57:

When timing a critical function for an algorithm, using platform time functions such as get time of day (), the result is unpredictable; there is significant variance in the measured time between different runs of the benchmark. Which of the following strategies would improve the accuracy of the measurement?

Options:

A.

Time multiple executions of the algorithm and average the result


B.

Break the algorithm into smaller pieces and time them individually


C.

Run the code on a software model of the platform and collect the results on that system


D.

Add some code with a known overhead to the algorithm to make it run slower, and remove the overhead afterwards


Expert Solution
Questions # 58:

Which of the following best describes the relationship between Tightly Coupled Memories (TCM), Level 1 (L1) and Level 2 (L2) cache memory systems?

Options:

A.

TCMs are a part of only L1 cache system


B.

TCMs are a part of only L2 cache system


C.

TCMs are part of both L1 & L2 cache systems


D.

TCMs are not part of either L1 or L2 cache systems


Expert Solution
Questions # 59:

A Programmer's View CPU model usually provides:

Options:

A.

Cycle-accurate simulation of the CPU.


B.

Instruction-accurate simulation of the CPU.


C.

Simulation of user-defined memory-mapped peripherals.


D.

Cycle-accurate simulation of the cache and memory system.


Expert Solution
Questions # 60:

Which of the following techniques can be used to obtain a precise count of clock cycles when profiling software over an arbitrarily long period of time using the Performance Monitoring Unit?

Options:

A.

A dedicated real-time clock to provide the total cycle count


B.

Use of the divide-by 64 counting option to avoid an overflow of the cycle counter


C.

Use of the overflow interrupts, to extend the range of the built-in 32-bit counter


D.

Modification of the application software being profiled, to insert timestamps at regular intervals


Expert Solution
Viewing page 6 out of 7 pages
Viewing questions 51-60 out of questions