Just the basic checks...
- is the baudrate correct
- if you have a scope or so, do you see the DTR line toggling when you open the port ?
- try to connect something else to that port and see if that works
- put a loopback wire on the port (connect RX and TXT) and then send something in your program. It should be received back

Regards,
Marc