[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4678: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4680: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4681: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4682: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
virt2real.ru • Просмотр темы - Console/UART0




 

Управляем чем угодно откуда угодно

Console/UART0

Виртурилка, 3G/4G, WiFi, моторчики, датчики, GPS и прочее - питание, драйвера, совместимость и т.д.

Console/UART0

Сообщение dimonix » 11 сен 2013, 21:09

Странную наблюдаю картину при подключении USB-COM(TTL) к UART0 - не работает :? Отцепил getty, попробовал читать/писать напрямую в ttyS0 - Rx со стороны виртурилки работает, а вот Tx нет. Все преобразователи заведомо рабочие, проверены на других 3.3-вольтовых платформах.
Итого:
на чипе PL-2303 (2 штуки) иногда появляется вывод после сброса по питанию, в основном мусор либо ничего. Rx работает нормально.
на чипе CH340 нет вывода совсем, Rx работает нормально.
В результате заработал 4-й по счету преобразователь на чипе CP2102. От дает нормальный вывод с момента включения виртурилки.

Честно, впервые встречаю такое странное поведение. Либо это какие-то особенности разводки/фильтрации питания платы, либо особенности схемотехники преобразователей (например нагрузка в виде светодиодов на входе Rx). booter уже упоминал о каких-то спецэффектах ... Включение резистора 1К между Tx виртурилки и Rx преобразователя ничего не дало.

Хотелось бы услышать мнение разработчиков на сей счет.
dimonix
 
Сообщения: 35
Зарегистрирован: 07 сен 2013, 14:54

Re: Console/UART0

Сообщение booter » 12 сен 2013, 00:17

Аватара пользователя
booter
virt2real team
 
Сообщения: 47
Зарегистрирован: 08 авг 2012, 19:52
Откуда: Россия, Тула

Re: Console/UART0

Сообщение Smit » 12 сен 2013, 00:33

Кстати наблюдаю схожую проблему. Провереный ft232rl не завелся вообще. А вот cp2102 из комплекта автопилота завелся но глючит.
Smit
 
Сообщения: 126
Зарегистрирован: 07 сен 2013, 00:53

Re: Console/UART0

Сообщение Gol » 12 сен 2013, 01:00

Аватара пользователя
Gol
 
Сообщения: 507
Зарегистрирован: 17 фев 2012, 01:44
Откуда: Тула-Свободный-Щёкино-Тула-Москва

Re: Console/UART0

Сообщение Smit » 12 сен 2013, 10:58

Smit
 
Сообщения: 126
Зарегистрирован: 07 сен 2013, 00:53

Re: Console/UART0

Сообщение dimonix » 12 сен 2013, 13:27

Видимо все-таки придется "раскошелится" на вот штуку.
Если наберутся желающие примерно на 20 устройств, то имеет смысл заказать нормальные платы. Пишите в ЛС.
dimonix
 
Сообщения: 35
Зарегистрирован: 07 сен 2013, 14:54

Re: Console/UART0

Сообщение Dr_Alex » 22 окт 2013, 10:38

Привет всем.
Подключил UART0 напрямую в ком порт компа трехжильным проводом RX TX GND, выбрал параметры 115200 8N1 и эмуляцию VT100. В консоль падают нечитаемые символы. Консоль PuTTY и Hyper Terminal. Подскажите что еще можно попробовать.
Dr_Alex
 
Сообщения: 15
Зарегистрирован: 11 окт 2013, 14:27

Re: Console/UART0

Сообщение phoenix367 » 22 окт 2013, 13:25

phoenix367
 
Сообщения: 193
Зарегистрирован: 09 сен 2013, 00:19

Re: Console/UART0

Сообщение Dr_Alex » 22 окт 2013, 15:24

Спасибо за наводку на мысль... Дома есть дата кабель для старинной мобилы Ericsson A1018 там есть микруха MAX232. Попробую завтра к нему подпаяться.
Dr_Alex
 
Сообщения: 15
Зарегистрирован: 11 окт 2013, 14:27

Re: Console/UART0

Сообщение Dr_Alex » 22 окт 2013, 15:52

Нашел переходник USB-COM на чипе Prolific PL2303 поробовал с ним .... результат тот же. Мусор в консоли.
Dr_Alex
 
Сообщения: 15
Зарегистрирован: 11 окт 2013, 14:27

След.

Вернуться в Железо - заставляем работать

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 16

cron