Debug..IE ID Socket
Contents
FAQ-ID = 78debug- nnnn
78debug -0001
|
What are the differences between the ICE and the actual device? (mask option resistance, etc.)
|
| Q1 |
Are there differences in the microcontroller functions
(existence of internal pull-up resistor selection, etc.)
between the IE-780078-NS-EM1 and the D78F0078?
|
| A1 |
Regarding the internal pull-up resistor,
the P30 to P33 mask option resistors are emulated with the ICE,
but these resistors as mask options and are not included in the flash version.
However, there are no differences regarding pull-up resistors connected by software.
The differences between the device and ICE are described in the IE-780078-NS-EM1 manual.
There are differences in the clock oscillator and I/O port configuration.
|
78debug -0002
|
Memory mapping in configuration dialog box at debugger startup
|
| Q1 |
What should be set for the memory mapping in the configuration dialog box displayed at debugger startup?
|
| A1 |
This is an item specified when using a memory other than the internal memory of the device
(when using externally connected memory, or when using ROM/RAM emulation memory in the ICE).
Nothing need be specified when using just the device's internal memory.
(Since the device's internal memory is automatically secured,
setting memory that is redundant with this memory causes an error.)
|
78debug -0003
|
How is stack-over detected with the ICE?
|
| Q1 |
Please describe the function to detect stack-over in the ICE.
|
| A1 |
Stack-over detection is enabled by setting "stack" for the memory attribute
in the configuration dialog box.
(Reference)
ID78K4 User's Manual
Debug window
Configuration dialog box
Moreover, to test the size actually consumed as the stack,
fill the memory capacity in the vicinity of the stack with a special value prior to program execution,
and following program execution,
count the bytes that have been overwritten.
Determining the number of overwritten bits on the memory display is easy
when using 0x11 as the special value.
|
78debug -0004
|
The message "Could not find PC location line information" is displayed during step operation.
|
| Q1 |
When step execution is performed after starting up the debugger from the Project Manager,
the following error is displayed. There is no problem in the source path setting.
"Could not find PC location line information."
|
| A1 |
An error is output because there is no source for the current program counter PC (= 0000).
If describing the source with assembler,
the start address must be set to the address 0000H reset vector table (indicated with the * mark below).
As a result, the debugger sets the PC initial value,
so that the error mentioned in the question is not output.
In the case of description in C language,
this setting is included in the startup routine, so this problem should not exist.
(Example)
@@VECT0 CSEG AT 0H ; * Set start address to reset vector table
DW START ; *
@@CODE CSEG
START:
:
: User program
:
|
78debug -0005
|
Real-time RAM sampling function usage method
|
| Q1 |
Please describe in detail the real-time RAM sampling function of the ID78K4-NS.
|
| A1 |
The basic use is to simply open the memory window or variable window.
When the program is executed in this state,
the contents sampled at regular time intervals are displayed in the window.
Since this function is valid only for the internal RAM area,
it can be used only for displaying this area in the memory window
or displaying the variables allocated to this area in the variable window.
The sampling timer interval can be specified in ms units with
Option -> Extend Option
in the main window.
|
78debug -0006
|
I cannot set breaks in the ID78K4 source window.
|
| Q1 |
I cannot display source text and register line breaks ("B" mark).
The error
b037(f) Too many line - Numbers Information
is displayed.
The assembler version used is V1.30.
The xxxxxx.asm file exceeds 10,000 lines.
|
| A1 |
The currently used debugger is limited to 8000 lines,
which is probably the cause for this type of error.
Please divide the source into groups of 8000 or fewer lines.
Starting from the next version, this limitation will be eliminated.
|
78debug -0007
|
A non-map break occurs upon program execution.
|
| Q1 |
A non-map break occurs in the debugger and the program execution stops.
No error in particular occurs in the compiler and linker.
What causes this non-map error and what is the countermeasure?
|
| A1 |
It is not possible to tell based solely on this information.
If a non-map break occurs and program execution stops,
that the data used to access problematic non-mapped areas should remain in the trace data.
Please check whether this is really access to memory other than the relevant memory.
|
78debug -0008
|
The message "0600(A); Internal Error" is output at ID78K0S startup.
|
| Q1 |
When the IE-70000-PC-IF-C and MI-78K0S are connected and the ID78K0S is started up,
the error "0600 (A): Internal Error" is output.
|
| A1 |
This is probably due to the fact that the IE interface IE-70000-PC-IF-C side settings
and the Windows side settings do not match.
Please perform settings in the following sequence.
The following answer applies to Windows 95 and Windows 98.
(In the case of Windows NT and Windows 2000, refer to the functions relevant to each OS.)
- Select the system from the control panel.
- In the system properties, select the device manager.
With the computer selected, click Properties, and in the resource display,
select the I/O port address.
- As a result, the list of addresses used as a system is displayed,
so search for and take a note of a 16-byte empty space from XX0 in the interval from 200 to 3FF.
- Next, start up the multifunction adapter,
display the NEC IE-PC interface card properties,
and set the above address with [Resource] -> [Change Settings].
Shut down the PC. (For details on the method for changing the settings,
refer to the explanation in the driver's disc.)
- Moreover, set the same address to DIP-SW of the IE-70000-PC-IF-C.
- Set the IE board to the PC and start up the PC.
- Set this address to EXPC.INI.
If the addresses set to these 3 locations do not exactly match, IE does not start up.
|
78debug -0009
|
The message "0106(A); Anomaly in receive data" is output when trying to start up ID78K0-NS.
|
| Q1 |
The error message "0106(A): Anomaly in receive data" is output when starting up the ID78K0-NS.
|
| A1 |
This is thought to be due to the fact that communication with the ICE is completely impossible.
Is the IE-70000-PC-IF-C driver correctly incorporated?
Also, have the settings been correctly performed?
If these have not yet been done,
perform the settings according to the contents of the PC-IF_J.TXT file in the ID78K0 disk.
If the driver has already been incorporated and correctly set,
incorrect settings of the ICE itself or improper contact are possible causes,
so please check these points again.
|
78debug -0010
|
OSMS of IE-78K0
|
| Q1 |
Please describe the settings of the main system clock when operating the uPD780308
with the ICE (IE-78K0) and debugger.
Is there a way to check the OSMS value?
|
| A1 |
No, there is not.
The write operation can be checked if one uses the tracer function,
but there is no way to check the contents of OSMS itself.
|
| |
| Q2 |
Is there a condition to the effect that write to OSMS is protected?
|
| A2 |
As a device, settings must be performed after VDD is 2.7V or higher.
Other than that, there is no other condition in particular.
|
78debug -0011
|
The message "0100(F) Communication with in-circuit emulator not possible." is output when JP7 of IE-78K0 is set.
|
| Q1 |
When the debugger is started up,
the following error message is output.
0100(F) Cannot communicate with the in-circuit emulator.
Check if the device driver of the interface board is correctly installed.
It seems like this phenomenon occurs when 5-6 of JP7 are shorted.
|
| A1 |
In the case you describe, there is a high likelihood that communication cannot be performed.
JP7 is related to the setting of where the ICE clock is taken from.
When 1-2 of JP7 are connected,
the clock from the main board of IE-78K0-NS is used (therefore the OSMS setting loses its meaning),
and when 5-6 are connected, the clock from the emulation board is used.
In this case, the clock in the emulation board must operate normally.
If the clock in the emulation board is not normal,
the in-circuit emulator itself does not operate normally,
so communication is not possible and an error message such as the one above is output.
Referring to the emulation board manual,
check whether there is a problem with the clock-related settings,
and also whether the clock in the emulation board is normal.
|
78debug -0012
|
Is it possible to place a resonator on the parts board of the IE-780908-R-EM?
|
| Q1 |
Is it possible to operate the IE-780908 by placing a 6.29MHz resonator
on the parts board of the IE-780908-R-EM target board?
|
| A1 |
Yes, it can be operated thus placing a resonator on the IE-780908-R-EM parts board
and providing the required circuit (resistors and capacitors).
After doing this, also set the clock to the target (external) with the debugger.
|
| |
| Q2 |
I have placed a 6.29MHz ceramic resonator, but the result seems to be 4MHz operation.
|
| A2 |
Perhaps the clock selected with the debugger has been set to the target (external).
If the clock is internal, the clock originally mounted in the emulator gets used.
Moreover, a setting of 2/3 division can be selected for the main system clock
with the IECL1 register setting.
Also check how this is set.
(If there is a possibility that the 4-MHz frequency is being used, this setting is possible the cause.)
|
78debug -0013
|
What is the required equipment configuration for using IE-78K0-NS?
|
| Q1 |
What is the required equipment configuration for using the IE-78K0-NS?
Is the Windows version (Windows 3.1, Windows 95 OSR2, Windows 98SE, Windows NT, Windows 2000, etc.) specified?
|
| A1 |
In the case of the IE-78K0-NS, the required hardware is as follows:
Power supply IE-70000-MC-PS-B
Interface board IE-70000-PCI-IF
(Select one) IE-70000-PC-IF-C
Interface board IE-78xxxx-NS-EM1
Probe NP-100GF
NP-100GC
The required software is as follows:
Debugger ID78K0-NS USAB13ID78K0-NS
Download the device file from "Download Device File" in the NEC website.
Windows 95, 98, NT4, 2000, XP are supported as the OS.
|
78debug -0014
|
uPD780022 development tools
|
| Q1 |
Which development tools are compatible when using the uPD780022 as a substitute for the uPD78P014?
|
| A1 |
Regarding the software, the compiler or assembler can be used as is.
Please download the device file from "Download Development Tools" in the NEC website.
Regarding the emulator,
it is necessary to purchase the emulation board for the uPD78002x and a compatible probe.
Moreover, you are using the PROM version, but in the case of the uPD780022,
you need to use the flash version (uPD78F0034),
and the dedicated FlashPro4 as the programmer.
For more information about the required tools, refer to the device user's manual appendix.
|
78debug -0015
|
What are the differences between IE-78K4-NS and IE-784000-R?
|
| Q1 |
The following two in-circuit emulators seem to be available, but how do they differ.
- IE-78K4-NS
- IE-784000-R
|
| A1 |
The IE-78K4-NS is a new compact product, while the IE-784000-R is an old-type product.
In terms of functions, they are almost the same.
For new applications, we recommend the low-cost IE-78K4-NS.
(Supplementary information)
Only the IE-78K4-NS can be used for notebook PCs.
(I/F cards support only the IE-78K4-NS.)
|
78debug -0016
|
What does the "-A" in IE-78K0S-A mean?
|
| Q1 |
What is the difference between the IE-78K0S-NS and the IE-78K0S-NS-A?
|
| A1 |
The IE-78K0S-NS features the addition of performance functions,
and for this reason has been named IE-78K0S-NS-A.
|
78debug -0017
|
Pattern diagrams for uPD784216 sockets
|
| Q1 |
Please show me the recommended pattern diagrams for board mounting
for the uPD784216AGC/uPD703031AGC development tool connection sockets.
|
| A1 |
These recommended pattern diagrams are show in Chapter 3 Third Party of
EV Socket Package Drawings.
The recommended pattern for the connection of uPD784216AGC IC connection sockets (TGC-100SDW) is on p.34.
For the uPD703031AGC (NQPACK100SD + YQPACK100SD + YQSOCKET100SDN), see p.35.
|
78debug -0018
|
IE-78K4-NS socket of uPD784216
|
| Q1 |
In the IE-78K4-NS, is the EV-9200GF-100 the correct conversion socket for the uPD784216AGF?
|
| A1 |
Yes, please use the EV-9200GF-100 as the conversion socket for a GF-type package.
|
78debug -0019
|
Support for MI-78K0S (mini ICE)
|
| Q1 |
Can the MI-78K0s (mini ICE) and IE-789418-NS-EM1 (emulation board) be used combined together?
|
| A1 |
The MI-78K0S is not supported in Japan.
Please confirm this with the manufacturer via the purchasing route you used.
|
78debug -0020
|
NW-78KOH, ND-941
|
| Q1 |
Where can I direct inquiries about the NW-78KOH and ND-941?
|
| A1 |
These are products from Naito Densei Machida Mfg. Co., Ltd., so please direct inquiries to the following.
Manufacturer: ASMIS Sales, Naito Densei Machida Mfg. Co., Ltd.
HP: http://www.ndk-m.co.jp/eng/index.html
|
|