11.4 Tool for Confirming SYNCP Instruction Insertion at the Beginning of Exception Handler

The syncp_checker is a tool for confirming that the SYNCP instruction is inserted at the beginning of the exception handler when a Motorola S-type file is output by the build process for the G3M core project. This tool is available when CS+ V4.00.00 or a later version is installed.

For insertion of the SYNCP instruction at the beginning of the exception handler, see "RH850G3M User's Manual: Software" (Rev.1.10 or later).

This tool starts checking the Motorola S-type file from the base address (default address is 0) of the specified exception vector and returns one of the following results.

OK

A SYNCP instruction is inserted or no SYNCP instruction is necessary.

E0595010:NG

A SYNCP instruction is necessary but might not be inserted.

W0595020:Warning

This tool cannot determine whether the SYNCP instruction insertion is correct.

 

When NG or Warning is returned, check the code at the beginning of the exception handler.

Output files will be generated even if NG or Warning is returned.

In the CS+ integrated development environment, this tool can be controlled in the [Hex Output Options] tabbed page on the Property panel of the CC-RH build tool. For the [Confirm that SYNCP is inserted at entry of exception handler] property under the [Others] category, select [No] to stop activation of this tool. When the project does not include the exception vector table, use this setting to stop the tool.

This tool has the following options.

-b=address

Specify the base address of the exception vector as the start location of the check. The default value is 0.

-n=num

Specify the number of entries in the exception vector table that correspond to the user interrupt (EIINT). The default value is 16.