12.1.9 Restriction of LPT port
1.
The emulator uses a printer (parallel) port during LPT communications with personal computer.
The IAR C compiler also uses this printer (parallel) port.
When using the personal computer and the emulator during LPT communications, a problem
arises that you cannot compile a program using the IAR C compiler.
If this happens, you must take either of the countermeasures listed below:
-
Connect the personal computer to the emulator in any mode other than the ECP mode.
-
Start compiling the program after the debugger is terminated.
2.
When you debug programs using the LPT parallel interface on the host PC running Windows XP,
the following symptoms may appear:
-
The debugger becomes frozen.
-
The debugger's operation gets extraordinarily slower.
-
Communication errors arise and the emulator debugger stops operating.
-
Various types of errors other than communication errors also take place successively. In this
case, the emulator debugger continues operating however.
The cause of this problem is that if the debugger is invoked while the standard driver Parport.sys of
Windows XP is communicating with the LPT port, the debugger is unable to communicate with the
emulator. Then, this problem can be circumvented in either of the following methods; however, you
need to take no measures if you have not experienced it in your PC under the above-mentioned
conditions:
-
Execute the utility program to fix (LptFix.exe).
LptFix.exe disables the Parport.sys driver. Then, if any device other than the emulator is
connected to the LPT port after LptFix.exe is executed, the device may not operate properly. In
such a case you are encouraged to adopt method shown below.
-
If you launch the emulator for the first time after starting the PC, invoke the debugger one or
more minutes after the emulator starts operating. Otherwise, you can invoke the debugger
immediately after the emulator has started.
Here is the usage of LptFix.exe:
1.
Invoke the command prompt and move to the folder where the LptFix.exe file resides.
2.
Enter the following command on the command line:
-----------------------
>LptFix
-----------------------
3.
Restart the PC.
If LptFix.exe is executed, be sure to make it ineffective to enable the Parport.sys driver as explained
below, every time after ending debugging operations and disconnecting the emulator. To make
LptFix.exe ineffective to enable Parport.sys, execute following command line:
-----------------------
>LptFix /U
-----------------------
266
Содержание Emulator Debugger M16C PC4701
Страница 13: ...Setup of Debugger 1...
Страница 14: ...Blank Page 2...
Страница 73: ...Tutorial 59...
Страница 74: ...Blank Page 60...
Страница 95: ...Reference 81...
Страница 96: ...Blank Page 82...
Страница 119: ...7 Windows Dialogs When TRIGGER is selected Breaks for the status of signal input from external trace cable 105...
Страница 127: ...7 Windows Dialogs 7 7 6 1 1 Writing Reading a Specified Address Set as below Example Writing to even address 400h 113...
Страница 128: ...Example Writing byte length data 32h to even address 400h 114...
Страница 130: ...16 bits bus width 116...
Страница 132: ...2nd point 118...
Страница 133: ...7 Windows Dialogs 16 bits bus width 119...
Страница 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Страница 138: ...Example Writing byte length data 32h to even address 400h 124...
Страница 140: ...16 bits bus width 126...
Страница 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Страница 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Страница 146: ...Example Writing byte length data 32h to even address 400h 132...
Страница 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Страница 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Страница 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Страница 177: ...7 Windows Dialogs When TRIGGER is selected Measures for the status of signal input from external trace cable 163...
Страница 294: ...MEMO 280...