Jump to content
Форум по продукции MOXA

UC-8418 - Состояние DO портов в момент включения


Recommended Posts

Приветствую!

Компьютер UC-8418-LX в момент включения на выходных цифровых каналах иногда (но не всегда) выставляет логическую "1",

Эта "1" включает механизмы управления. Получается ситуация, при которой присутствует время до запуска в течение которого мы не контролируем механизмы.

Можно ли это отключить? Требуется, чтобы в момент включения на выходах всегда был логический "0".

Заранее спасибо за консультацию.

Link to comment

Очень похожую ситуацию вычитал на этом форуме в этой теме:

http://www.moxa.ru/forum/index.php?/topic/2474-w406-lx-%d0%bf%d0%b5%d1%80%d0%b5%d0%b7%d0%b0%d0%b3%d1%80%d1%83%d0%b7%d0%ba%d0%b0-%d0%b4%d0%b8%d1%81%d0%ba%d1%80%d0%b5%d1%82%d0%bd%d1%8b%d0%b5-%d0%b2%d1%8b%d1%85%d0%be%d0%b4%d1%8b/

 

Симптомы очень похожи на наши. Жаль в той теме не приведено решение.

 

Жду ответа.

Link to comment

Здравствуйте!

В той теме проблема была решена путём выпуска новой прошивки производителем.

Сообщите пожалуйста аппаратную ревизию устройства, серийный номер, текущую версию прошивки и версию ОС - и мы попробуем спросить производителя, чем такому горю помочь.

Link to comment

Спасибо за ответ!

Вот что смог найти на коробке от ПК:

UC-8418-T-LX/US/EU V1.0

TADDC 1008022

(сам ПК вмонтирован в стойку. Серийный номер скорее всего с обратной стороны. Если все же есть необходимость в его указании - сообщите, будем разбирать стойку)

Информация из консоли ПК:

Linux Moxa 2.6.23.1 #1036 от 21.03.12

F/W 2.1 build 12032111

Link to comment

И снова здравствуйте!

Поступил уточняющий запрос - в какой именно момент изменяется состояние DO при старте?

 

1. CPLD -Включение питания до первого сообщения на консоль

2. Bootloader – сообщения на консоли до старта Linux

3. Загрузка Linux

Link to comment

Мы консольным кабелем не пользовались, поэтому не видим загрузчика.

Но чисто по ощущениям - состояние изменяется в момент включения, после подачи напряжения питания. Сразу же. Либо доли секунды. Но точно до загрузки Linux

(есть опыт работы с U-boot, поэтому понимаю что до загрузки ядра Linux проходит несколько секунд).

Мне кажется - поймать разницу CPLD и запуск загрузчика - нереально. Разве нет?

Link to comment

давайте я попробую консольный кабель подключить и понаблюдать. Завтра с утра отпишусь.

п.с.

Если просто остановиться на варианте 1, то тогда это будет явно аппаратная проблема, не решаемая программно.

Link to comment

Тут ещё вопрос - какая версия загрузчика?

Узнать можно удерживая кнопку <DEL> в терминале при запуске. Должна появиться строчка вида: Boot Loader Version 2.7.1 B00.

Умные люди при этом говорят, что из под Win7 DEL послать не получается, надо делать из под XP или из под Linux.

Link to comment
  • 2 weeks later...

Видимо нет - но напишу, чтоб было.

Есть рекомендация обновить Boot Loader. Как это сделать:

 

Операция ответственная. Если обновление будет по каким-либо причинам прервано в процессе, - то устройство придет в негодность без возможности восстановления.

 

>>>>>>>>>>>>>>>>>>>>>

1.1. Upgrade the bootloader

 

1.1.1. Power-on UC-8481-LX with pressing the "*" key in the Console

 

Found MU860 module and init ok.

Found NAND Flash : SAMSUNG K9F4G08U0D

Init DIO OK

RTC Init

RTC Init

 

================================<<<Main Menu>>>================================

Boot Loader Version 2.5 S02 Kernel Version 3.0.4 CPU Endian: BE

Make date: Jul 5 2012 20:57:56

Module Type: UC-8481-LX [0x80008481] Serial number:6

MAC Address(NPE): PORT1-00:90:e8:81:51:63 PORT2-00:90:e8:81:51:64

MAC Address(WAPN001): PORT1-00:03:7f:be:f0:34

===============================================================================

[0] Download Redboot [1] Download Kernel

[2] Download RootDisk [3] Run Kernel

[4] Change Boot Device [5] Download Image1 to Flash1

[6] Download Image2 to Flash2 [7] Set/Clean Flag

[8] Set serial no. & MAC Address [9] WT Test

[a] MP test Burning test

[c] Network Configuration [d] Dump memory

[e] Watchdog Test [f] SDRAM test

[g] NorFlash test [h] RTC test

NandFlash test [j] UART test

[k] Embedded LAN test [l] LED test

[m] Buzzer test [n] RLTK 8100 LAN test

[o] Dio test [p] SW Button test

[q] USB test [r] SRAM test

Switch Board test [t] CAN Board test

Cardbus LAN Card test [v] EMP-2422 test

[w] Init RedBoot Config [x] RF test

 

===============================================================================

 

1.1.2. Select "c" to do "Network Configure"

[0] Change IP Setting

 

Please input the select : c

 

================================<<<TFTP Menu>>>================================

[0] Change IP Setting [1] Show Current IP Setting

[z] Quit this menu.

===============================================================================

Please input the select : 0

 

Local IP Address : 192.168.31.166

bootp_my_ip: Setting to 192.168.31.166

... Unlock from 0x51fe0000-0x52000000: .

... Erase from 0x51fe0000-0x52000000: .

... Program from 0x1ffd0000-0x1fff0000 at 0x51fe0000: .

... Lock from 0x51fe0000-0x52000000: .

bootp_my_ip_mask: Setting to 255.0.0.0

 

Server IP Address : 192.168.31.161

bootp_server_ip: Setting to 192.168.31.161

 

Set OK!

 

================================<<<TFTP Menu>>>================================

[0] Change IP Setting [1] Show Current IP Setting

[z] Quit this menu.

===============================================================================

Please input the select : z

 

1.1.3. Upgrade bootloader

 

================================<<<Main Menu>>>================================

Boot Loader Version 2.5 S02 Kernel Version 3.0.4 CPU Endian: BE

Make date: Jul 5 2012 20:57:56

Module Type: UC-8481-LX [0x80008481] Serial number:6

MAC Address(NPE): PORT1-00:90:e8:81:51:63 PORT2-00:90:e8:81:51:64

MAC Address(WAPN001): PORT1-00:03:7f:be:f0:34

===============================================================================

[0] Download Redboot [1] Download Kernel

[2] Download RootDisk [3] Run Kernel

[4] Change Boot Device [5] Download Image1 to Flash1

[6] Download Image2 to Flash2 [7] Set/Clean Flag

[8] Set serial no. & MAC Address [9] WT Test

[a] MP test Burning test

[c] Network Configuration [d] Dump memory

[e] Watchdog Test [f] SDRAM test

[g] NorFlash test [h] RTC test

NandFlash test [j] UART test

[k] Embedded LAN test [l] LED test

[m] Buzzer test [n] RLTK 8100 LAN test

[o] Dio test [p] SW Button test

[q] USB test [r] SRAM test

Switch Board test [t] CAN Board test

Cardbus LAN Card test [v] EMP-2422 test

[w] Init RedBoot Config [x] RF test

 

===============================================================================

Please input the select : 0

 

===============================================================================

Load method select :

0. Load from LAN

1. Load from serial with Xmodem

z. Abort select.

===============================================================================

Please select item : 0

Please input load file name..

Default file name : redboot.bin

User Input file name : UC-8481-LX_2710_B00.bos

Trying NPE-A...success. Using NPE-A with PHY 16.

Using default protocol (TFTP)

|

Raw file loaded 0x00800000-0x008a98bf, assumed entry at 0x00800000

load_address_end : [0x8a98c0] [a98c0]

... Unlock from 0x50000000-0x50100000: ........

 

*************** WARNING ***************

*** Writing Flash Now ***

*** Please Do Not Power Off Device! ***

***************************************

 

... Erase from 0x50000000-0x50100000: ........

... Program from 0x00800000-0x00900000 at 0x50000000: ........

fis lock -f 0x50000000 -l 0x100000

... Lock from 0x50000000-0x50100000: ........

 

**************************************************

** **

** Update OK! Please Power Cycle Device! **

** **

**************************************************

 

1.2. Power-off, Power-on UC-8481-LX with "DEL" key pressed to enter the new bootloader

 

Configure the [0] Network Configuration

 

================================<<<Main Menu>>>================================

Boot Loader Version 2.7.1 B00 Kernel Version 3.0.4 CPU Endian: LE

Make date: Nov 1 2013 19:30:27

Module Type: UC-8481-LX [0x80008481] Serial number:6

MAC Address(NPE): PORT1-00:90:e8:81:51:63 PORT2-00:90:e8:81:51:64

MAC Address(WAPN001): PORT1-ad:de:00:01:00:03

===============================================================================

[0] Network Configuration [1] Format User Disk

[2] Firmware Upgrade [3] Enable/Disable Debian ARM Boot

[4] Reboot

===============================================================================

Please input the select : 0

 

================================<<<Main Menu>>>================================

Boot Loader Version 2.7.1 B00 Kernel Version 3.0.4 CPU Endian: LE

Make date: Nov 1 2013 19:30:27

Module Type: UC-8481-LX [0x80008481] Serial number:6

MAC Address(NPE): PORT1-00:90:e8:81:51:63 PORT2-00:90:e8:81:51:64

MAC Address(WAPN001): PORT1-00:03:00:03:00:03

===============================================================================

[0] Network Configuration [1] Format User Disk

[2] Firmware Upgrade [3] Enable/Disable Debian ARM Boot

[4] Reboot

===============================================================================

Please input the select : 0

 

================================<<<TFTP Menu>>>================================

[0] Default Setting [1] User define

[2] View setting [q] Quit this menu.

===============================================================================

Please input the select : 1

 

Local IP Address : 192.168.31.166

bootp_my_ip: Setting to 192.168.31.166

bootp_my_ip_mask: Setting to 255.0.0.0

 

Server IP Address : 192.168.31.161

bootp_server_ip: Setting to 192.168.31.161

 

Set OK!

UC-8418-LX_2680_C00.zip

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...