On Tue, 04 Jul 2006 00:21:55 -0500, in comp.arch.embedded "embedidea"
<> wrote:
>>>Hello
>>>Thanks for the reply. we have checked all the connections and also the
>>>properties of the hyperterminal also. all are correct. but still not
>able
>>>to get the data. Will there be any problem if we leave the other pins
>of
>>>the DB 9 connector with no connections.
>>>Expecting a reply.
>>>Thanks in advance.
>>>
>>do you have the ground pins connected on the DB9?
>>
>>
>>martin
>>
>--------------------------------------------------------------------------
>Hello Martin,
>We have connected the pin 5 of DB9 connector to ground. Also the
>properties set for hyperterminal are 9600 baudrate,no parity,1 stopbit,8
>data bits and no flowcontrol.We have connected the pin 13 (R1in) and
>14(T1out) of MAX232 to pins 3 and 2 of DB 9 connector respectively.will
>there be any problem if we leave the other pins of DB 9 connector?
>Expecting a help at the earliest.
>Thanks in advance.
I dont have the max232 data sheet to hand
Try this:
Remove the processor, short the Tx pin and the Rx pin on the processor
socket with a wire. reapply the power.
This will loop through any serial comms through all your hardware. If
this works you have a SW problem, if you get nothing or garbage you
have a hardware problem.
personally, I'd use C to test it. I use the rasonance complier, the
simulator is ok for testing this sort of thing, and its free,and you
can look at all the registers etc( but I dont want to start a C vs
Asm war.)
martin
|