Dear All,
I am working with 16 bit MCU for communicating with a TC through a serial Port I have one problem when sending commands from mcu to tc, ie,i want to send a command like "?01SRW000615F"from mcu to TC for that I wrote a code, when testing in hyperterminal its working,but when connecting to TC its not working means no response from TC,but the same code in hyperterminal when pressing enter its passing to TC, its works.I dont know why MCU not sending to TC,
I found out one thing is when pressing enter in hyperterminal then only this command send to TC so add a'\r' in my program then also not working.
Normally MCU transmit one charater at a time,may be this is the issue,anyone have idea how to send a bunch of charaters at a time. Plz help me to find a solution.
All the commands I used in the program are right.
I am working with 16 bit MCU for communicating with a TC through a serial Port I have one problem when sending commands from mcu to tc, ie,i want to send a command like "?01SRW000615F"from mcu to TC for that I wrote a code, when testing in hyperterminal its working,but when connecting to TC its not working means no response from TC,but the same code in hyperterminal when pressing enter its passing to TC, its works.I dont know why MCU not sending to TC,
I found out one thing is when pressing enter in hyperterminal then only this command send to TC so add a'\r' in my program then also not working.
Normally MCU transmit one charater at a time,may be this is the issue,anyone have idea how to send a bunch of charaters at a time. Plz help me to find a solution.
All the commands I used in the program are right.