__emulatorStatusCheckOnRead
Syntax
__emulatorStatusCheckOnRead(status)
Parameters
statusUse
0to enable checks (default). Use1to disable checks.
Return value
int 0
For use with
The C-SPY J-Link/J-Trace driver.
Description
Enables or disables the driver verification of CPSR (current processor status register) after each read operation. Typically, this macro can be used for initiating JTAG connections on some CPUs, like Texas Instruments’ TMS470R1B1M.
Note
Enabling this verification can cause problems with some CPUs, for example if invalid CPSR values are returned. However, if this verification is disabled (SetCheckModeAfterRead = 0), the success of read operations cannot be verified and possible data aborts are not detected.
For the C-SPY I-jet/JTAG-jet driver, this macro is recognized, but has no effect.
Example
__emulatorStatusCheckOnRead(1)Disables the checks for data aborts on memory reads.