5i25 and 7i77 Do I need to reflash?

More
8 years 1 month ago #117225 by cncnoob1979
Hey guys! I started my machine after a long hiatus and for the life of me I can figure out what I was messing with when I last shut it down.

But I think i have a firmware issue. I am not getting a blinking light on the 7i77 and field power and 5v seems to be there.

sudo mesaflash --device 5i25 --readhmid >pinout.txt
Code:
Configuration Name: HOSTMOT2 General configuration information: BoardName : MESA5I25 FPGA Size: 9 KGates FPGA Pins: 144 Number of IO Ports: 2 Width of one I/O port: 17 Clock Low frequency: 33.3333 MHz Clock High frequency: 200.0000 MHz IDROM Type: 3 Instance Stride 0: 4 Instance Stride 1: 64 Register Stride 0: 256 Register Stride 1: 256 Modules in configuration: Module: WatchDog There are 1 of WatchDog in configuration Version: 0 Registers: 3 BaseAddress: 0C00 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: IOPort There are 2 of IOPort in configuration Version: 0 Registers: 5 BaseAddress: 1000 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: MuxedQCount There are 12 of MuxedQCount in configuration Version: 3 Registers: 5 BaseAddress: 3600 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: MuxedQCountSel There are 1 of MuxedQCountSel in configuration Version: 0 Registers: 0 BaseAddress: 0000 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: SSerial There are 1 of SSerial in configuration Version: 0 Registers: 6 BaseAddress: 5B00 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 64 bytes Module: LED There are 1 of LED in configuration Version: 0 Registers: 1 BaseAddress: 0200 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Configuration pin-out: IO Connections for P3 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 0 IOPort SSerial 0 TXEn3 (Out) 14 1 IOPort SSerial 0 TXData3 (Out) 2 2 IOPort SSerial 0 RXData3 (In) 15 3 IOPort SSerial 0 TXData2 (Out) 3 4 IOPort SSerial 0 RXData2 (In) 16 5 IOPort SSerial 0 TXData1 (Out) 4 6 IOPort SSerial 0 RXData1 (In) 17 7 IOPort MuxedQCountSel 0 MuxSel0 (Out) 5 8 IOPort MuxedQCount 0 MuxQ-A (In) 6 9 IOPort MuxedQCount 0 MuxQ-B (In) 7 10 IOPort MuxedQCount 0 MuxQ-IDX (In) 8 11 IOPort MuxedQCount 1 MuxQ-A (In) 9 12 IOPort MuxedQCount 1 MuxQ-B (In) 10 13 IOPort MuxedQCount 1 MuxQ-IDX (In) 11 14 IOPort MuxedQCount 2 MuxQ-A (In) 12 15 IOPort MuxedQCount 2 MuxQ-B (In) 13 16 IOPort MuxedQCount 2 MuxQ-IDX (In) IO Connections for P2 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 17 IOPort SSerial 0 TXEn6 (Out) 14 18 IOPort SSerial 0 TXData6 (Out) 2 19 IOPort SSerial 0 RXData6 (In) 15 20 IOPort SSerial 0 TXData5 (Out) 3 21 IOPort SSerial 0 RXData5 (In) 16 22 IOPort SSerial 0 TXData4 (Out) 4 23 IOPort SSerial 0 RXData4 (In) 17 24 IOPort MuxedQCountSel 6 MuxSel0 (Out) 5 25 IOPort MuxedQCount 3 MuxQ-A (In) 6 26 IOPort MuxedQCount 3 MuxQ-B (In) 7 27 IOPort MuxedQCount 3 MuxQ-IDX (In) 8 28 IOPort MuxedQCount 4 MuxQ-A (In) 9 29 IOPort MuxedQCount 4 MuxQ-B (In) 10 30 IOPort MuxedQCount 4 MuxQ-IDX (In) 11 31 IOPort MuxedQCount 5 MuxQ-A (In) 12 32 IOPort MuxedQCount 5 MuxQ-B (In) 13 33 IOPort MuxedQCount 5 MuxQ-IDX (In)

The culprit is the
Code:
hm2_5i25.0: initialized AnyIO board at 0000:04:01.0 ./bridgeport.hal:106: Pin 'hm2_5i25.0.7i77.0.0.output-00' does not exist

So I assume while I was messing with PP2 I must have gotten flashed while I thought I was being careful...

any help greatly appreciated...
Code:
bridgeport@bridgeport-H81M-S2PH ~ $ linuxcnc LINUXCNC - 2.8.0~pre1 pickconfig: installed aux examples: /usr/share/linuxcnc/aux_examples/NativeCAM Machine configuration directory is '/home/bridgeport/linuxcnc/configs/axis_test' Machine configuration file is 'bridgeport.ini' Starting LinuxCNC... Found file(REL): ./bridgeport.hal Note: Using POSIX realtime hm2: loading Mesa HostMot2 driver version 0.15 hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 hm2_pci: discovered 5i25 at 0000:04:01.0 hm2/hm2_5i25.0: Smart Serial Firmware Version 43 Board hm2_5i25.0.7i77.0.1 Hardware Mode 0 = standard Board hm2_5i25.0.7i77.0.1 Software Mode 0 = analogout_enables hm2/hm2_5i25.0: 34 I/O Pins used: hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort hm2/hm2_5i25.0: IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output) hm2/hm2_5i25.0: IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input) hm2/hm2_5i25.0: IO Pin 005 (P3-16): IOPort hm2/hm2_5i25.0: IO Pin 006 (P3-04): IOPort hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output) hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input) hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input) hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input) hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input) hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input) hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input) hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input) hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input) hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input) hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort hm2/hm2_5i25.0: registered hm2_5i25.0: initialized AnyIO board at 0000:04:01.0 ./bridgeport.hal:106: Pin 'hm2_5i25.0.7i77.0.0.output-00' does not exist Shutting down and cleaning up LinuxCNC... Running HAL shutdown script hm2_5i25.0: dropping AnyIO board at 0000:04:01.0 hm2/hm2_5i25.0: unregistered RTAPI_PCI: Unmapped 65536 bytes at 0xb6784000 hm2_pci: driver unloaded hm2: unloading Note: Using POSIX realtime LinuxCNC terminated with an error. You can find more information in the log: /home/bridgeport/linuxcnc_debug.txt and /home/bridgeport/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal

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

More
8 years 1 month ago #117229 by PCW
Does look like a issue with the isolated I/O section sine the analog section is found but not the digital so no or low field power, VIN jumper in wrong position setup jumper in wrong position etc, etc

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

More
8 years 1 month ago #117230 by cncnoob1979
Thanks PCW!

I traced it down to a faulty wiring. I'll keep a look out for this next time, until then, thanks sir!

NO Field or 5v, the wiring was in my transformer.

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

More
8 years 1 month ago #117232 by cncnoob1979
I thought I was out of the woods, but ....

Cr15 is Flashing Green and I am having following errors, so I can not home.
I really wish I remember what I was doing last year with this mill.

I really don't want to brick myself If I can help it. (if I haven't already)

Code:
Configuration Name: HOSTMOT2 General configuration information: BoardName : MESA5I25 FPGA Size: 9 KGates FPGA Pins: 144 Number of IO Ports: 2 Width of one I/O port: 17 Clock Low frequency: 33.3333 MHz Clock High frequency: 200.0000 MHz IDROM Type: 3 Instance Stride 0: 4 Instance Stride 1: 64 Register Stride 0: 256 Register Stride 1: 256 Modules in configuration: Module: WatchDog There are 1 of WatchDog in configuration Version: 0 Registers: 3 BaseAddress: 0C00 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: IOPort There are 2 of IOPort in configuration Version: 0 Registers: 5 BaseAddress: 1000 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: MuxedQCount There are 12 of MuxedQCount in configuration Version: 3 Registers: 5 BaseAddress: 3600 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: MuxedQCountSel There are 1 of MuxedQCountSel in configuration Version: 0 Registers: 0 BaseAddress: 0000 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: SSerial There are 1 of SSerial in configuration Version: 0 Registers: 6 BaseAddress: 5B00 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 64 bytes Module: LED There are 1 of LED in configuration Version: 0 Registers: 1 BaseAddress: 0200 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Configuration pin-out: IO Connections for P3 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 0 IOPort SSerial 0 TXEn3 (Out) 14 1 IOPort SSerial 0 TXData3 (Out) 2 2 IOPort SSerial 0 RXData3 (In) 15 3 IOPort SSerial 0 TXData2 (Out) 3 4 IOPort SSerial 0 RXData2 (In) 16 5 IOPort SSerial 0 TXData1 (Out) 4 6 IOPort SSerial 0 RXData1 (In) 17 7 IOPort MuxedQCountSel 0 MuxSel0 (Out) 5 8 IOPort MuxedQCount 0 MuxQ-A (In) 6 9 IOPort MuxedQCount 0 MuxQ-B (In) 7 10 IOPort MuxedQCount 0 MuxQ-IDX (In) 8 11 IOPort MuxedQCount 1 MuxQ-A (In) 9 12 IOPort MuxedQCount 1 MuxQ-B (In) 10 13 IOPort MuxedQCount 1 MuxQ-IDX (In) 11 14 IOPort MuxedQCount 2 MuxQ-A (In) 12 15 IOPort MuxedQCount 2 MuxQ-B (In) 13 16 IOPort MuxedQCount 2 MuxQ-IDX (In) IO Connections for P2 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 17 IOPort SSerial 0 TXEn6 (Out) 14 18 IOPort SSerial 0 TXData6 (Out) 2 19 IOPort SSerial 0 RXData6 (In) 15 20 IOPort SSerial 0 TXData5 (Out) 3 21 IOPort SSerial 0 RXData5 (In) 16 22 IOPort SSerial 0 TXData4 (Out) 4 23 IOPort SSerial 0 RXData4 (In) 17 24 IOPort MuxedQCountSel 6 MuxSel0 (Out) 5 25 IOPort MuxedQCount 3 MuxQ-A (In) 6 26 IOPort MuxedQCount 3 MuxQ-B (In) 7 27 IOPort MuxedQCount 3 MuxQ-IDX (In) 8 28 IOPort MuxedQCount 4 MuxQ-A (In) 9 29 IOPort MuxedQCount 4 MuxQ-B (In) 10 30 IOPort MuxedQCount 4 MuxQ-IDX (In) 11 31 IOPort MuxedQCount 5 MuxQ-A (In) 12 32 IOPort MuxedQCount 5 MuxQ-B (In) 13 33 IOPort MuxedQCount 5 MuxQ-IDX (In)
Code:
bridgeport@bridgeport-H81M-S2PH ~ $ linuxcnc LINUXCNC - 2.8.0~pre1 pickconfig: installed aux examples: /usr/share/linuxcnc/aux_examples/NativeCAM Machine configuration directory is '/home/bridgeport/linuxcnc/configs/axis_test' Machine configuration file is 'bridgeport.ini' Starting LinuxCNC... Found file(REL): ./bridgeport.hal Note: Using POSIX realtime hm2: loading Mesa HostMot2 driver version 0.15 hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 hm2_pci: discovered 5i25 at 0000:04:01.0 hm2/hm2_5i25.0: Smart Serial Firmware Version 43 Board hm2_5i25.0.7i77.0.0 Hardware Mode 0 = standard Board hm2_5i25.0.7i77.0.0 Software Mode 0 = input_output Board hm2_5i25.0.7i77.0.0 Software Mode 1 = io_analog Board hm2_5i25.0.7i77.0.0 Software Mode 2 = io_analog_fieldvoltage Board hm2_5i25.0.7i77.0.0 Software Mode 3 = io_encoder_analog_fieldvoltage Board hm2_5i25.0.7i77.0.1 Hardware Mode 0 = standard Board hm2_5i25.0.7i77.0.1 Software Mode 0 = analogout_enables hm2/hm2_5i25.0: 34 I/O Pins used: hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort hm2/hm2_5i25.0: IO Pin 001 (P3-14): IOPort hm2/hm2_5i25.0: IO Pin 002 (P3-02): IOPort hm2/hm2_5i25.0: IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output) hm2/hm2_5i25.0: IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input) hm2/hm2_5i25.0: IO Pin 005 (P3-16): Smart Serial Interface #0, pin TxData0 (Output) hm2/hm2_5i25.0: IO Pin 006 (P3-04): Smart Serial Interface #0, pin RxData0 (Input) hm2/hm2_5i25.0: IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output) hm2/hm2_5i25.0: IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input) hm2/hm2_5i25.0: IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input) hm2/hm2_5i25.0: IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input) hm2/hm2_5i25.0: IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input) hm2/hm2_5i25.0: IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input) hm2/hm2_5i25.0: IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input) hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input) hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input) hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input) hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort hm2/hm2_5i25.0: registered hm2_5i25.0: initialized AnyIO board at 0000:04:01.0 Found file(REL): ./custom.hal note: MAXV max: 2.000 units/sec 120.000 units/min note: LJOG max: 2.000 units/sec 120.000 units/min note: LJOG default: 0.250 units/sec 15.000 units/min note: jog_order='XYZ' note: jog_invert=set([]) gladevcp: auxiliary dir: /usr/share/linuxcnc/aux_gladevcp/NativeCAM gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/pref_edit.py gladevcp: auxiliary dir: /usr/share/linuxcnc/aux_gladevcp/NativeCAM gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/pref_edit.py gladevcp: auxiliary dir: /usr/share/linuxcnc/aux_gladevcp/NativeCAM gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/pref_edit.py gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py NativeCAM info: inifile = /home/bridgeport/linuxcnc/configs/axis_test/bridgeport.ini NCAM_DIR = /home/bridgeport/linuxcnc/configs/axis_test/ncam SYS_DIR = /usr/share/linuxcnc/aux_gladevcp/NativeCAM program = /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py [RS274NGC]SUBROUTINE_PATH = ncam/lib/mill:ncam/lib/utilities:/home/stacie/linuxcnc/configs/bridgeport_axis/macros/ Real paths: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/mill /usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/utilities Using default mill/menu.xml, no mill/menu-custom.xml found /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py:2644: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed mi = _action.create_menu_item() gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py Previous work not saved as current work /usr/bin/gladevcp:187: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated builder.add_from_file(xmlname) **** probe_screen GETINIINFO **** Preference file path: /home/bridgeport/linuxcnc/configs/axis_test/bridgeport.pref /usr/bin/gladevcp:298: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17 gtk.main() joint 2 following error emc/task/taskintf.cc 944: Error on joint 2, command number 212 joint 0 following error emc/task/taskintf.cc 944: Error on joint 0, command number 241 joint 1 following error emc/task/taskintf.cc 944: Error on joint 1, command number 269 joint 1 following error emc/task/taskintf.cc 944: Error on joint 1, command number 360 joint 1 following error emc/task/taskintf.cc 944: Error on joint 1, command number 389 task: main loop took 0.109158 seconds

I confirmed at the 7i77 that I have 5v and 24v field power @ the terminal blocks. I have not moved any jumpers since Ive installed the 5i25 / 7i77 cards.

I have 4 amber LED's on and one flashing green one.

So is this my card(s) or am i looking at something else here?

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

More
8 years 1 month ago #117233 by PCW
Sounds like a tuning/setup issue

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

More
8 years 1 month ago #117234 by cncnoob1979
Well Im not getting anything from halscope from my encoders. Im going through the troubleshooting process now.

Which bit file would I need for my setup? I may try a reflash as well.

the 5i25_7i77x2 if I remember correctly right?

Ill download the manual again to figure out the reflash procedures. Im on 32bit so I shouldn't have to worry about getting corrupted.

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

Moderators: PCW, jmelson
Time to create page: 0.207 seconds
Powered by Kunena Forum