Skip to main content

Advanced Functions (Advanced Simulation Windows)

I/O Timing
Setting
Window
Inputs/outputs to a port, and sets/displays interrupts. It is also possible to check cycle-by-cycle data input, definition of interrupt, and change of output data.
And, a timer interrupt occurrence at time intervals in units of msec/µsec is enabled. (Note that the CPU operating frequency need to be specified.)
Besides, there is the I/O script function that can simulate peripheral I/O (timer, analog to digital converter, etc.) operation. By registering I/O script of peripheral I/O (written in script format in a file) in the I/O window, you can simulate operation of that device.
For example, to simulate timer operation, register the following script with "while" and "if":

[I/O script defining example of timer operation]

	{
  	while(1){
			if( ([0x380].b & 0x01) == 0x01){
				; Down count of Counter
					waitc [0x386].W + 1
				; Timer interrupt occurs
					int 21,[0x55].b & 0x7
			}else{
				waiti 100
			}
		}
	}
GUI I/O Window Window for creating key input panels or output panels for the user target system by simple mouse operation.
[Input panel]
You can define operation of data input or interrupt for the created keys. Pressing the key while the program is running generates data input or interrupt.
[Output panel]
You can display by LED or label according to the value of the output data.
Output Port Window Prints a result of output using the printf() function to the window or a file.
Trace Point Setting Window Sets/cancels trace points. Can set 6 trace points maximum and specifies the combination condition of trace events. For starting and stopping events for tracing, either memory access (read/write) or instruction execution is specifiable. As a combination condition, there are AND and OR.
Trace Window Displays the results of tracing. The following three display modes are supported: Bus mode, Disassemble mode and Source mode.
Data Trace Window Graphically shows the data access information on the results of tracing.
Coverage Window Shows coverage measurement results of C language functions. Start/end addresses and coverage can be checked. Double-clicking the line to be checked opens a coverage source window to show executed/unexecuted in a line of source.
MR Window Shows the state of the real-time OS M3T-MR308.
MR Trace Window Graphically shows task execution histories of programs using the real-time OS M3T-MR308. Also, each history of interrupt handling and system call issuing is shown together.
MR Analyze Window Shows the results of statistical processing of measured data in the range specified with the MR trace window. And shows the list of the following records : the occupation status per interrupt handler or task, history of system call issuing.
Task Trace Window Graphically shows task execution histories of programs using real-time OS.
Task Analyze Window Shows the results of statistical processing of measured data within the range specified with the Task Trace Window. This window shows the occupancies of tasks in a CPU.


Screen Image : Advanced Simulation Windows (1/3)


Screen Image : Advanced Simulation Windows (2/3)


Screen Image : Advanced Simulation Windows (3/3)


Related Resources

Version Information


Latest Ver.: V.1.04 Release 00
Released: May 16, 2009
Details of upgrade (Tool News)

C Compiler Package for M32C Series [M3T-NC308WA] (Simulator debugger included.)

OS compatibility of Software Tools

Tool News

Try before you buy!
Evaluation Software Download


End of content

Back To Top