User`s manual
PK2200 Troubleshooting s 67
Dynamic C Will Not Start
In most situations, when Dynamic C will not start, an error message
announcing a communication failure will be displayed. Following is a list
of situations causing an error message and possible resolutions.
Wrong Baud Rate In rare cases, the baud rate has to be changed
when using the Serial Interface Board for development.
Wrong Communication Mode Both sides must be talking RS-232.
Wrong COM Port A PC generally has two serial ports, COM1 and
COM2. Specify the one being used in the Dynamic C Target Setup
menu. Use trial and error, if necessary.
Wrong Operating Mode Communication with Dynamic C will be
lost if the controllers jumper is set for standalone operation. Reconfig-
ure the board for programming mode.
Wrong Memory Size Jumpered pins on JP2 specify the EPROM
size.
If all else fails, connect the serial cable to the controller after power up. If
the PCs RS-232 port supplies a large current (most commonly on
portable and industrial PCs), some RS-232 level converter ICs go into a
nondestructive latch-up. Connect the RS-232 cable after power up to
eliminate this problem.
Dynamic C Loses Serial Link
If the program disables interrupts for a period greater than 50 millisec-
onds, Dynamic C will lose its serial link with the application program.
Make sure that interrupts are not disabled for a period greater than 50
milliseconds.
PK2200 Repeatedly Resets
The PK2200 resets every 1.0 seconds if the watchdog timer is not hit.
If a program does not hit the watchdog timer, then the program will
have trouble running in standalone mode. To hit the watchdog, make a
call to the Dynamic C library function hitwd.