Results 1 to 3 of 3

Thread: Strange serial comms issue

  1. #1
    Registered
    Join Date
    Sep 2007
    Location
    England
    Posts
    2
    Downloads
    0
    Uploads
    0

    Strange serial comms issue

    Hi all,

    Any chance you lot can help with this problem?

    I'm sending data from a UART onboard an FPGA to COM1 on my XP desktop. It's straight forward, no handshaking etc, 115200 baud communication.

    Using MTTTY, I can receive characters sent to the COM port if I disable all flow control options, as expected. However, if I try to receive data with Hyperterminal (again with no flow control), I get nothing at all. I also get nothing if I use the Windows API stuff through C++.

    I guess that the same problem is affecting my C++ code and Hyperterminal. I need to eventually get the C++ stuff working, so if anyone can suggest why MTTTY works but Hyperterminal doesn't, I'd be very grateful.

    Many thanks,
    TLS


  2. #2
    gar
    gar is offline
    Registered
    Join Date
    Mar 2005
    Location
    USA
    Posts
    1,498
    Downloads
    0
    Uploads
    0
    070926-1641 EST USA

    TLSupper:

    The problem with high level languages is that you have no idea what is going on as a result of your simple command.

    Maybe MTTTY directly accesses the UART.

    Try setting the PC UART FIFO to disable in device manager and use hardware handshake with your program or HyperTerminal.

    .


  3. #3
    Registered
    Join Date
    Sep 2007
    Location
    England
    Posts
    2
    Downloads
    0
    Uploads
    0
    Hi gar,

    Thanks for the suggestion. It turns out the problem was something to do with the cable - I was worried that Hyperterminal might be looking at the control lines so I built a cable with only ground and TX. It works a treat.

    Cheers,
    TLS


Similar Threads

  1. Mazatrol M Plus to PC Comms
    By broby in forum Mazak, Mitsubishi, Mazatrol
    Replies: 13
    Last Post: 05-01-2007, 06:45 AM
  2. Wireless Comms to Mazak
    By bean79au in forum Mazak, Mitsubishi, Mazatrol
    Replies: 1
    Last Post: 10-02-2006, 04:49 AM
  3. Help with selector switch wiring issue (***actually a motor issue***)
    By BEDFORD in forum Industrial Hobbies (Support forum)
    Replies: 7
    Last Post: 04-07-2006, 04:19 PM
  4. More Comms problems
    By sleepless1 in forum Mazak, Mitsubishi, Mazatrol
    Replies: 2
    Last Post: 10-28-2004, 02:46 PM
  5. Default Comms Program
    By Rekd in forum Mastercam
    Replies: 9
    Last Post: 06-11-2003, 09:29 PM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.