Serial Port D on RC4400WM

Been using serial port C & D on the RC4400WM module with protoype board.
Serial C seems to work fine.
Serial D works fine as long as the programming cable is attached to Serial A. Data can be sent and recieved. Once the programming cable is removed and the board rebooted it will not longer send data out serial D. Serial C still works fine.
Any help on this would be greatly appreciated.

static const char string2[] = {“This message SW1”};

// Initialize serial port D, set baud rate to 9600
serDopen(9600);
serDwrFlush();
serDrdFlush();


memcpy(buffer, string2, strlen(string2));
serDputs(buffer);

This is true with example switchchar.c
Thanks