вот в этом бы разобратьсяnkp писал(а):sserial_port_0=000xxx
а то слепо пишем - а что значит - не совсем представляется...
это как то связано с расширением за счет подключения дополнительных плат(32 шт????)
вот в этом бы разобратьсяnkp писал(а):sserial_port_0=000xxx
не согласенNick писал(а):электронщики - непостижимый народ
это (ещё одно) питание подается на TB2 10-32VNick писал(а):Питание нужно, чтобы в том числе работали дополнительные пины IO 7i77
вот это и полезно...Nick писал(а):Все неиспользованные каналы становятся пинами GPIO
Причем даже если напишешь sserial_port_0=11111111, но не включишь smartserial девайсов, то пины все рано станут GPIO.nkp писал(а):вот это и полезно...Nick писал(а):Все неиспользованные каналы становятся пинами GPIO
Код: Выделить всё
axis.0.motor-pos-cmd => analogout0 да -правильнейNick писал(а):Лучше туда velocity-cmd посылать.
Код: Выделить всё
axis.0.joint-vel-cmdочень напрягает отсутствие хоть каких либо электрических схем(а лучше подробныхNick писал(а):что ты хочешь проверить?
Стандарт обещает по 25W на плату.nkp писал(а):да +-10V формируются из 5V поступающих сейчас через PCI
хоть и на управление приводов токи скорей всего небольшие(надо смотреть конкретно для каждого привода) -
но суммарно 6шт(или более??) PCI может и не вытянуть
Код: Выделить всё
loadrt hal_parport cfg="b400 in ac00 in"Код: Выделить всё
lnkp@nkp-desktop:~$ lspci -v
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
Subsystem: ASRock Incorporation Device 2570
Flags: bus master, fast devsel, latency 0
Memory at fe800000 (32-bit, prefetchable) [size=4M]
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
Subsystem: ASRock Incorporation Device 2572
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Memory at ff280000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
Flags: fast devsel
Memory at fecf0000 (32-bit, non-prefetchable) [size=4K]
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at dc00 [size=32]
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at e000 [size=32]
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at e400 [size=32]
Kernel driver in use: uhci_hcd
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at e800 [size=32]
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20)
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at ff27fc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 00009000-0000bfff
Memory behind bridge: ff000000-ff0fffff
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
Flags: bus master, medium devsel, latency 0
Kernel modules: iTCO_wdt, intel-rng
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at fc00 [size=16]
Memory at 80000000 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
Subsystem: ASRock Incorporation Device 24d0
Flags: medium devsel, IRQ 10
I/O ports at 0400 [size=32]
Kernel modules: i2c-i801
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: ASRock Incorporation Device 9761
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at d800 [size=256]
I/O ports at d400 [size=64]
Memory at ff27f800 (32-bit, non-prefetchable) [size=512]
Memory at ff27f400 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0
01:01.0 DPIO module: Device 2718:5125
Subsystem: Device 2718:5125
Flags: fast devsel, IRQ 22
Memory at ff0f0000 (32-bit, non-prefetchable) [size=64K]
Kernel driver in use: hm2_pci
01:02.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
Subsystem: LSI Logic / Symbios Logic Device 0012
Flags: medium devsel, IRQ 23
I/O ports at bc00 [size=8]
I/O ports at b800 [size=8]
I/O ports at b400 [size=8]
I/O ports at b000 [size=8]
I/O ports at ac00 [size=8]
I/O ports at a800 [size=16]
Kernel driver in use: parport_serial
Kernel modules: parport_serial
01:03.0 Serial controller: Device 4348:7053 (rev 10) (prog-if 02)
Subsystem: Device 4348:3253
Flags: medium devsel, IRQ 20
I/O ports at a400 [size=8]
I/O ports at a000 [size=8]
I/O ports at 9c00 [size=8]
I/O ports at 9800 [size=16]
Kernel driver in use: serial
01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: ASRock Incorporation Device 8139
Flags: bus master, medium devsel, latency 32, IRQ 22
I/O ports at 9400 [size=256]
Memory at ff0efc00 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp
nkp@nkp-desktop:~$
Код: Выделить всё
nkp@nkp-desktop:~$ lspci -v
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
Subsystem: ASRock Incorporation Device 2570
Flags: bus master, fast devsel, latency 0
Memory at fe800000 (32-bit, prefetchable) [size=4M]
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
Subsystem: ASRock Incorporation Device 2572
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Memory at ff280000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
Flags: fast devsel
Memory at fecf0000 (32-bit, non-prefetchable) [size=4K]
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at dc00 [size=32]
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at e000 [size=32]
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at e400 [size=32]
Kernel driver in use: uhci_hcd
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at e800 [size=32]
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20)
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at ff27fc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000a000-0000bfff
Memory behind bridge: ff000000-ff0fffff
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
Flags: bus master, medium devsel, latency 0
Kernel modules: iTCO_wdt, intel-rng
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: ASRock Incorporation Device 24d0
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at fc00 [size=16]
Memory at 80000000 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
Subsystem: ASRock Incorporation Device 24d0
Flags: medium devsel, IRQ 10
I/O ports at 0400 [size=32]
Kernel modules: i2c-i801
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: ASRock Incorporation Device 9761
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at d800 [size=256]
I/O ports at d400 [size=64]
Memory at ff27f800 (32-bit, non-prefetchable) [size=512]
Memory at ff27f400 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0
01:01.0 DPIO module: Device 2718:5125
Subsystem: Device 2718:5125
Flags: fast devsel, IRQ 10
Memory at ff0f0000 (32-bit, non-prefetchable) [size=64K]
01:02.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
Subsystem: LSI Logic / Symbios Logic Device 0012
Flags: medium devsel, IRQ 23
I/O ports at bc00 [size=8]
I/O ports at b800 [size=8]
I/O ports at b400 [size=8]
I/O ports at b000 [size=8]
I/O ports at ac00 [size=8]
I/O ports at a800 [size=16]
Kernel driver in use: parport_serial
Kernel modules: parport_serial
01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: ASRock Incorporation Device 8139
Flags: bus master, medium devsel, latency 32, IRQ 22
I/O ports at a400 [size=256]
Memory at ff0efc00 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp
nkp@nkp-desktop:~$
А почему ты именно эти адреса решил указать?nkp писал(а):за то когда прописать в халКод: Выделить всё
loadrt hal_parport cfg="b400 in ac00 in"
я купил одну платуUAVpilot писал(а):А почему ты именно эти адреса решил указать?
Код: Выделить всё
*-communication:1
description: Serial controller
physical id: 3
bus info: pci@0000:01:03.0
version: 10
width: 32 bits
clock: 33MHz
configuration: driver=serial latency=0
resources: irq:20 ioport:a400(size=8) ioport:a000(size=8) ioport:9c00(size=8) ioport:9800(size=16)