The PDxxSIM I/O DLL kit is supported by the following simulator debuggers :
- M3T-PD32RSIM V.2.00 Release 1 or later
- M3T-PD308SIM V.3.00 Release 2 or later (Discontinued product)
- M3T-PD30SIM V.5.00 Release 1 or later (Discontinued product)
Note: For the High-performance Embedded Workshop environment, use the I/O DLL Kit.
The PDxxSIM I/O DLL kit provides a means for extending the functions of the M3T-PDxxSIM simulator debugger. This kit supports the creation of I/O DLLs.
The I/O DLL refers to a DLL* that operates in cooperation with the simulator engine of the M3T-PDxxSIM.
Once the necessary settings are made, the M3T-PDxxSIM allows you to load an I/O DLL and operate it synchronously with the timing at which instructions are single-stepped, memory is read or written or an interrupt occurs. That way, the operation of the input/output ports or the internal peripheral functions of the microcomputer can be simulated as a means of debugging the target program. Furthermore, linked operation with an external tool can be realized by, for example, sending and receiving data to and from that tool.
Any desired I/O DLL can be created by using C/C++ language. To create an I/O DLL, you need to have Microsoft Visual C++, a Windows application development environment available on the market.
*DLL is the acronym of Dynamic Link Library. This is a function of the operating system that allows you to save executable routines (routines that supply a specific function or a set of functions) to be saved separately as a file with the extension ".dll". These routines are loaded only when they are needed by the calling program.
The M3T-PDxxSIM simulator debugger is capable of debugging in the absence of a user target. However, peripheral I/O simulations of input/output ports, A/D conversion and interrupts are not supported. The M3T-PDxxSIM supports an I/O simulation function to assist you in debugging a program that accesses the peripheral I/O. Use of this function enables you to simulate input/output to and from I/O ports, generation of interrupts and the operation of peripheral I/Os such as timers and A/D converters.
However, complicated I/O simulations cannot be realized unless they are written in an I/O script. I/O scripts had a problem that they need to be written in an original script language, which is difficult to learn.
To solve this and other problems, we have developed an I/O DLL function that allows you to define I/O simulations by using Visual C++ from Microsoft Corporation.
Development Tools Used
To create an I/O DLL, you need to have Microsoft Visual C++, a Windows application development environment available on the market.
Depends on the operating environment of the M3T-PDxxSIM used. Refer to the release note for each product for details about the operating environment of the M3T-PDxxSIM.
The sample programs are stored in a location at the hierarchical level below the directory in which the PDxxSIM I/O DLL kit is installed (e.g., below c:\mtool\idoll\samples). Refer to the release note for details on how to install the PDxxSIM I/O DLL kit.
|I/O DLL to link with Excel from Microsoft Corporation|
|I/O DLL to read/write data from a file|
|I/O DLL to simulate the operation of a microcomputer's internal peripheral functions|
About Questions and Requests
The PDxxSIM I/O DLL kit is distributed on condition that no customer support will be provided. Nor will technical support be provided for Windows application development tools. Please understand that your questions may not all be answered.
How to get the PDxxSIM I/O DLL kit
The PDxxSIM I/O DLL kit (including a manual) is available at the .