( 29 / 54 )
4.2 Using Custom Commands d/jointfilesconvert/1310486/bg_reset and fmcr1set
The custom commands d/jointfilesconvert/1310486/bg_reset and fmcr1set must be used when debugging in CPU rewrite mode.
The custom command program file is provided on the attached floppy disk.
(1) Custom Command d/jointfilesconvert/1310486/bg_reset
When debugging in CPU rewrite mode, you must execute custom command d/jointfilesconvert/1310486/bg_reset to initialize
tool control.
To use custom command d/jointfilesconvert/1310486/bg_reset, use the following procedure to register d/jointfilesconvert/1310486/bg_reset in the M3T-
PD30. Once registered, d/jointfilesconvert/1310486/bg_reset can be used without the need to reregister it each time.
How to register d/jointfilesconvert/1310486/bg_reset with M3T-PD30
Step 1: Copy file.
Copy d/jointfilesconvert/1310486/bg_reset.p (program file of custom command d/jointfilesconvert/1310486/bg_reset) from the attached floppy
disk to the host machine.
Example 1:
Copy d/jointfilesconvert/1310486/bg_reset.p to the folder (e.g. C:¥MTOOL¥M3T-PD30) containing the executable
file of M3T-PD30 (M3T-PD30.exe).
Step 2: Set the search path of the custom program.
Open the M3T-PD30 script window and execute the following script command:
MacroPATH "absolute directory to which d/jointfilesconvert/1310486/bg_reset.p was copied"
Example 1:
MacroPATH C:¥MTOOL¥M3T-PD30 <RET>
The MacroPATH command is the script command to set the path specified in the argument
as the path to the custom program in M3T-PD30.
Step 3: Register custom command d/jointfilesconvert/1310486/bg_reset.
Execute the following script command in the M3T-PD30 script window:
MACRO d/jointfilesconvert/1310486/bg_reset <RET>
The MACRO command is the script command to register the custom command specified
in the argument in M3T-PD30. This completes registration of custom command d/jointfilesconvert/1310486/bg_reset
in M3T-PD30. Custom command d/jointfilesconvert/1310486/bg_reset can now be executed from the script window
command input area in the same way as script commands. See the specifications for the
custom command (shown below) for the input format, etc. Note that once the custom
command has been registered, the registration remains valid until deleted using the
DELMACRO or DELMACROALL script command.
Step 4: Restart M3T-PD30.
After completing steps 1 to 3, restart M3T-PD30. To use the custom command d/jointfilesconvert/1310486/bg_reset,
make sure that the search path is the absolute directory to which d/jointfilesconvert/1310486/bg_reset.p was copied.
Custom command d/jointfilesconvert/1310486/bg_reset specifications
Input format: d/jointfilesconvert/1310486/bg_reset
Function: Initializes and resets tool control for debugging in CPU rewrite mode.
(Note)
• This command cannot be used while the target program is running.
Command execution example
Example 1: d/jointfilesconvert/1310486/bg_reset must be executed after starting M3T-PD30 if you are debugging in
CPU rewrite mode.
> d/jointfilesconvert/1310486/bg_reset <RET>
DBG_RESET is done !!
>
Kommentare zu diesen Handbüchern