TRACE32 provides accurate run-time measurements for Renesas’ Automotive RH850
Lauterbach, the leading manufacturer of microprocessor development tools, has announced support for the Benchmark Counting Registers of the RH850 Family of microcontrollers (MCUs) for automotive from Renesas Electronics. These registers are present in all MCUs of the family and provide an ideal method for accurately, and non-intrusively, measuring the execution times of areas of target code.
The TRACE32 tools now provide an easy to use way of very accurately and non-intrusively determining run-time execution times of code running on all MCUs of the RH850 Family, using the onchip benchmark counting registers. The start and end points are marked, the target is allowed to run and the results are displayed in a simple to understand chart which shows minimum, maximum and mean run times as well as number of times the code was executed and the total run-time for the marked code. All measurements are accurate to a CPU clock tick.
Marked areas may be a single function (or contiguous region of code), multiple functions or a task or thread running in a Real-time Operating System (RTOS). The measuring system also provides the capability to break or trigger if a region over-runs a user specified time limit. Naturally, the implementation works equally well with single core, multi-core Asymmetric Multi-processing (AMP) and Symmetric Multi-Processing (SMP) systems.
Says Barry Lock, UK General Manager for Lauterbach: “With more and more of our lives affected by deeply embedded software, especially the rise of autonomous vehicles, and the risk of injury if the software fails to meet deadlines, I see this tool as being an important part of the arsenal of each embedded developer who is struggling to produce quality code to harsh deadlines.”