This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problem to communicate with Hyperterminal

Hello,

I'm a newbie in ARM and in Keil Microvision IDE. I downloaded an example from st site, which allows to communicate via serial port with an hyperterminal.
I compile then download the program in the ARM7. When I am in debugging mode, I can see the program works properly thanks to serial window inside Microvision.
But When I want to use hyperterminal on my PC to communicate with STR7, nothing happens...I take care of using correct settings for serial comm, same settings than in STR7.

Could you help me please?

Parents
  • Antoine:

    If you use a cable that allows connection between two PC's then that is probably a Null-Modem cable. These are use when you want to hook up a PC to a device set up as DTE. And it is probably not what you want.

    I don't know which board you are using but if it is like my Keil MCBSTR9 (based on an ARM 9), then it is probably wired and fitted with a connector so as to be set up as DCE. That said, a straight-thru cable is what you would want to use. I'm guessing that Keil probably tends to build boards in a similar way despite processor....I could be wrong though.

    When you look at the DB-9 connector (on your STR7 board), is it male or female? If it is male, it is probably set up like a PC (DTE). If it is female, it is probably set up like a DCE. If so, use a straight-thru.

    If you want more information on cables and stuff, go to http://www.nullmodem.com.

    Best Regards and Good Luck,

    -=Rich=-

Reply
  • Antoine:

    If you use a cable that allows connection between two PC's then that is probably a Null-Modem cable. These are use when you want to hook up a PC to a device set up as DTE. And it is probably not what you want.

    I don't know which board you are using but if it is like my Keil MCBSTR9 (based on an ARM 9), then it is probably wired and fitted with a connector so as to be set up as DCE. That said, a straight-thru cable is what you would want to use. I'm guessing that Keil probably tends to build boards in a similar way despite processor....I could be wrong though.

    When you look at the DB-9 connector (on your STR7 board), is it male or female? If it is male, it is probably set up like a PC (DTE). If it is female, it is probably set up like a DCE. If so, use a straight-thru.

    If you want more information on cables and stuff, go to http://www.nullmodem.com.

    Best Regards and Good Luck,

    -=Rich=-

Children
  • Hello,

    Thanks for your answer!

    DB9 connector on my Hitex EvalBoard (same than MCBSTR7 Board) is female. But even if I use a straight-thru cable, nothing works...(I verified ppin to pin connection on my a straight-thru cable ).

    I tried also change db9 port on the evalboard (since there are 2 serial port) but normally UART0 matches to RS232-A port?

    I wonder also if there is a possibility that baudrate is wrong, since it depends on a clock speed (RCCU_FCLK). I mean in target option in microvision, there is a setting for XTAL Clock, where I wrote 16 Mhz.

    Thanks for your help