Reserved Memory Access Detection; Supported Configurations; Configuration Options; Error Reporting Format - Texas Instruments TMS320C6000 Technical Reference Manual

Simulator
Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

Reserved Memory Access Detection

12346666
33449999
cb56aaaa
5656cccc
89897f7f
2.1.2.2
Reset
On reset, all of the Read file pointers are rewound, and Write files are closed and reopened in write mode.
Port Connect can occur through the Code Composer Studio command window, GEL commands, or
through the Port Connect plug-in. Please see the Code Composer Studio online help for more information
on how to connect and disconnect a specified port.
2.2

Reserved Memory Access Detection

Accesses by DSP applications to reserved memory locations of the device can result in undefined
program behavior. The simulators can help detect such violations by flagging an error message whenever
the application accesses reserved memory address for that device.
If a peripheral is modeled in the simulator, any access to this peripheral is also treated as a reserved
memory access. Any write access by the simulator to such locations have no effect and reads return zero;
for instance, TCP/VCP memory map addresses on a C6146 device functional simulator.

2.2.1 Supported Configurations

This feature is available on all C6x1x simulators.
It is not supported on any of the C6x0x simulators.
CPU simulators do not have any reserved memory modeled.

2.2.2 Configuration Options

The simulators can be configured for reserved memory access detection from Code Composer Studio
Setup in the following modes:
• YES. All reserved memory accesses are detected and flagged as errors, along with the address of
access. Simulation is halted.
• NO. No reserved memory access detection is used. Writes to the reserved memories have no effect,
while reads return 0.
• Create Log. All reserved memory accesses are detected and logged in a text file, along with the
address of the access. Simulation is not halted.
See
Section 4.2
for more information.

2.2.3 Error Reporting Format

If reserved memory access detection is turned on, the errors are reported/logged in the following formats:
Access to Reserve Memory Ranges:
Memory Map Error: {READ | WRITE} access to address AAAAAAAA, which is RESERVED in Hardware.
For example:
Memory Map Error: WRITE access to address 0xc7fffc, which is RESERVED in Hardware.
Access to Unsupported Memory Ranges:
Memory Map Error: {READ | WRITE} access to address AAAAAAAA, which is NOT SUPPORTED by the
simulator.
For example:
Memory Map Error: READ access to address 0x1880000, which is NOT SUPPORTED in Simulator.
22
Supported Simulation Features
www.ti.com
SPRU600I – April 2007
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents