??? 11/26/09 07:49 Modified: 11/26/09 07:56 Read: times |
#171183 - Some more info needed and some tips Responding to: ???'s previous message |
Hi Akhil,
What software are you using on the computer side? HyperTerminal...? or something else? My Suggestion is use Terminal.exe, google it and you will find it very easily, its free. This software gives you the option of viewing the charachters(sent and recieved) in ASCII,HEX or BINARY. Whereas HyperTerminal can show ASCII charachters only. What charachters are you sending from the PC Side ? Give us an example of what are the contents of recieved_0, recieved_1, recieved_2, recieved_3, recieved_4, and what software are you using to send the charachters from the PC? According to your code, you are assuming the sum total of the 5 bytes is going to be 1 byte...are you sure about this? What will happen if the sum total ("rr") is more than 1 byte(8 bits)? Your code will fail. Edit: Here is the link to Terminal.exe: http://www.ddrservice.net/download/Software/tools/Terminal/Terminal.exe.html |
Topic | Author | Date |
String of characters serially | 01/01/70 00:00 | |
Some more info needed and some tips | 01/01/70 00:00 | |
Thanks Kiran | 01/01/70 00:00 | |
Framing + counting | 01/01/70 00:00 |