Ohmic3 hal file errors
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2397
- Thank you received: 786
31 Mar 2021 19:29 #204274
by snowgoer540
Replied by snowgoer540 on topic Ohmic3 hal file errors
I would use halmeter or halshow to look at the ohmic pins/encoder velocity to see what things are or are not working as intended.
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
31 Mar 2021 19:31 #204276
by bevins
Replied by bevins on topic Ohmic3 hal file errors
What is the recommended way to test the ohmic probe?
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
31 Mar 2021 19:51 #204278
by bevins
Replied by bevins on topic Ohmic3 hal file errors
I did, the only thinkg I was getting is ohmicsense is probing.
Nothing on encoder.01.velocity stays at 0
Nothing on encoder.01.velocity stays at 0
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2397
- Thank you received: 786
31 Mar 2021 19:54 #204280
by snowgoer540
That means it’s not even seeing the thcad. At 0v the thcad should output whatever the frequency is in the back of the board, divided by your f divider jumper setting
Have you flashed your Mesa card with the plasma .bit file?
Replied by snowgoer540 on topic Ohmic3 hal file errors
I did, the only thinkg I was getting is ohmicsense is probing.
Nothing on encoder.01.velocity stays at 0
That means it’s not even seeing the thcad. At 0v the thcad should output whatever the frequency is in the back of the board, divided by your f divider jumper setting
Have you flashed your Mesa card with the plasma .bit file?
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
31 Mar 2021 19:57 - 31 Mar 2021 20:06 #204282
by bevins
Yes I did. but there is no way to check it other than the 2nd encoder showing up.
I'll check the connections again.
So I checked and checked again and it is wired correctly
7i76:
pin6 5v
pin9 gnd
pin10 F0+
pin11 F0-
Replied by bevins on topic Ohmic3 hal file errors
I did, the only thinkg I was getting is ohmicsense is probing.
Nothing on encoder.01.velocity stays at 0
That means it’s not even seeing the thcad. At 0v the thcad should output whatever the frequency is in the back of the board, divided by your f divider jumper setting
Have you flashed your Mesa card with the plasma .bit file?
Yes I did. but there is no way to check it other than the 2nd encoder showing up.
I'll check the connections again.
So I checked and checked again and it is wired correctly
7i76:
pin6 5v
pin9 gnd
pin10 F0+
pin11 F0-
Last edit: 31 Mar 2021 20:06 by bevins.
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2397
- Thank you received: 786
31 Mar 2021 20:03 #204284
by snowgoer540
Replied by snowgoer540 on topic Ohmic3 hal file errors
Sure there is. In the Mesa flash manual it shows a way to list all the I/o. You should have 3 ENCA’s if it was successful
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
31 Mar 2021 20:13 - 31 Mar 2021 20:17 #204286
by bevins
Yeah, I know how to read from the board, but processing it is another story
This is whats inside 7i92:
The Quad-A's your talking about?
I used 7i92_7i76x1dpl.bin
Replied by bevins on topic Ohmic3 hal file errors
Sure there is. In the Mesa flash manual it shows a way to list all the I/o. You should have 3 ENCA’s if it was successful
Yeah, I know how to read from the board, but processing it is another story
This is whats inside 7i92:
Warning: Spoiler!
Configuration Name: HOSTMOT2
General configuration information:
BoardName : MESA7I92
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 2
Width of one I/O port: 17
Clock Low frequency: 100.0000 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: DPLL
There are 1 of DPLL in configuration
Version: 0
Registers: 7
BaseAddress: 7000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: WatchDog
There are 1 of WatchDog in configuration
Version: 0
Registers: 3
BaseAddress: 0C00
ClockFrequency: 100.000 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: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: QCount
There are 3 of QCount in configuration
Version: 2
Registers: 5
BaseAddress: 3000
ClockFrequency: 100.000 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: 100.000 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: 100.000 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: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Configuration pin-out:
IO Connections for P2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 0 IOPort StepGen 0 Dir/Table2 (Out)
14 1 IOPort StepGen 0 Step/Table1 (Out)
2 2 IOPort StepGen 1 Dir/Table2 (Out)
15 3 IOPort StepGen 1 Step/Table1 (Out)
3 4 IOPort StepGen 2 Dir/Table2 (Out)
16 5 IOPort StepGen 2 Step/Table1 (Out)
4 6 IOPort StepGen 3 Dir/Table2 (Out)
17 7 IOPort StepGen 3 Step/Table1 (Out)
5 8 IOPort StepGen 4 Dir/Table2 (Out)
6 9 IOPort StepGen 4 Step/Table1 (Out)
7 10 IOPort SSerial 0 TXData0 (Out)
8 11 IOPort SSerial 0 RXData0 (In)
9 12 IOPort SSerial 0 TXData1 (Out)
10 13 IOPort SSerial 0 RXData1 (In)
11 14 IOPort QCount 2 Quad-A (In)
12 15 IOPort QCount 1 Quad-A (In)
13 16 IOPort QCount 0 Quad-A (In)
IO Connections for P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 17 IOPort None
14 18 IOPort None
2 19 IOPort None
15 20 IOPort None
3 21 IOPort None
16 22 IOPort None
4 23 IOPort None
17 24 IOPort None
5 25 IOPort None
6 26 IOPort None
7 27 IOPort None
8 28 IOPort None
9 29 IOPort None
10 30 IOPort None
11 31 IOPort None
12 32 IOPort None
13 33 IOPort None
The Quad-A's your talking about?
I used 7i92_7i76x1dpl.bin
Last edit: 31 Mar 2021 20:17 by bevins.
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
31 Mar 2021 20:26 #204287
by bevins
Replied by bevins on topic Ohmic3 hal file errors
Is 7i92_7i76x1dpl.bin the correct bin file to use for plasmac with ohmic sensing?
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2397
- Thank you received: 786
31 Mar 2021 20:46 #204290
by snowgoer540
Yep looks right. Must be the wiring ¯\_(ツ)_/¯
Replied by snowgoer540 on topic Ohmic3 hal file errors
Sure there is. In the Mesa flash manual it shows a way to list all the I/o. You should have 3 ENCA’s if it was successful
Yeah, I know how to read from the board, but processing it is another story
This is whats inside 7i92:
Warning: Spoiler!Configuration Name: HOSTMOT2 General configuration information: BoardName : MESA7I92 FPGA Size: 9 KGates FPGA Pins: 144 Number of IO Ports: 2 Width of one I/O port: 17 Clock Low frequency: 100.0000 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: DPLL There are 1 of DPLL in configuration Version: 0 Registers: 7 BaseAddress: 7000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: WatchDog There are 1 of WatchDog in configuration Version: 0 Registers: 3 BaseAddress: 0C00 ClockFrequency: 100.000 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: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: QCount There are 3 of QCount in configuration Version: 2 Registers: 5 BaseAddress: 3000 ClockFrequency: 100.000 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: 100.000 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: 100.000 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: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Configuration pin-out: IO Connections for P2 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 0 IOPort StepGen 0 Dir/Table2 (Out) 14 1 IOPort StepGen 0 Step/Table1 (Out) 2 2 IOPort StepGen 1 Dir/Table2 (Out) 15 3 IOPort StepGen 1 Step/Table1 (Out) 3 4 IOPort StepGen 2 Dir/Table2 (Out) 16 5 IOPort StepGen 2 Step/Table1 (Out) 4 6 IOPort StepGen 3 Dir/Table2 (Out) 17 7 IOPort StepGen 3 Step/Table1 (Out) 5 8 IOPort StepGen 4 Dir/Table2 (Out) 6 9 IOPort StepGen 4 Step/Table1 (Out) 7 10 IOPort SSerial 0 TXData0 (Out) 8 11 IOPort SSerial 0 RXData0 (In) 9 12 IOPort SSerial 0 TXData1 (Out) 10 13 IOPort SSerial 0 RXData1 (In) 11 14 IOPort QCount 2 Quad-A (In) 12 15 IOPort QCount 1 Quad-A (In) 13 16 IOPort QCount 0 Quad-A (In) IO Connections for P1 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 17 IOPort None 14 18 IOPort None 2 19 IOPort None 15 20 IOPort None 3 21 IOPort None 16 22 IOPort None 4 23 IOPort None 17 24 IOPort None 5 25 IOPort None 6 26 IOPort None 7 27 IOPort None 8 28 IOPort None 9 29 IOPort None 10 30 IOPort None 11 31 IOPort None 12 32 IOPort None 13 33 IOPort None
The Quad-A's your talking about?
I used 7i92_7i76x1dpl.bin
Yep looks right. Must be the wiring ¯\_(ツ)_/¯
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
31 Mar 2021 20:56 #204294
by bevins
I double triple quad ruple checked the wiring.
Maybe too far for the 5 volts? need pullups?
The pic the thcads(2 of them) is in the cabinet on right in the table and the 7i76 is behind the computer in the cabinet in front of the stool.
Both the thcad for ohmic sensing and thcad for THC uses same 5 volts from 7i76
Replied by bevins on topic Ohmic3 hal file errors
Sure there is. In the Mesa flash manual it shows a way to list all the I/o. You should have 3 ENCA’s if it was successful
Yeah, I know how to read from the board, but processing it is another story
This is whats inside 7i92:
Warning: Spoiler!Configuration Name: HOSTMOT2 General configuration information: BoardName : MESA7I92 FPGA Size: 9 KGates FPGA Pins: 144 Number of IO Ports: 2 Width of one I/O port: 17 Clock Low frequency: 100.0000 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: DPLL There are 1 of DPLL in configuration Version: 0 Registers: 7 BaseAddress: 7000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: WatchDog There are 1 of WatchDog in configuration Version: 0 Registers: 3 BaseAddress: 0C00 ClockFrequency: 100.000 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: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: QCount There are 3 of QCount in configuration Version: 2 Registers: 5 BaseAddress: 3000 ClockFrequency: 100.000 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: 100.000 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: 100.000 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: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Configuration pin-out: IO Connections for P2 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 0 IOPort StepGen 0 Dir/Table2 (Out) 14 1 IOPort StepGen 0 Step/Table1 (Out) 2 2 IOPort StepGen 1 Dir/Table2 (Out) 15 3 IOPort StepGen 1 Step/Table1 (Out) 3 4 IOPort StepGen 2 Dir/Table2 (Out) 16 5 IOPort StepGen 2 Step/Table1 (Out) 4 6 IOPort StepGen 3 Dir/Table2 (Out) 17 7 IOPort StepGen 3 Step/Table1 (Out) 5 8 IOPort StepGen 4 Dir/Table2 (Out) 6 9 IOPort StepGen 4 Step/Table1 (Out) 7 10 IOPort SSerial 0 TXData0 (Out) 8 11 IOPort SSerial 0 RXData0 (In) 9 12 IOPort SSerial 0 TXData1 (Out) 10 13 IOPort SSerial 0 RXData1 (In) 11 14 IOPort QCount 2 Quad-A (In) 12 15 IOPort QCount 1 Quad-A (In) 13 16 IOPort QCount 0 Quad-A (In) IO Connections for P1 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 17 IOPort None 14 18 IOPort None 2 19 IOPort None 15 20 IOPort None 3 21 IOPort None 16 22 IOPort None 4 23 IOPort None 17 24 IOPort None 5 25 IOPort None 6 26 IOPort None 7 27 IOPort None 8 28 IOPort None 9 29 IOPort None 10 30 IOPort None 11 31 IOPort None 12 32 IOPort None 13 33 IOPort None
The Quad-A's your talking about?
I used 7i92_7i76x1dpl.bin
Yep looks right. Must be the wiring ¯\_(ツ)_/¯
I double triple quad ruple checked the wiring.
Maybe too far for the 5 volts? need pullups?
The pic the thcads(2 of them) is in the cabinet on right in the table and the 7i76 is behind the computer in the cabinet in front of the stool.
Both the thcad for ohmic sensing and thcad for THC uses same 5 volts from 7i76
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.113 seconds