( 30 / 54 )
(2) Custom Command fmcr1set
When setting "1" in the CPU rewrite mode select bit (FMCR1) (bit 1 of the flash memory control
register (address 3B4h), you must write "0" followed consecutively by "1". Because of the interval
between the execution of two normal script commands, it is not possible using these normal script
commands to write "0" followed consecutively by "1". You can set "1" by using the custom command
fmcr1set, which consecutively writes "0", "1" to the CPU rewrite mode select bit (FMCR1).
To use custom command fmcr1set, use the following procedure to register fmcr1set in the M3T-
PD30. Once registered, fmcr1set can be used without the need to reregister it each time.
How to register fmcr1set with M3T-PD30
Step 1:
Copy file.
Copy fmcr1set.p (program file of custom command fmcr1set) from the attached floppy
disk to the host machine.
Example 1:
Copy fmcr1set.p to the directory (e.g. C:¥MTOOL¥M3T-PD30) containing the execut-
able 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 fmcr1set.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 fmcr1set.
Execute the following script command in the M3T-PD30 script window:
MACRO fmcr1set <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 fmcr1set
in M3T-PD30. Custom command fmcr1set 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 fmcr1set,
make sure that the search path is the absolute directory to which fmcr1set.p was copied.
Summary of Contents for M30220TF-PRB
Page 14: ...12 54 MEMO...
Page 18: ...16 54 MEMO...
Page 42: ...40 54 MEMO...
Page 54: ...52 54 MEMO...