SDKZSPF LSI, SDKZSPF Datasheet - Page 193

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
9.2.2.1 User-Specified Profiling
9.2.3 UART Connection
When used with the cycle-accurate simulator, the debugger supports
profiling of selected areas of your project code. To use this feature, you
must define the regions to be profiled using the following pair of
assembler directives in your source code:
asm(“\n__FUNC_START_region_name:”);
<code to be profiled>
asm(“\n__FUNC_EXIT_region_name:”);
The profiling can then be enabled using the following commands:
Execute the program by typing:
Display the profiling statistics using:
With respect to profiling, the profile-func command treats
region_name just like a function. Note that for function profiling to
operate correctly, execution that passes through the start label must
also pass through the exit label.
The UART connection is invoked by the following commands:
The required baud rate can be specified when setting remotebaud. The
default baud rate setting is 38400.
To use this connection, your target evaluation board must be able to
support UART-based debugging with appropriate hardware and
firmware. In addition, your target must be booted from flash memory that
Debugger Execution Environments
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
(sdbug) profile-func
(sdbug) profile-on
(sdbug) run
(sdbug) print_profile
(sdbug) set remotebaud [baud_rate]
(sdbug) target sdsp-remote serial_port
9-7