bitfile content mismatch
- koge
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
21 Jul 2016 22:08 #77796
by koge
bitfile content mismatch was created by koge
Hello,
I'm a newbie here in all manner. Neither macineing nor Linuxcnc /Cad-Cam is my desk, however I'm in a big hurry to get it on with. Read a lot, achieved a lot but still far from good.
I've got a machine with XYZ step/dir driven servos and a stepper 4th axis through TB6600.
Have a 7i92 IO card to connect with generic BOBs.
It seems, that succesfully generated bitfiles for BOBs, and managed to set up a working XYZ ini/hal config.
When I was up to add the 4th axis extending the ini/hal statements, got an error message:
"./7i92.hal:227: Pin 'hm2_7i92.0.stepgen.03.enable' does not exist"
When I query the I/O card hmid, it says:
But when linuxcnc statrs, it says:
Own bitfile is flashed directly, not as fallback.
Why the two pin listing doesn't match? Is it a fault, leads to the error in the message? How to get it ower with?
I'm a newbie here in all manner. Neither macineing nor Linuxcnc /Cad-Cam is my desk, however I'm in a big hurry to get it on with. Read a lot, achieved a lot but still far from good.
I've got a machine with XYZ step/dir driven servos and a stepper 4th axis through TB6600.
Have a 7i92 IO card to connect with generic BOBs.
It seems, that succesfully generated bitfiles for BOBs, and managed to set up a working XYZ ini/hal config.
When I was up to add the 4th axis extending the ini/hal statements, got an error message:
"./7i92.hal:227: Pin 'hm2_7i92.0.stepgen.03.enable' does not exist"
When I query the I/O card hmid, it says:
Configuration pin-out:
IO Connections for P2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 0 IOPort PWM 0 PWM (Out)
14 1 IOPort None
2 2 IOPort StepGen 0 Step/Table1 (Out)
15 3 IOPort None
3 4 IOPort StepGen 0 Dir/Table2 (Out)
16 5 IOPort StepGen 4 Step/Table1 (Out)
4 6 IOPort StepGen 1 Step/Table1 (Out)
17 7 IOPort StepGen 4 Dir/Table2 (Out)
5 8 IOPort StepGen 1 Dir/Table2 (Out)
6 9 IOPort StepGen 2 Step/Table1 (Out)
7 10 IOPort StepGen 2 Dir/Table2 (Out)
8 11 IOPort StepGen 3 Step/Table1 (Out)
9 12 IOPort StepGen 3 Dir/Table2 (Out)
10 13 IOPort None
11 14 IOPort None
12 15 IOPort None
13 16 IOPort None
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
...
But when linuxcnc statrs, it says:
Configuration pin-out:
IO Connections for P2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 0 IOPort PWM 0 PWM (Out)
14 1 IOPort None
2 2 IOPort StepGen 0 Step/Table1 (Out)
15 3 IOPort None
3 4 IOPort StepGen 0 Dir/Table2 (Out)
16 5 IOPort StepGen 4 Step/Table1 (Out)
4 6 IOPort StepGen 1 Step/Table1 (Out)
17 7 IOPort StepGen 4 Dir/Table2 (Out)
5 8 IOPort StepGen 1 Dir/Table2 (Out)
6 9 IOPort StepGen 2 Step/Table1 (Out)
7 10 IOPort StepGen 2 Dir/Table2 (Out)
8 11 IOPort StepGen 3 Step/Table1 (Out)
9 12 IOPort StepGen 3 Dir/Table2 (Out)
10 13 IOPort None
11 14 IOPort None
12 15 IOPort None
13 16 IOPort None
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
...
Own bitfile is flashed directly, not as fallback.
Why the two pin listing doesn't match? Is it a fault, leads to the error in the message? How to get it ower with?
Please Log in or Create an account to join the conversation.
- andypugh
- Away
- Moderator
Less
More
- Posts: 23558
- Thank you received: 4858
22 Jul 2016 09:10 #77817
by andypugh
It isn't normally necessary to generate bitfiles, no wonder you are finding this a learnng experience
Most people use pre-defined bitfiles from the hostmot2-firmware package.
Does the "loadrt hm2_eth" line in the HAL file have "num_stepgens=3" ? That will disable your higher-numbered stepgens.
Replied by andypugh on topic bitfile content mismatch
It seems, that succesfully generated bitfiles for BOBs, and managed to set up a working XYZ ini/hal config.
It isn't normally necessary to generate bitfiles, no wonder you are finding this a learnng experience
Most people use pre-defined bitfiles from the hostmot2-firmware package.
"./7i92.hal:227: Pin 'hm2_7i92.0.stepgen.03.enable' does not exist"
Does the "loadrt hm2_eth" line in the HAL file have "num_stepgens=3" ? That will disable your higher-numbered stepgens.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.049 seconds