SM78K
Contents
FAQ-ID = 78sm- nnnn
78sm -0001
|
SM78Kx pin monitor
|
| Q1 |
When simply wanting to know if a pin is High or Low, what should I do?
|
| A1 |
Activate the task called "78Kx Simulator GUI" from the Windows task bar at the bottom of the screen.
The output Settings dialog box is displayed when [Specify Output] is selected under [File] in the GUI menu.
Please check [Timing Chart] for output here.
Next, select either [Output Only] or [I/O] and click [OK].
The timing display window then opens. Specify the pin to be checked under [Set Pin Name] here.
|
78sm -0002
|
How can multiple source windows be opened with SM78Kx ?
|
| Q1 |
I create programs by splitting them into multiple files with the assembler.
Since only one file can be downloaded for *.lmf file download in the SM78K0S, I can see only one file.
|
| A1 |
Only one .lmf file can be seen because all the program information is contained
in the one .lmf file that was created.
Although I do not know the concrete operation being performed in your system,
I imagine that you probably tried to open a multiple source windows?
Basically only one source window can be opened (source corresponding to current PC).
Maybe this is what you are referring to?
To open multiple sources, the manipulation method differs depending on the SM78Kx version.
In the case of the latest version, it is possible to open just the source you wish to see.
If the SM78Kx is not the latest version, request an upgrade from your NEC distributor.
If the SM78Kx you use is not the latest version, with one source opened,
set the status where the window is not active by selecting [Operation]-[Hold],
and specify the source to be opened by selecting [File]-[Open].
Several sources can be displayed by repeating these steps.
|
78sm -0003
|
There are items for which the SFR display of SM78Kx does not change.
|
| Q1 |
The displays of the timer compare registers (CR20 and CR80) in the SFR window
remain -- without changing. Why is that?
|
| A1 |
This SFR is write-only.
Therefore, these registers cannot be read.
|
78sm -0004
|
How can the communication functions be simulated with the simulator?
|
| Q1 |
How can communication be realized with the simulator?
Also, what is the input data generation method?
|
| A1 |
Either create a 01 pattern using the 01 Editor or create an input file by specifying the pin,
data, and timing in the input timing chart window.
Download the input file thus created prior to simulation.
For the concrete method, refer to "Input Timing Chart Editor Window" in the Simulation User's Manual.
Other than that,
you can create an external part and call the serial pin data input function
as a function of that external part.
|
|