new pnc.config won't load in linuxcnc

More
5 years 3 months ago #215508 by mjones@welfab.ca
I moved w1 to the left hand position. a red led came on and when i try to start the a configuration in linuxcnc, the error changes to
./test6.hal : 87 : pin 'hm2_5i25.0.7i76.0.3.input-01' does not exist
12593

Please Log in to join the conversation.

More
5 years 3 months ago #215510 by PCW
That likely means that either

1. There is a power issue on the 7I76
2. You dont have the right firmware (7I77_7I76) loaded
3. The sserial ports (3 and 4) on the 7I76 connector are not enabled in hal

Please Log in to join the conversation.

More
5 years 3 months ago #215512 by mjones@welfab.ca
On the 7i76e i have 5v to p3 and 24v+ to pin 1 of the orange connector and - to pin 8 like the 7i77. i moved w1 as you suggested for the 7i77 bot didn't change anything on 7i76 there is no red led on the 7i76 the other 2 boards now have the red light.
the firm ware was set to 7i77_7i76. the hal not sure. going through the pnc.config the 7i76 goes to ss3 itself

Please Log in to join the conversation.

More
5 years 3 months ago #215516 by PCW
The 7I76 has no red LED

What does:

sudo mesaflash --device 5i25 --readhmid

report?

Please Log in to join the conversation.

More
5 years 3 months ago #215518 by mjones@welfab.ca
ok i altered a config to use mesa 1 paraport and that makes sense except for it doesn't match how im set up.. I have 5i25 with 7i77 in the p3 port and a 7i76e in the p2 port and the 7i64 attached to the 7i77.
If the pnc.config is wanting my to put the 7i77 on mesa card 0 as it seems to want, and the 7i76 on mesa card 2 both with there own firmwares then i don't have the firmware that i need. i would need for mesa card 0 firmware for 7i77-7i64, and in mesa card 1 i would need firmware for just 7i76e. am i correct in thinking this. up to know i have been trying to do it with just mesa card 0 and 7i77-7i76 firmware and putting 7i64 on channel 2 on i/o connector 3, but im unable to connect to the 7i76. the 7i64 and 7i77 seems to connect if i use a simple enough config to not get an error. Any insite to the path to take here would help.

Please Log in to join the conversation.

More
5 years 3 months ago #215519 by PCW
Setting up a parallel port is unrelated to your issue.

To check that you have correct firmware installed, what is the result of the command:

sudo mesaflash --device 5i25 --readhmid

Please Log in to join the conversation.

More
5 years 3 months ago #215524 by mjones@welfab.ca
this is what it spit out.?
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 TXEn2 (Out)
14 1 IOPort SSerial 0 TXData2 (Out)
2 2 IOPort SSerial 0 RXData2 (In)
15 3 IOPort SSerial 0 TXData1 (Out)
3 4 IOPort SSerial 0 RXData1 (In)
16 5 IOPort SSerial 0 TXData0 (Out)
4 6 IOPort SSerial 0 RXData0 (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 TXEn5 (Out)
14 18 IOPort SSerial 0 TXData5 (Out)
2 19 IOPort SSerial 0 RXData5 (In)
15 20 IOPort SSerial 0 TXData4 (Out)
3 21 IOPort SSerial 0 RXData4 (In)
16 22 IOPort SSerial 0 TXData3 (Out)
4 23 IOPort SSerial 0 RXData3 (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)

hard@hard:~$ ^C

Please Log in to join the conversation.

More
5 years 3 months ago #215526 by PCW
OK that's a 7I77x2 configuration, not a 7I77_7I76 configuration

To install the correct firmware, you would:

1. fetch 5i25.zip from mesa
2. unzip 5i25.zip in you home directory
3. cd to ~/configs/hostmot2/
4. issue this command:

sudo mesaflash --device 5i25 --write 5i25_7i77_7i76.bit --reload

Please Log in to join the conversation.

More
5 years 3 months ago #215582 by mjones@welfab.ca
Ok, I reflashed the 5i25 (its acturally a 6i25 but everyone says they are same thing)
I still get the same error so I have to assume I have the 7i76 connected wrong. on the 5i25 card i have another db25 plugged in through the 26 pin connector p2. should i have used the eithernet serial and plugged the 76 to the 77 then the 64 to the 76 like a daisy chain. when i do pnc.config. i only mesa card 0 not mesa card 1 that i assume is for the p2 connector.

Please Log in to join the conversation.

More
5 years 3 months ago #215584 by PCW
The 7I76 should connect to P2

You may still have a power issue or the 7I76 sserial ports may
not be enabled in the hal file

Can you copy/paste the line at the beginning of the hal file that starts with
"loadrt hm2_pci" to the forum?

Please Log in to join the conversation.

Time to create page: 0.127 seconds
Powered by Kunena Forum