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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Blog UDP STACK-- DATA PAYLOAD OF NMEA SENTENCE---EK-TM4C1294XL KIT--- SERIAL TO ETHERNET CONVERSION.
  • Blog
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: neerajrd82
  • Date Created: 26 Nov 2022 5:40 AM Date Created
  • Views 473 views
  • Likes 0 likes
  • Comments 2 comments
Related
Recommended

UDP STACK-- DATA PAYLOAD OF NMEA SENTENCE---EK-TM4C1294XL KIT--- SERIAL TO ETHERNET CONVERSION.

neerajrd82
neerajrd82
26 Nov 2022

This demonstration shows serial to ethernet conversion. EK-TM4C1294XL KIT (Tiva C launchpad kit) is connected with PC using USB cable. This connections enables onboard debugger & creates Virtual com port on configuring the windows drivers on PC. Docklight software is configured according to settings of serial port inside target Microcontroller. Dummy 20-byte NMEA sentence is configured in docklight to generate serial packet which goes inside target Microcontroller. Now , target Microcontroller captures this packet & puts the same into data payload of UDP stack. Now UDP packet is shown on Wireshark. When target Microcontroller receives valid header , it also responds to ping request otherwise no response on ping. This is done deliberately for debugging. Please! see the video below:

https://www.youtube.com/watch?v=HUEtP5I9uQw

This was roadtest done on EK-TM4C1294XL KIT (Tiva C launchpad kit) sponsored by Texas instruments in 2015. 

I m promoter of "MADE IN INDIA" instead of "MAKE IN INDIA". Reason: "MADE IN INDIA" means "DESIGN & MANUFACTURED IN INDIA" otherwise "MAKE IN INDIA" means "DESIGN SOMEWHERE ELSE BUT MANUFACTURED IN INDIA".

Good comments & suggestions are always welcome.    

  • Sign in to reply
  • neerajrd82
    neerajrd82 over 2 years ago in reply to shabaz

    Dear Shabaz, i will implement this as suggested by you. Again Good comments & suggestions are always welcome

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 2 years ago

    Not that it matters after so many years, but because it's interesting to spot bugs, and since you've posted it:

    There's a bit of a bug in the solution. You're sending 18 bytes:

    image

    However, the UDP packets contain 20 bytes:

    image

    The problem is, the stream has no delimiter, perhaps you're using CR/LF to do that, but that's no good if the serial stream carried anything other than NMEA.

    There's actually standards to do what you're doing, dating back to serial modern days. Something like SLIP would do it (easy for a microcontroller to decipher that). Plenty of other methods too, that's just one of the simplest, and would solve that problem.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
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