Christian Légaré
User Rank
Re: Nov 28 - Day 3: Understanding the USB Protocol
Christian Légaré   11/28/2012 2:45:30 PM
When an application sends N bytes how does the peer know when the entire application packet has been received?

Good question!

As you saw from the packets, there are not "length of transfer" So, USB uses what is called a Zero Length Packet «)ZLP). If a packet received is smaller than the Maximium packet size for the transfer  mode at a certain speed, than it knows that is was the last packet. Otherwise, the transmitter has to send a ZLP to signel the end of the transfer.


Partner Zone
Latest Analysis
Days after a massive, distributed denial-of-service attack took down dozens of major websites around the country, ARM Holdings plc is rolling out a pair of new processor architectures aimed at shoring up IoT security.
Dow Chemical and several other companies have launched a program in Omaha, Neb. to divert about 36 tons of plastics from landfills in its first phase, and convert it into energy used for cement production.
Both traditional automation companies and startups are developing technologies to improve processes on the factory floor, while smart sensors and other IoT-related technologies are improving how products are handled during transport and across the supply chain.
Remote monitoring now looks beyond the individual motor or conveyor and instead views the process from end to end.
BASF is partnering with Hyundai on a high-performance concept car that showcases both eco-friendly, sustainable materials and materials to enable lighter weight cars.
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Oct 10 - 14, Embedded System Design Techniques™: Getting Started Developing Professional Embedded Software
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9 | 10

Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Next Course September 27-29:
Sponsored by 3M
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Technology Marketplace

Copyright © 2016 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service