element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Forum Trouble with ttl to usb interface
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 7 replies
  • Subscribers 27 subscribers
  • Views 1946 views
  • Users 0 members are here
  • interrupt
  • ttl
  • usb
  • riotboard
  • display
  • interface
  • usbttl
  • prompt
  • keypress
  • booting
Related

Trouble with ttl to usb interface

Former Member
Former Member over 10 years ago

Hey guys, riotboard noob here!  A local computer store had a USB to TTL serial cable based on the PL2303 chip and I can see the boot information through screen and minicom as my riotboard is booting up so that's working just fine.  However, when it comes to the prompt where I can press any key to interrupt the boot sequence, nothing works.  Neither keypresses on the host computer (Ubuntu Linux) or an attached usb keyboard will interrupt the 3 second timer.  What am I doing wrong?  I apologize in advance if this is a painfully obvious problem.  I'm really stumped, though!

 

Background: I purchased the 7" LCD display and connector board for my riotboard.  I'm following the documentation where it instructs me to interrupt the boot sequence so I can enter the appropriate parameters to enable the screen.

  • Sign in to reply
  • Cancel

Top Replies

  • johnbeetem
    johnbeetem over 10 years ago +1
    I'm not a RIoTboard user but I've done a lot of UART. Here are a few things I'd try. First, make sure the USB UART dongle is working by itself. Unplug it from the RIoTboard and connect the RX and TX bits…
Parents
  • clem57
    0 clem57 over 10 years ago

    Sorry you did not specify the O/S you used. This sounds a bit more software related. Did you check your connections? Please look at @Debian on RIoTboard - After basic install, adding a GUI Desktop and other usefull stuff

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gdstew
    0 gdstew over 10 years ago in reply to clem57

    I don't think this is software related. I've used minicom on PCs, Raspberry Pi, ODROID-C1, and other SBCs with no problems and I've used screen on PCs with no problems. Its

    also unlikely that minicom and screen would have the exact same problem.

     

    Rich, after checking out the riotboard and USB/TTL converter information from what I see they should be connected like this:

     

    USB/TTL                           riotboard pin #

     

    red wire                             not connected

    white wire  (input)               1  UART2_TXD  (output, this one must be correct for you to see the boot information coming from the riotboard)

    green wire  (output)            2  UART2_RXD (input)

    black wire                         3  GND

     

    If this is how you have it wired then there must be a problem with the USB/TTL converter output, or the riotboard UART2 RXD input. This could be anything from bad IC pins on

    either one (nothing you can do), bad solder connections to the IC pins on either one or the connector on the riotboard or the wires on the USB/TTL converter (may be fixable if you

    can solder), problems with the PCB on either one (probably nothing you can do), or the USB/TTL converter green and black wires are connected to the wrong place (swapped)

    although it probably wouldn't work at all because there would be no good ground reference between them.

     

    If you have a digital multimeter you could verify that there is 5V between the red and black wires on the USB/TTL converter when it is plugged into a USB port. This would at

    least tell you that the USB/TTL converter is probably wired properly. Just about anything else would require an oscilloscope to trace out the problem.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • gdstew
    0 gdstew over 10 years ago in reply to clem57

    I don't think this is software related. I've used minicom on PCs, Raspberry Pi, ODROID-C1, and other SBCs with no problems and I've used screen on PCs with no problems. Its

    also unlikely that minicom and screen would have the exact same problem.

     

    Rich, after checking out the riotboard and USB/TTL converter information from what I see they should be connected like this:

     

    USB/TTL                           riotboard pin #

     

    red wire                             not connected

    white wire  (input)               1  UART2_TXD  (output, this one must be correct for you to see the boot information coming from the riotboard)

    green wire  (output)            2  UART2_RXD (input)

    black wire                         3  GND

     

    If this is how you have it wired then there must be a problem with the USB/TTL converter output, or the riotboard UART2 RXD input. This could be anything from bad IC pins on

    either one (nothing you can do), bad solder connections to the IC pins on either one or the connector on the riotboard or the wires on the USB/TTL converter (may be fixable if you

    can solder), problems with the PCB on either one (probably nothing you can do), or the USB/TTL converter green and black wires are connected to the wrong place (swapped)

    although it probably wouldn't work at all because there would be no good ground reference between them.

     

    If you have a digital multimeter you could verify that there is 5V between the red and black wires on the USB/TTL converter when it is plugged into a USB port. This would at

    least tell you that the USB/TTL converter is probably wired properly. Just about anything else would require an oscilloscope to trace out the problem.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube