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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/13/08 11:22
Modified:
  06/13/08 11:25

Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#155839 - The Problem Often Is The ...
Responding to: ???'s previous message
In cases like this the problem is often the simplest thing where you keep looking and looking at the circuit based on something that you are convinced to be correct.

One thing that comes to my mind to suggest that you look at is to (now do not be offended since this will seem so simple) look at the pin numbering and where you have all remaining minimal stuff attached. You have a 40-pin package right? Make sure what you think is pins 18, 19, and 34 etc are correctly these pins. It can be easy to get confused from looking at how the pins numbered from the bottom to order you count from the top.

To facilitate this verification drag your o-scope and the trainer board right over alongside the custom built board. Looking down from the top of the chips on both setups compare, both visually and with the o-scope, the pins that the crystal, ground, MAX232, EA, and PSEN connect to. Are they all the same? Sometimes it can also be helpful to get another person to look at it too to cross check the simple connection in this manner.

Also make sure you have the TxD and RxD correct. This is one area where it is easy to get confused. The tests you described did not seem to validate that Rx and Tx were sorted out in the correct order. Do this...connect your PC to the trainer and open the terminal program on the PC. Hold down one key so it sends a byte out to the trainer over and over again. Now look at the MCU on the trainer with the o-scope and observe whether the RxD pin is indeed receiving a signal at the proper MCU pin as shown in the data sheet. Now move that setup over to your custom board and verify that the RxD arrives on the same pin of your MCU.

Like I said - it is often the simplest thing that causes these initial problems like this!!

Michael Karas


List of 45 messages in thread
TopicAuthorDate
I'm getting insane! pls help!            01/01/70 00:00      
   I do not know much about Arghmel, but            01/01/70 00:00      
      >Arghmel<, Erik, are you crazy?            01/01/70 00:00      
         fair warning to all            01/01/70 00:00      
   Thanks for the props but....            01/01/70 00:00      
      have you tried changing the chip            01/01/70 00:00      
   Yep            01/01/70 00:00      
      the Arghmel users should wake up soon            01/01/70 00:00      
         The Problem Often Is The ...            01/01/70 00:00      
            I'll try that            01/01/70 00:00      
               But....            01/01/70 00:00      
                  What breed of MAX232?            01/01/70 00:00      
                     so...            01/01/70 00:00      
                        Trainer Board            01/01/70 00:00      
                           um quite similar...            01/01/70 00:00      
                        Your schema looks fine            01/01/70 00:00      
                           a strange thing has happened            01/01/70 00:00      
                              470uF            01/01/70 00:00      
                                 Just wanted to state the same            01/01/70 00:00      
                              It would have to be a very good 470uF cap ...            01/01/70 00:00      
                                 Richard??            01/01/70 00:00      
                                    What negative effect would that be?            01/01/70 00:00      
                                       let's do that, you start            01/01/70 00:00      
                        DEAD wrong            01/01/70 00:00      
   Oh uh......            01/01/70 00:00      
      Wrong Xtal may be            01/01/70 00:00      
         0.1uF ok then            01/01/70 00:00      
            Are you sure?            01/01/70 00:00      
               I found a usable one            01/01/70 00:00      
                  Did you find the reason            01/01/70 00:00      
                     still searching for the reason            01/01/70 00:00      
            Model of a capacitor            01/01/70 00:00      
         18.432MHz for Std Baud Rates ...            01/01/70 00:00      
   Shorts,shorts,shorts,            01/01/70 00:00      
      Pictures?            01/01/70 00:00      
         why is that?            01/01/70 00:00      
            Just Curious            01/01/70 00:00      
               Hey uh Jon i had already removed all socketed ICs            01/01/70 00:00      
      Vss for logical chips SHOULD be ground            01/01/70 00:00      
         Stupid me, i meant Vcc not Vss            01/01/70 00:00      
         Let\'s call this a day            01/01/70 00:00      
            Good Luck!            01/01/70 00:00      
               Thank you all            01/01/70 00:00      
   Boot loader running?            01/01/70 00:00      
      I'll try it tonight            01/01/70 00:00      

Back to Subject List