Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/08/08 09:39
Read: times


 
#149121 - Too much information!
Responding to: ???'s previous message
There's a whole lot there that is not explained, and appears to have nothing to do with serial comms.

You need to go back to basics, and start with a simple "Hello, world" program that does nothing else but send "Hello, world" to the serial port using your interrupt-driven stuff.

Once you've got that working, move on to receiving serial data.

Once you've got both sending and receiving of serial data working, then - and only then - move on to integrating it with other stuff.

NB: Why re-invent the wheel?

There is perfectly usable, ready-made code on the Keil site for you to use:
http://www.keil.com/download/docs/200.asp
http://www.keil.com/download/docs/71.asp

(you haven't stated what tools you're using - I'm guessing Keil, but it shouldn't be hard to adapt to other tools...)

See also: http://www.keil.com/forum/docs/thread11543.asp


List of 26 messages in thread
TopicAuthorDate
Serial Problem            01/01/70 00:00      
   Can you post more information ?            01/01/70 00:00      
      more information            01/01/70 00:00      
         Too much information!            01/01/70 00:00      
         Some advice            01/01/70 00:00      
         while loop            01/01/70 00:00      
            Bad indenting trap!            01/01/70 00:00      
               Andu, Andy, how dare you ..            01/01/70 00:00      
            I don't think that's the problem.            01/01/70 00:00      
               you're right            01/01/70 00:00      
                  So, have you got it working yet?            01/01/70 00:00      
                     can't receive the 16 bytes            01/01/70 00:00      
                        Have you dealt with the atomicity issues ?            01/01/70 00:00      
                        Debugging            01/01/70 00:00      
                           details            01/01/70 00:00      
   Misleading comment            01/01/70 00:00      
      I too dislike the placement, even worse it is WRON            01/01/70 00:00      
   RI and TI are not mutually exclusive            01/01/70 00:00      
      ... but this is not a cause it will not work...            01/01/70 00:00      
         Yes...            01/01/70 00:00      
   Here is a sample code that is working ...            01/01/70 00:00      
      ... and here for the right processor            01/01/70 00:00      
         Wheel reinvention is -            01/01/70 00:00      
         I have a doubt about that KEIL code.            01/01/70 00:00      
            The Question is what do you want to loose?            01/01/70 00:00      
               No - I was just wondering the hardware            01/01/70 00:00      

Back to Subject List