реклама на сайте
подробности

 
 
> LPC17 добавил errata, для usb хоста
goodwin
сообщение Jun 21 2011, 13:33
Сообщение #1


Местный
***

Группа: Свой
Сообщений: 481
Регистрация: 1-08-05
Пользователь №: 7 267



3.11 USB.1: USB host controller hangs on a dribble bit (LPC1754/56/58/59
only)
Introduction:
Full-/low-speed signaling uses bit stuffing throughout the packet without exception. If the
receiver sees seven consecutive ones anywhere in the packet, then a bit stuffing error has
occurred and the packet should be ignored.
The time interval just before an EOP is a special case. The last data bit before the EOP
can become stretched by hub switching skews. This is known as dribble and can lead to a
situation where dribble introduces a sixth bit that does not require a bit stuff. Therefore,
the receiver must accept a packet for which there are up to six full bit times at the port with
no transitions prior to the EOP.
Problem:
The USB host controller will hang indefinitely if it sees a dribble bit on the USB bus. It will
hang the first time a dribble bit is seen. Once it is in this state there is no recovery other
than a hard chip reset. This problem has no effect on the USB device controller.
Work-around:
None.


Мне что то не довелось наблюдать...
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов (1 - 1)
zuy
сообщение Jun 22 2011, 04:26
Сообщение #2


Частый гость
**

Группа: Свой
Сообщений: 173
Регистрация: 30-11-05
Из: San Francisco
Пользователь №: 11 593



Цитата(goodwin @ Jun 21 2011, 16:33) *
Мне что то не довелось наблюдать...


Я на хосте LPC17xx ловлю следующее.
Код при вставке УСБ флешки, ее опознает и начинает читать файл.
Если начать дергать флешку туда-сюда, так чтобы она выдергивалась на самых первых транзакциях, через некоторое время хост перестает обрабатывать транзакции. Иногда возникает быстро, а иногда и минут 10 приходится "массировать" разьем.
Первый же запрос дескриптора либо вываливается по таймауту, либо со статусом Data underrun.
После этого, ничего кроме ресета всего контроллера не помогает.
Не знаю, проявление ли это описанного в errata косяка, но такое имеет место быть.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 19th July 2025 - 21:08
Рейтинг@Mail.ru


Страница сгенерированна за 0.01399 секунд с 7
ELECTRONIX ©2004-2016