Anyone know how i can send data to my MCU from Hyperterminal?..Im not talking about writing the code to do it, i think i have the correct code i just dont know how to test it!!!
Hello, and welcome to the forum.
I can visualise two basic scenarios, depending on the functionality of your MCU code.
The first possibility is that you operate the SCI module interactively, as would be required for manually entering command sequences. Each typed character that is received by the MCU is immediately echoed back to Hyperterminal, and also stored in a buffer within the MCU. Only when the Enter key is pressed will the buffer contents be processed. This approach will also normally provide limited editing capability, using the backspace key. This is straight forward to test and debug, so I assume this is not your current situation.
The second scenario is that you are downloading data to the MCU in a non-interactive manner. It is possible that you cannot tolerate any substantial delay between characters. The MCU code may need to process each received character "on the fly" to determine when the end of the data sequence is reached, and there may be no feedback to Hyperterminal. For simplicity, I will assume that the data to be downloaded consists entirely of ASCII characters. In this case, it will be necessary to prepare suitable text files that contains the test data. These files can then be downloaded from Hyperterminal ("send text file"). You will need to ensure that your code can handle the data throughput at the particular baud rate you are using.
Of course, you will need to ensure that the baud rate is identical for each equipment.
Retrieving data ...