??? 04/28/05 08:51 Read: times |
#92509 - step by step Responding to: ???'s previous message |
Manish said:
I am using the polling method which continously checks the RI flag to check if data has been received ,
The goal is to send a single character from the PC to the microcontroller unit which in turn switches to appropriate sub-routine depending on characyer recd ; There's a very easy way to find out, whether your transmission to micro works or not: Write a simple code, which only reads the recieve buffer and displays it. If you don't have a display, then let one of some leds shine depending on which data was recieved. In situations like your's it's always necessary to go step by step. Like if you check the hardware: First you must look whether there's 5V at the chips at all... As you said, that the transmission from micro to PC worked, then you can also test the transmission from PC to micro by resending the data the micro recieves from PC. Then you wouldn't need to make changes with your hardware in the case, that no display exists. So, send an arbitrary data byte from PC to micro and look what the micro responds... Good luck, Kai |
Topic | Author | Date |
Downloading data serially | 01/01/70 00:00 | |
Not enough information | 01/01/70 00:00 | |
Re:Not enough data... | 01/01/70 00:00 | |
Hmm, still not much to work with | 01/01/70 00:00 | |
step by step | 01/01/70 00:00 | |
as I keep saying | 01/01/70 00:00 | |
Simulating | 01/01/70 00:00 | |
Keil Simulator![]() | 01/01/70 00:00 | |
good, but.. | 01/01/70 00:00 | |
It must be me | 01/01/70 00:00 |