Quote Originally Posted by Bruce View Post
If you're using MCS+ ICD, then you should not be trying to use the standard serial
communicator in MCS+.

Inside the ICD window HSEROUT will display whatever you send in the lower section of
the ICD window. When it lands on an HSEROUT while running the ICD, and small serial
ICD terminal window will automatically pop-up asking for input.

Code:
DEFINE LOADER_USED 1 ' using MCS+ bootloader
DEFINE OSC 20 ' <-- DEFINE your OSC speed. gotta have this for MCS ICD.

MyVar VAR BYTE

Loop2:
      HSERIN [MyVar] ' <-- window pops-up waiting for input
      HSEROUT ["MyVar = ",DEC MyVar,13,10] '<-- displays input
      PAUSE 500
      GOTO Loop2
I've attached a screen capture of the above running in MCS+ ICD. Tested on an
18F4431.

If you still have trouble try blinking an LED with the ICD just to make sure you have
everything setup properly.
One question :
If I want to use ICD with 18F4550
Code:
    DEFINE LOADER_USED 1 ' using MCS+ bootloader
    DEFINE OSC 48
I get error from MCSP that can't find OSC48 setup for ICD in any file...
Any help please.
Regard's