Updating Mesa 5i25 and 7i77 firmware?

More
17 Jun 2015 02:46 #59888 by Todd Zuercher
I am striking out trying to find instructions how to do this.
First I down loaded and extracted
www.mesanet.com/software/parallel/sserial.zip
and
www.mesanet.com/software/parallel/5i25.zip
Then extracted them.
Now what?
I tried to run this
sudo mesaflash --device 5i25 --write 5i25_7i77x2.bit
from a terminal but I keep getting
sudo: mesaflash: command not found
Where should the above zip files be extracted to? What has to be done to install mesaflash?

Please Log in or Create an account to join the conversation.

More
17 Jun 2015 03:31 #59890 by PCW
If you have a relatively recent LinuxCNC installation you should be able to:

sudo apt-get update
sudo apt-get install mesaflash

if not, you can build from source either using git to fetch or just downloading the zip file from

github.com/micges/mesaflash and running make and sudo make install on the source

Depending on your system building mesaflash may require fetching pcilib

You can run mesaflash in the bitfile directory or give it a full path to the bitfile (it has no special paths built in)

Please Log in or Create an account to join the conversation.

More
17 Jun 2015 03:40 #59891 by Todd Zuercher
This is a Ubuntu 10.4 live CD with LinuxCNC 2.5 up dated to 2.7 via Buildbot.
running those commands gave me

digital4@digital4-cnc:~$ sudo apt-get install mesaflash
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package mesaflash

Please Log in or Create an account to join the conversation.

More
17 Jun 2015 03:47 #59892 by PCW
did you do the apt-get update?


I just tried on a linuxcnc 2.5.4 10.04 system
and it worked and installed mesaflash 3.10

Please Log in or Create an account to join the conversation.

More
17 Jun 2015 04:13 #59893 by Todd Zuercher
Yes I did.

I went to the directory containing the mesaflash I unzipped, then this command seemed to work. (it did something without any alarms)
sudo ./mesaflash --device 5i25 --write /home/digital4/5i25/configs/hostmot2/5i25_7i77x2.bit

Now I just need to figure out how to get the 7i77 firmware updated

running
sudo ./update7i77
gives
move 7I77 W4 and W12 to right hand positions
cycle 7I77 field power and 5V power and hit return
read: 3: arg count
updating 7I77 field I/O
updating 7i77 analog out
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/setsserial.ko': -1 Operation not permitted
update7i77a.hal:4: exit value: 1
update7i77a.hal:4: insmod for setsserial failed, returned -1
See the output of 'dmesg' for more information.
ERROR: Module setsserial does not exist in /proc/modules
<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
now move 7I77 W4 and W12 to the left hand positiona
and cycle field power and 5V power
digital4@digital4-cnc:~/utils/linuxcnc$

dmesg
[  169.264891] f8a14e20 9ac15d93 RTAI 200
[  169.264895] c085cb20 0 Linux 100
[  169.297378] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  169.297639] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[  169.297647] RTAI[sched]: hard timer type/freq = APIC/12499398(Hz); default timing: periodic; linear timed lists.
[  169.297653] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1649957000 hz.
[  169.297657] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[  169.297775] RTAI[usi]: enabled.
[  169.425437] RTAI[math]: loaded.
[  169.530861] hm2: loading Mesa HostMot2 driver version 0.15
[  169.536735] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[  169.536795] hm2_pci 0000:06:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[  169.536801] hm2_pci: discovered 5i25 at 0000:06:00.0
[  169.539723] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[  169.539742] hm2/hm2_5i25.0: num_channels = 6
[  169.539818] hm2/hm2_5i25.0: Chan 0 baudrate = 2500000
[  169.539979] hm2/hm2_5i25.0: Chan 0. Baudrate set to 115200
[  169.540131] hm2/hm2_5i25.0: Chan 1 baudrate = 2500000
[  169.540292] hm2/hm2_5i25.0: Chan 1. Baudrate set to 115200
[  169.540367] hm2/hm2_5i25.0: Chan 2 baudrate = 2500000
[  169.540526] hm2/hm2_5i25.0: Chan 2. Baudrate set to 115200
[  169.540602] hm2/hm2_5i25.0: Chan 3 baudrate = 2500000
[  169.540761] hm2/hm2_5i25.0: Chan 3. Baudrate set to 115200
[  169.540837] hm2/hm2_5i25.0: Chan 4 baudrate = 2500000
[  169.540996] hm2/hm2_5i25.0: Chan 4. Baudrate set to 115200
[  169.541071] hm2/hm2_5i25.0: Chan 5 baudrate = 2500000
[  169.541231] hm2/hm2_5i25.0: Chan 5. Baudrate set to 115200
[  169.595971] Setup mode
[  169.595974] found a 7I77
[  169.595982] Setup mode
[  169.596025] Looking for 8i20s, crc_addr = 192
[  169.650771] found a     
[  169.650779] Setup mode
[  169.650811] Looking for 8i20s, crc_addr = 242
[  169.705578] found a     
[  169.705587] Setup mode
[  169.705618] Looking for 8i20s, crc_addr = 292
[  169.760378] found a     
[  169.760386] Setup mode
[  169.760418] Looking for 8i20s, crc_addr = 342
[  169.815173] found a     
[  169.815181] Setup mode
[  169.815212] Looking for 8i20s, crc_addr = 392
[  169.869984] found a     
[  169.873243] hm2/hm2_5i25.0: Setup mode, creating no pins for smart-serial channel hm2_5i25.0.7i77.0.0
[  169.892362] hm2/hm2_5i25.0: 34 I/O Pins used:
[  169.892370] hm2/hm2_5i25.0:     IO Pin 000 (P3-01): Smart Serial Interface #0, pin TxEn2   (Output)
[  169.892376] hm2/hm2_5i25.0:     IO Pin 001 (P3-14): Smart Serial Interface #0, pin TxData2 (Output)
[  169.892382] hm2/hm2_5i25.0:     IO Pin 002 (P3-02): Smart Serial Interface #0, pin RxData2 (Input)
[  169.892387] hm2/hm2_5i25.0:     IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output)
[  169.892393] hm2/hm2_5i25.0:     IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input)
[  169.892398] hm2/hm2_5i25.0:     IO Pin 005 (P3-16): Smart Serial Interface #0, pin TxData0 (Output)
[  169.892403] hm2/hm2_5i25.0:     IO Pin 006 (P3-04): Smart Serial Interface #0, pin RxData0 (Input)
[  169.892409] hm2/hm2_5i25.0:     IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[  169.892414] hm2/hm2_5i25.0:     IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[  169.892419] hm2/hm2_5i25.0:     IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[  169.892424] hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[  169.892429] hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[  169.892434] hm2/hm2_5i25.0:     IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[  169.892439] hm2/hm2_5i25.0:     IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[  169.892444] hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[  169.892449] hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[  169.892454] hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[  169.892460] hm2/hm2_5i25.0:     IO Pin 017 (P2-01): Smart Serial Interface #0, pin TxEn5   (Output)
[  169.892465] hm2/hm2_5i25.0:     IO Pin 018 (P2-14): Smart Serial Interface #0, pin TxData5 (Output)
[  169.892470] hm2/hm2_5i25.0:     IO Pin 019 (P2-02): Smart Serial Interface #0, pin RxData5 (Input)
[  169.892475] hm2/hm2_5i25.0:     IO Pin 020 (P2-15): Smart Serial Interface #0, pin TxData4 (Output)
[  169.892480] hm2/hm2_5i25.0:     IO Pin 021 (P2-03): Smart Serial Interface #0, pin RxData4 (Input)
[  169.892485] hm2/hm2_5i25.0:     IO Pin 022 (P2-16): Smart Serial Interface #0, pin TxData3 (Output)
[  169.892491] hm2/hm2_5i25.0:     IO Pin 023 (P2-04): Smart Serial Interface #0, pin RxData3 (Input)
[  169.892496] hm2/hm2_5i25.0:     IO Pin 024 (P2-17): Muxed Encoder Select #6, pin Mux Select 0 (Output)
[  169.892501] hm2/hm2_5i25.0:     IO Pin 025 (P2-05): Muxed Encoder #3, pin Muxed A (Input)
[  169.892506] hm2/hm2_5i25.0:     IO Pin 026 (P2-06): Muxed Encoder #3, pin Muxed B (Input)
[  169.892511] hm2/hm2_5i25.0:     IO Pin 027 (P2-07): Muxed Encoder #3, pin Muxed Index (Input)
[  169.892516] hm2/hm2_5i25.0:     IO Pin 028 (P2-08): Muxed Encoder #4, pin Muxed A (Input)
[  169.892521] hm2/hm2_5i25.0:     IO Pin 029 (P2-09): Muxed Encoder #4, pin Muxed B (Input)
[  169.892526] hm2/hm2_5i25.0:     IO Pin 030 (P2-10): Muxed Encoder #4, pin Muxed Index (Input)
[  169.892531] hm2/hm2_5i25.0:     IO Pin 031 (P2-11): Muxed Encoder #5, pin Muxed A (Input)
[  169.892536] hm2/hm2_5i25.0:     IO Pin 032 (P2-12): Muxed Encoder #5, pin Muxed B (Input)
[  169.892541] hm2/hm2_5i25.0:     IO Pin 033 (P2-13): Muxed Encoder #5, pin Muxed Index (Input)
[  169.892684] hm2/hm2_5i25.0: registered
[  169.892689] hm2_5i25.0: initialized AnyIO board at 0000:06:00.0
[  169.918936] flash command
[  169.918966]  hm2_5i25.0: firmware: requesting hm2/sserial/7I77DR14.BIN
[  169.976183] Firmware size 0x5000
[  169.982855] setup start: data_reg readback = 0
[  169.984293] hm2/hm2_5i25.0: Write Size = 100, Erase Size = 800
[  169.984668] hm2/hm2_5i25.0: Skipped Block 1
[  169.984675] hm2/hm2_5i25.0: Skipped Block 2
[  169.984682] hm2/hm2_5i25.0: Skipped Block 3
[  170.009695] hm2/hm2_5i25.0: Erased block 4
[  170.329515] hm2/hm2_5i25.0: Wrote block 4
[  170.354549] hm2/hm2_5i25.0: Erased block 5
[  170.674416] hm2/hm2_5i25.0: Wrote block 5
[  170.699469] hm2/hm2_5i25.0: Erased block 6
[  171.019317] hm2/hm2_5i25.0: Wrote block 6
[  171.044339] hm2/hm2_5i25.0: Erased block 7
[  171.364137] hm2/hm2_5i25.0: Wrote block 7
[  171.389189] hm2/hm2_5i25.0: Erased block 8
[  171.709027] hm2/hm2_5i25.0: Wrote block 8
[  171.734048] hm2/hm2_5i25.0: Erased block 9
[  172.053855] hm2/hm2_5i25.0: Wrote block 9
[  172.053863] Firmware Flash Success
[  172.090616] hm2_5i25.0: dropping AnyIO board at 0000:06:00.0
[  172.090627] hm2/hm2_5i25.0: unregistered
[  172.090671] hm2_pci 0000:06:00.0: PCI INT A disabled
[  172.090710] hm2_pci: driver unloaded
[  172.096600] hm2: unloading
[  172.248749] RTAI[math]: unloaded.
[  172.344938] SCHED releases registered named ALIEN RTGLBH
[  172.376342] RTAI[malloc]: unloaded.
[  172.476025] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[  172.480620] I-pipe: Domain RTAI unregistered.
[  172.480731] RTAI[hal]: unmounted.
[  172.596174] I-pipe: Domain RTAI registered.
[  172.596186] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[  172.596191] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[  172.596297] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[  172.596301] PIPELINE layers:
[  172.596306] f8da7e20 9ac15d93 RTAI 200
[  172.596310] c085cb20 0 Linux 100
[  172.627840] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  172.628403] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[  172.628412] RTAI[sched]: hard timer type/freq = APIC/12499398(Hz); default timing: periodic; linear timed lists.
[  172.628417] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1649957000 hz.
[  172.628422] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[  172.628536] RTAI[usi]: enabled.
[  172.746400] RTAI[math]: loaded.
[  172.812305] hm2: loading Mesa HostMot2 driver version 0.15
[  172.817580] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[  172.817678] hm2_pci 0000:06:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[  172.817684] hm2_pci: discovered 5i25 at 0000:06:00.0
[  172.820653] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[  172.820672] hm2/hm2_5i25.0: num_channels = 6
[  172.820748] hm2/hm2_5i25.0: Chan 0 baudrate = 2500000
[  172.820910] hm2/hm2_5i25.0: Chan 0. Baudrate set to 115200
[  172.820985] hm2/hm2_5i25.0: Chan 1 baudrate = 2500000
[  172.821145] hm2/hm2_5i25.0: Chan 1. Baudrate set to 115200
[  172.821220] hm2/hm2_5i25.0: Chan 2 baudrate = 2500000
[  172.821380] hm2/hm2_5i25.0: Chan 2. Baudrate set to 115200
[  172.821455] hm2/hm2_5i25.0: Chan 3 baudrate = 2500000
[  172.821615] hm2/hm2_5i25.0: Chan 3. Baudrate set to 115200
[  172.821689] hm2/hm2_5i25.0: Chan 4 baudrate = 2500000
[  172.821849] hm2/hm2_5i25.0: Chan 4. Baudrate set to 115200
[  172.821925] hm2/hm2_5i25.0: Chan 5 baudrate = 2500000
[  172.822084] hm2/hm2_5i25.0: Chan 5. Baudrate set to 115200
[  172.876805] Setup mode
[  172.876808] found a 7I77
[  172.876817] Setup mode
[  172.876849] Looking for 8i20s, crc_addr = 192
[  172.931600] found a     
[  172.931608] Setup mode
[  172.931640] Looking for 8i20s, crc_addr = 242
[  172.986409] found a     
[  172.986418] Setup mode
[  172.986449] Looking for 8i20s, crc_addr = 292
[  173.041218] found a     
[  173.041227] Setup mode
[  173.041258] Looking for 8i20s, crc_addr = 342
[  173.096013] found a     
[  173.096021] Setup mode
[  173.096053] Looking for 8i20s, crc_addr = 392
[  173.150819] found a     
[  173.153282] hm2/hm2_5i25.0: Setup mode, creating no pins for smart-serial channel hm2_5i25.0.7i77.0.0
[  173.172368] hm2/hm2_5i25.0: 34 I/O Pins used:
[  173.172376] hm2/hm2_5i25.0:     IO Pin 000 (P3-01): Smart Serial Interface #0, pin TxEn2   (Output)
[  173.172382] hm2/hm2_5i25.0:     IO Pin 001 (P3-14): Smart Serial Interface #0, pin TxData2 (Output)
[  173.172388] hm2/hm2_5i25.0:     IO Pin 002 (P3-02): Smart Serial Interface #0, pin RxData2 (Input)
[  173.172393] hm2/hm2_5i25.0:     IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output)
[  173.172399] hm2/hm2_5i25.0:     IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input)
[  173.172404] hm2/hm2_5i25.0:     IO Pin 005 (P3-16): Smart Serial Interface #0, pin TxData0 (Output)
[  173.172409] hm2/hm2_5i25.0:     IO Pin 006 (P3-04): Smart Serial Interface #0, pin RxData0 (Input)
[  173.172415] hm2/hm2_5i25.0:     IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[  173.172420] hm2/hm2_5i25.0:     IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[  173.172425] hm2/hm2_5i25.0:     IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[  173.172430] hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[  173.172435] hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[  173.172440] hm2/hm2_5i25.0:     IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[  173.172445] hm2/hm2_5i25.0:     IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[  173.172450] hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[  173.172455] hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[  173.172460] hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[  173.172465] hm2/hm2_5i25.0:     IO Pin 017 (P2-01): Smart Serial Interface #0, pin TxEn5   (Output)
[  173.172471] hm2/hm2_5i25.0:     IO Pin 018 (P2-14): Smart Serial Interface #0, pin TxData5 (Output)
[  173.172476] hm2/hm2_5i25.0:     IO Pin 019 (P2-02): Smart Serial Interface #0, pin RxData5 (Input)
[  173.172481] hm2/hm2_5i25.0:     IO Pin 020 (P2-15): Smart Serial Interface #0, pin TxData4 (Output)
[  173.172486] hm2/hm2_5i25.0:     IO Pin 021 (P2-03): Smart Serial Interface #0, pin RxData4 (Input)
[  173.172491] hm2/hm2_5i25.0:     IO Pin 022 (P2-16): Smart Serial Interface #0, pin TxData3 (Output)
[  173.172496] hm2/hm2_5i25.0:     IO Pin 023 (P2-04): Smart Serial Interface #0, pin RxData3 (Input)
[  173.172502] hm2/hm2_5i25.0:     IO Pin 024 (P2-17): Muxed Encoder Select #6, pin Mux Select 0 (Output)
[  173.172507] hm2/hm2_5i25.0:     IO Pin 025 (P2-05): Muxed Encoder #3, pin Muxed A (Input)
[  173.172512] hm2/hm2_5i25.0:     IO Pin 026 (P2-06): Muxed Encoder #3, pin Muxed B (Input)
[  173.172517] hm2/hm2_5i25.0:     IO Pin 027 (P2-07): Muxed Encoder #3, pin Muxed Index (Input)
[  173.172522] hm2/hm2_5i25.0:     IO Pin 028 (P2-08): Muxed Encoder #4, pin Muxed A (Input)
[  173.172526] hm2/hm2_5i25.0:     IO Pin 029 (P2-09): Muxed Encoder #4, pin Muxed B (Input)
[  173.172531] hm2/hm2_5i25.0:     IO Pin 030 (P2-10): Muxed Encoder #4, pin Muxed Index (Input)
[  173.172537] hm2/hm2_5i25.0:     IO Pin 031 (P2-11): Muxed Encoder #5, pin Muxed A (Input)
[  173.172542] hm2/hm2_5i25.0:     IO Pin 032 (P2-12): Muxed Encoder #5, pin Muxed B (Input)
[  173.172547] hm2/hm2_5i25.0:     IO Pin 033 (P2-13): Muxed Encoder #5, pin Muxed Index (Input)
[  173.172686] hm2/hm2_5i25.0: registered
[  173.172690] hm2_5i25.0: initialized AnyIO board at 0000:06:00.0
[  173.182117] Unable to find sserial remote corresponding to hm2_5i25.0.7i77.0.1
[  173.214813] hm2_5i25.0: dropping AnyIO board at 0000:06:00.0
[  173.214825] hm2/hm2_5i25.0: unregistered
[  173.214868] hm2_pci 0000:06:00.0: PCI INT A disabled
[  173.214908] hm2_pci: driver unloaded
[  173.220790] hm2: unloading
[  173.383752] RTAI[math]: unloaded.
[  173.453284] SCHED releases registered named ALIEN RTGLBH
[  173.484323] RTAI[malloc]: unloaded.
[  173.584024] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[  173.588673] I-pipe: Domain RTAI unregistered.
[  173.588786] RTAI[hal]: unmounted.
[  766.556506] I-pipe: Domain RTAI registered.
[  766.556521] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[  766.556525] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[  766.556631] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[  766.556635] PIPELINE layers:
[  766.556640] f9195e20 9ac15d93 RTAI 200
[  766.556644] c085cb20 0 Linux 100
[  766.588483] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  766.588740] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[  766.588748] RTAI[sched]: hard timer type/freq = APIC/12499398(Hz); default timing: periodic; linear timed lists.
[  766.588754] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1649957000 hz.
[  766.588758] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[  766.588874] RTAI[usi]: enabled.
[  766.706753] RTAI[math]: loaded.
[  766.752376] hm2: loading Mesa HostMot2 driver version 0.15
[  766.757597] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[  766.757694] hm2_pci 0000:06:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[  766.757701] hm2_pci: discovered 5i25 at 0000:06:00.0
[  766.760682] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[  766.760702] hm2/hm2_5i25.0: num_channels = 6
[  766.760778] hm2/hm2_5i25.0: Chan 0 baudrate = 2500000
[  766.760938] hm2/hm2_5i25.0: Chan 0. Baudrate set to 115200
[  766.761014] hm2/hm2_5i25.0: Chan 1 baudrate = 2500000
[  766.761173] hm2/hm2_5i25.0: Chan 1. Baudrate set to 115200
[  766.761248] hm2/hm2_5i25.0: Chan 2 baudrate = 2500000
[  766.761408] hm2/hm2_5i25.0: Chan 2. Baudrate set to 115200
[  766.761482] hm2/hm2_5i25.0: Chan 3 baudrate = 2500000
[  766.761642] hm2/hm2_5i25.0: Chan 3. Baudrate set to 115200
[  766.761716] hm2/hm2_5i25.0: Chan 4 baudrate = 2500000
[  766.761876] hm2/hm2_5i25.0: Chan 4. Baudrate set to 115200
[  766.761950] hm2/hm2_5i25.0: Chan 5 baudrate = 2500000
[  766.762110] hm2/hm2_5i25.0: Chan 5. Baudrate set to 115200
[  766.816856] Setup mode
[  766.816859] found a 7I77
[  766.816867] Setup mode
[  766.816900] Looking for 8i20s, crc_addr = 192
[  766.871645] found a     
[  766.871653] Setup mode
[  766.871685] Looking for 8i20s, crc_addr = 242
[  766.926454] found a     
[  766.926462] Setup mode
[  766.926494] Looking for 8i20s, crc_addr = 292
[  766.981262] found a     
[  766.981270] Setup mode
[  766.981302] Looking for 8i20s, crc_addr = 342
[  767.036060] found a     
[  767.036069] Setup mode
[  767.036100] Looking for 8i20s, crc_addr = 392
[  767.090865] found a     
[  767.094767] hm2/hm2_5i25.0: Setup mode, creating no pins for smart-serial channel hm2_5i25.0.7i77.0.0
[  767.113803] hm2/hm2_5i25.0: 34 I/O Pins used:
[  767.113810] hm2/hm2_5i25.0:     IO Pin 000 (P3-01): Smart Serial Interface #0, pin TxEn2   (Output)
[  767.113817] hm2/hm2_5i25.0:     IO Pin 001 (P3-14): Smart Serial Interface #0, pin TxData2 (Output)
[  767.113822] hm2/hm2_5i25.0:     IO Pin 002 (P3-02): Smart Serial Interface #0, pin RxData2 (Input)
[  767.113828] hm2/hm2_5i25.0:     IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output)
[  767.113833] hm2/hm2_5i25.0:     IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input)
[  767.113839] hm2/hm2_5i25.0:     IO Pin 005 (P3-16): Smart Serial Interface #0, pin TxData0 (Output)
[  767.113844] hm2/hm2_5i25.0:     IO Pin 006 (P3-04): Smart Serial Interface #0, pin RxData0 (Input)
[  767.113850] hm2/hm2_5i25.0:     IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[  767.113855] hm2/hm2_5i25.0:     IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[  767.113860] hm2/hm2_5i25.0:     IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[  767.113865] hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[  767.113870] hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[  767.113875] hm2/hm2_5i25.0:     IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[  767.113880] hm2/hm2_5i25.0:     IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[  767.113885] hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[  767.113890] hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[  767.113895] hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[  767.113900] hm2/hm2_5i25.0:     IO Pin 017 (P2-01): Smart Serial Interface #0, pin TxEn5   (Output)
[  767.113906] hm2/hm2_5i25.0:     IO Pin 018 (P2-14): Smart Serial Interface #0, pin TxData5 (Output)
[  767.113911] hm2/hm2_5i25.0:     IO Pin 019 (P2-02): Smart Serial Interface #0, pin RxData5 (Input)
[  767.113916] hm2/hm2_5i25.0:     IO Pin 020 (P2-15): Smart Serial Interface #0, pin TxData4 (Output)
[  767.113921] hm2/hm2_5i25.0:     IO Pin 021 (P2-03): Smart Serial Interface #0, pin RxData4 (Input)
[  767.113926] hm2/hm2_5i25.0:     IO Pin 022 (P2-16): Smart Serial Interface #0, pin TxData3 (Output)
[  767.113931] hm2/hm2_5i25.0:     IO Pin 023 (P2-04): Smart Serial Interface #0, pin RxData3 (Input)
[  767.113937] hm2/hm2_5i25.0:     IO Pin 024 (P2-17): Muxed Encoder Select #6, pin Mux Select 0 (Output)
[  767.113942] hm2/hm2_5i25.0:     IO Pin 025 (P2-05): Muxed Encoder #3, pin Muxed A (Input)
[  767.113947] hm2/hm2_5i25.0:     IO Pin 026 (P2-06): Muxed Encoder #3, pin Muxed B (Input)
[  767.113952] hm2/hm2_5i25.0:     IO Pin 027 (P2-07): Muxed Encoder #3, pin Muxed Index (Input)
[  767.113957] hm2/hm2_5i25.0:     IO Pin 028 (P2-08): Muxed Encoder #4, pin Muxed A (Input)
[  767.113962] hm2/hm2_5i25.0:     IO Pin 029 (P2-09): Muxed Encoder #4, pin Muxed B (Input)
[  767.113967] hm2/hm2_5i25.0:     IO Pin 030 (P2-10): Muxed Encoder #4, pin Muxed Index (Input)
[  767.113971] hm2/hm2_5i25.0:     IO Pin 031 (P2-11): Muxed Encoder #5, pin Muxed A (Input)
[  767.113976] hm2/hm2_5i25.0:     IO Pin 032 (P2-12): Muxed Encoder #5, pin Muxed B (Input)
[  767.113981] hm2/hm2_5i25.0:     IO Pin 033 (P2-13): Muxed Encoder #5, pin Muxed Index (Input)
[  767.114124] hm2/hm2_5i25.0: registered
[  767.114129] hm2_5i25.0: initialized AnyIO board at 0000:06:00.0
[  767.123612] flash command
[  767.123640]  hm2_5i25.0: firmware: requesting hm2/sserial/7I77DR14.BIN
[  767.126447] Firmware size 0x5000
[  767.133131] setup start: data_reg readback = 0
[  767.134570] hm2/hm2_5i25.0: Write Size = 100, Erase Size = 800
[  767.134944] hm2/hm2_5i25.0: Skipped Block 1
[  767.134951] hm2/hm2_5i25.0: Skipped Block 2
[  767.134958] hm2/hm2_5i25.0: Skipped Block 3
[  767.159993] hm2/hm2_5i25.0: Erased block 4
[  767.479841] hm2/hm2_5i25.0: Wrote block 4
[  767.504886] hm2/hm2_5i25.0: Erased block 5
[  767.824649] hm2/hm2_5i25.0: Wrote block 5
[  767.849683] hm2/hm2_5i25.0: Erased block 6
[  768.169502] hm2/hm2_5i25.0: Wrote block 6
[  768.194535] hm2/hm2_5i25.0: Erased block 7
[  768.514232] hm2/hm2_5i25.0: Wrote block 7
[  768.539263] hm2/hm2_5i25.0: Erased block 8
[  768.859109] hm2/hm2_5i25.0: Wrote block 8
[  768.884157] hm2/hm2_5i25.0: Erased block 9
[  769.203972] hm2/hm2_5i25.0: Wrote block 9
[  769.203980] Firmware Flash Success
[  769.226099] hm2_5i25.0: dropping AnyIO board at 0000:06:00.0
[  769.226110] hm2/hm2_5i25.0: unregistered
[  769.226155] hm2_pci 0000:06:00.0: PCI INT A disabled
[  769.226195] hm2_pci: driver unloaded
[  769.232172] hm2: unloading
[  769.366562] RTAI[math]: unloaded.
[  769.452972] SCHED releases registered named ALIEN RTGLBH
[  769.484324] RTAI[malloc]: unloaded.
[  769.584025] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[  769.588630] I-pipe: Domain RTAI unregistered.
[  769.588742] RTAI[hal]: unmounted.
[  769.706922] I-pipe: Domain RTAI registered.
[  769.706938] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[  769.706942] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[  769.707049] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[  769.707053] PIPELINE layers:
[  769.707058] f958fe20 9ac15d93 RTAI 200
[  769.707062] c085cb20 0 Linux 100
[  769.738769] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  769.739033] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[  769.739041] RTAI[sched]: hard timer type/freq = APIC/12499398(Hz); default timing: periodic; linear timed lists.
[  769.739047] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1649957000 hz.
[  769.739052] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[  769.739166] RTAI[usi]: enabled.
[  769.857163] RTAI[math]: loaded.
[  769.902462] hm2: loading Mesa HostMot2 driver version 0.15
[  769.908156] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[  769.908255] hm2_pci 0000:06:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[  769.908261] hm2_pci: discovered 5i25 at 0000:06:00.0
[  769.911200] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[  769.911219] hm2/hm2_5i25.0: num_channels = 6
[  769.911295] hm2/hm2_5i25.0: Chan 0 baudrate = 2500000
[  769.911457] hm2/hm2_5i25.0: Chan 0. Baudrate set to 115200
[  769.911532] hm2/hm2_5i25.0: Chan 1 baudrate = 2500000
[  769.911693] hm2/hm2_5i25.0: Chan 1. Baudrate set to 115200
[  769.911768] hm2/hm2_5i25.0: Chan 2 baudrate = 2500000
[  769.911928] hm2/hm2_5i25.0: Chan 2. Baudrate set to 115200
[  769.912084] hm2/hm2_5i25.0: Chan 3 baudrate = 2500000
[  769.912244] hm2/hm2_5i25.0: Chan 3. Baudrate set to 115200
[  769.912319] hm2/hm2_5i25.0: Chan 4 baudrate = 2500000
[  769.912479] hm2/hm2_5i25.0: Chan 4. Baudrate set to 115200
[  769.912554] hm2/hm2_5i25.0: Chan 5 baudrate = 2500000
[  769.912714] hm2/hm2_5i25.0: Chan 5. Baudrate set to 115200
[  769.967274] Setup mode
[  769.967277] found a 7I77
[  769.967286] Setup mode
[  769.967318] Looking for 8i20s, crc_addr = 192
[  770.022074] found a     
[  770.022082] Setup mode
[  770.022113] Looking for 8i20s, crc_addr = 242
[  770.076877] found a     
[  770.076885] Setup mode
[  770.076918] Looking for 8i20s, crc_addr = 292
[  770.131674] found a     
[  770.131682] Setup mode
[  770.131714] Looking for 8i20s, crc_addr = 342
[  770.186479] found a     
[  770.186487] Setup mode
[  770.186519] Looking for 8i20s, crc_addr = 392
[  770.241279] found a     
[  770.245122] hm2/hm2_5i25.0: Setup mode, creating no pins for smart-serial channel hm2_5i25.0.7i77.0.0
[  770.264042] hm2/hm2_5i25.0: 34 I/O Pins used:
[  770.264050] hm2/hm2_5i25.0:     IO Pin 000 (P3-01): Smart Serial Interface #0, pin TxEn2   (Output)
[  770.264056] hm2/hm2_5i25.0:     IO Pin 001 (P3-14): Smart Serial Interface #0, pin TxData2 (Output)
[  770.264062] hm2/hm2_5i25.0:     IO Pin 002 (P3-02): Smart Serial Interface #0, pin RxData2 (Input)
[  770.264068] hm2/hm2_5i25.0:     IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output)
[  770.264073] hm2/hm2_5i25.0:     IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input)
[  770.264079] hm2/hm2_5i25.0:     IO Pin 005 (P3-16): Smart Serial Interface #0, pin TxData0 (Output)
[  770.264084] hm2/hm2_5i25.0:     IO Pin 006 (P3-04): Smart Serial Interface #0, pin RxData0 (Input)
[  770.264090] hm2/hm2_5i25.0:     IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[  770.264095] hm2/hm2_5i25.0:     IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
[  770.264100] hm2/hm2_5i25.0:     IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
[  770.264106] hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
[  770.264111] hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
[  770.264116] hm2/hm2_5i25.0:     IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
[  770.264121] hm2/hm2_5i25.0:     IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
[  770.264126] hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
[  770.264131] hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
[  770.264136] hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
[  770.264142] hm2/hm2_5i25.0:     IO Pin 017 (P2-01): Smart Serial Interface #0, pin TxEn5   (Output)
[  770.264147] hm2/hm2_5i25.0:     IO Pin 018 (P2-14): Smart Serial Interface #0, pin TxData5 (Output)
[  770.264152] hm2/hm2_5i25.0:     IO Pin 019 (P2-02): Smart Serial Interface #0, pin RxData5 (Input)
[  770.264158] hm2/hm2_5i25.0:     IO Pin 020 (P2-15): Smart Serial Interface #0, pin TxData4 (Output)
[  770.264163] hm2/hm2_5i25.0:     IO Pin 021 (P2-03): Smart Serial Interface #0, pin RxData4 (Input)
[  770.264168] hm2/hm2_5i25.0:     IO Pin 022 (P2-16): Smart Serial Interface #0, pin TxData3 (Output)
[  770.264173] hm2/hm2_5i25.0:     IO Pin 023 (P2-04): Smart Serial Interface #0, pin RxData3 (Input)
[  770.264179] hm2/hm2_5i25.0:     IO Pin 024 (P2-17): Muxed Encoder Select #6, pin Mux Select 0 (Output)
[  770.264184] hm2/hm2_5i25.0:     IO Pin 025 (P2-05): Muxed Encoder #3, pin Muxed A (Input)
[  770.264189] hm2/hm2_5i25.0:     IO Pin 026 (P2-06): Muxed Encoder #3, pin Muxed B (Input)
[  770.264194] hm2/hm2_5i25.0:     IO Pin 027 (P2-07): Muxed Encoder #3, pin Muxed Index (Input)
[  770.264199] hm2/hm2_5i25.0:     IO Pin 028 (P2-08): Muxed Encoder #4, pin Muxed A (Input)
[  770.264204] hm2/hm2_5i25.0:     IO Pin 029 (P2-09): Muxed Encoder #4, pin Muxed B (Input)
[  770.264209] hm2/hm2_5i25.0:     IO Pin 030 (P2-10): Muxed Encoder #4, pin Muxed Index (Input)
[  770.264214] hm2/hm2_5i25.0:     IO Pin 031 (P2-11): Muxed Encoder #5, pin Muxed A (Input)
[  770.264219] hm2/hm2_5i25.0:     IO Pin 032 (P2-12): Muxed Encoder #5, pin Muxed B (Input)
[  770.264224] hm2/hm2_5i25.0:     IO Pin 033 (P2-13): Muxed Encoder #5, pin Muxed Index (Input)
[  770.264368] hm2/hm2_5i25.0: registered
[  770.264373] hm2_5i25.0: initialized AnyIO board at 0000:06:00.0
[  770.273866] Unable to find sserial remote corresponding to hm2_5i25.0.7i77.0.1
[  770.309666] hm2_5i25.0: dropping AnyIO board at 0000:06:00.0
[  770.309677] hm2/hm2_5i25.0: unregistered
[  770.309711] hm2_pci 0000:06:00.0: PCI INT A disabled
[  770.309750] hm2_pci: driver unloaded
[  770.315521] hm2: unloading
[  770.544681] RTAI[math]: unloaded.
[  770.615702] SCHED releases registered named ALIEN RTGLBH
[  770.644330] RTAI[malloc]: unloaded.
[  770.744022] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[  770.748634] I-pipe: Domain RTAI unregistered.
[  770.748745] RTAI[hal]: unmounted.
digital4@digital4-cnc:~/utils/linuxcnc$

Please Log in or Create an account to join the conversation.

More
17 Jun 2015 04:37 #59894 by PCW
It updated the digital half but failed on the analog I/O section, possibly because the 5V to the analog
section was not power cycled after moving the setup/operate jumper

Please Log in or Create an account to join the conversation.

More
17 Jun 2015 09:37 #59902 by Todd Zuercher
I moved the W12 jumper with the power disconnected.

Should I have moved the jumper with the power on, then disconnected it?

Please Log in or Create an account to join the conversation.

More
17 Jun 2015 10:27 - 18 Jun 2015 03:12 #59903 by PCW
The only thing that matters is that the 7I77 is powered on with the jumpers in the setup position

The part that failed to update was the analog section, this is powered by 5V
(either from the FPGA card or AUX 5V supplied on TB1)

This needs to be powered on with W4 in the setup position to enable updates
Last edit: 18 Jun 2015 03:12 by PCW.

Please Log in or Create an account to join the conversation.

More
17 Jun 2015 19:06 #59910 by Todd Zuercher
For some reason I missed that I needed to move both W12 and W4. That fixed it, thanks.

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.138 seconds
Powered by Kunena Forum