In some cases a crosstalk problem may exist when a dsPIC30 DSC device is being programmed. Due to the locations of the PGC and PGD pins, crosstalk may degrade the signal and cause the debugger or programmer to fail programming the target device.
To correct crosstalk in this situation, do not use the cable that comes with the debugger. Instead, construct an RJ12 modular cable made from a 6-connector flat satin modular cable such as Interstate WI WICTSS-2206 or equivalent. Keep the length as short as possible, preferably less than 6 inches. Also, remove the jacket from the cable, so that the conductors are far apart from each other (especially the PGC and PGD signals). The standard modular cable is wired as shown in the Figure; that is RJ12 pin 1 on one end connects to RJ12 pin 6 on the other end. This solves the problem in nearly all cases.
Figure: Target Connector Pinout
Note 1: Noise-inducing equipment (motors, light dimmers, etc.) must be on separate power strips from the target application and the debugger or emulator.
Note 2: Unless strictly specified for some situations (such as correcting crosstalk for dsPIC30FXX devices), the use of any cable (other material, length, etc.) other than the one provided with the debugger or emulator may result in unreliable device behavior.