new pnc.config won't load in linuxcnc

More
22 Jul 2021 14:40 #215585 by mjones@welfab.ca
the two yellow leds for power are on.
Here is the requested line.

loadrt hm2_pci config=" num_encoders=5 num_pwmgens=0 num_stepgens=0 sserial_port_0=00000x"

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

More
22 Jul 2021 14:45 #215586 by mjones@welfab.ca
here are screenshots of how i am setting up in pnc.config

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

More
22 Jul 2021 14:50 #215587 by PCW
OK that looks ok (other than that all the 7I76 stepgens are disabled)

Did you verify the firmware with

sudo mesaflash --device 5i25 --readhmid

?

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

More
22 Jul 2021 14:57 #215588 by mjones@welfab.ca
no i didn't but just did. this is what it sent back.
hard@hard:~$ sudo mesaflash --device 5i25 --readhmid
[sudo] password for hard:
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 8 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: StepGen
There are 5 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 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 StepGen 0 Dir/Table2 (Out)
14 18 IOPort StepGen 0 Step/Table1 (Out)
2 19 IOPort StepGen 1 Dir/Table2 (Out)
15 20 IOPort StepGen 1 Step/Table1 (Out)
3 21 IOPort StepGen 2 Dir/Table2 (Out)
16 22 IOPort StepGen 2 Step/Table1 (Out)
4 23 IOPort StepGen 3 Dir/Table2 (Out)
17 24 IOPort StepGen 3 Step/Table1 (Out)
5 25 IOPort StepGen 4 Dir/Table2 (Out)
6 26 IOPort StepGen 4 Step/Table1 (Out)
7 27 IOPort SSerial 0 TXData3 (Out)
8 28 IOPort SSerial 0 RXData3 (In)
9 29 IOPort SSerial 0 TXData4 (Out)
10 30 IOPort SSerial 0 RXData4 (In)
11 31 IOPort MuxedQCount 3 MuxQ-IDX (In)
12 32 IOPort MuxedQCount 3 MuxQ-B (In)
13 33 IOPort MuxedQCount 3 MuxQ-A (In)

hard@hard:~$ ^C
hard@hard:~$

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

More
22 Jul 2021 15:07 #215590 by PCW
OK, the firmware looks correct

Is the 7I76 5V power coming from the 6I25 or externally supplied to the 7I76?

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

More
22 Jul 2021 15:15 #215592 by mjones@welfab.ca
the 7i76 is externally powered

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

More
22 Jul 2021 15:18 #215593 by PCW
OK so is the 6I25 W1 in the down position?

Also what are the 7I76 jumper positions?

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

More
22 Jul 2021 15:36 - 22 Jul 2021 15:37 #215596 by mjones@welfab.ca
w1=left
w2=down
w3=down
w4=up
w5=up
w6=up
w7=down
w8=left
w9=up
w10=left
w11=left
w12=down
w13=left
also 6i25 w1 is down
Last edit: 22 Jul 2021 15:37 by mjones@welfab.ca.

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

More
22 Jul 2021 15:55 #215598 by PCW
No sure I understand, the 7I76 only has 6 jumpers
and they are all right/left orientation

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

More
22 Jul 2021 15:58 #215599 by mjones@welfab.ca
its a 7i76E im sure i put that at the beggining

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

Moderators: cmorley
Time to create page: 0.133 seconds
Powered by Kunena Forum