converting a tos/intos fngj 40

More
27 Apr 2025 13:00 - 27 Apr 2025 13:01 #327144 by FPM
Replied by FPM on topic converting a tos/intos fngj 40
I have connected everything and flashed the bitfile from PCW. But it looks i have not configured the second card in the hal properly.
Attached the output of mesaflash readhmi, the hal and the crash report from lcnc
any ideas?
thanks in advance.

File Attachment:

File Name: readhmi.txt
File Size:7 KB

File Attachment:

File Name: intos_2025-04-27.hal
File Size:10 KB

File Attachment:

File Name: linuxcnc.txt
File Size:9 KB
Attachments:
Last edit: 27 Apr 2025 13:01 by FPM.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
27 Apr 2025 13:20 #327150 by tommylight
Replied by tommylight on topic converting a tos/intos fngj 40
HAL: ERROR: function 'hm2_7c81.1.read' not found
./intos.hal:16: addf failed


should be
hm2_7c81.0.read

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

More
27 Apr 2025 13:50 #327155 by FPM
Replied by FPM on topic converting a tos/intos fngj 40
Hi,
thanks for your fast reply.
if you read in the hal, there is written :
addf hm2_7c81.0.read
addf hm2_7c81.1.read
for both cards
.0 is the 7i77 and .1 is the 7i78
I interpreted the documentation that it should be done like this.
Any advice how it is configured correctly?

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
27 Apr 2025 13:59 #327157 by tommylight
Replied by tommylight on topic converting a tos/intos fngj 40
How many 7c81 are in use?
for one only, delete the line containing 1
addf hm2_7c81.0.read
addf hm2_7c81.1.read
Pretty sure this should only be used if you have 2 of 7c81, 0 and 1 there are enumeration for 2 of 7c81 not the add on cards, they do have their own enumeration after the model number, example:
hm2_7c81.0.7i77.0.0.input-07
First 7c81 that has the first 7i77 attached, first is always 0 with Mesa and LinuxCNC enumeration.
Had a look at your hal, there is more editing required, so it might be easier to make a new config with a single 7c81.

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

More
27 Apr 2025 14:28 - 27 Apr 2025 14:58 #327164 by FPM
Replied by FPM on topic converting a tos/intos fngj 40
Hi,
only one 7c81, you tip has done the trick. Thank you!
but the next problem occured :)
The error changed to:
/intos.hal:88: parameter or pin 'hm2_7c81.0.7i77.0.1.analogout0-scalemax' not found

so checked this line in the old, working hal, without the 7i78, and its exactly the same. What does change here when i use 2 daughterboards?
Any Ideas?

EDIT:
i have also tried to change the channel number to 0:
hm2_7c81.0.7i77.0.0.analogout0-scalemax'
and 2 and 3
Last edit: 27 Apr 2025 14:58 by FPM.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
27 Apr 2025 15:05 #327167 by tommylight
Replied by tommylight on topic converting a tos/intos fngj 40
Try omitting that line with scalemax, right now i can not recall i ever used it.
Just add # in front of the line, save, test.

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

Moderators: piasdom
Time to create page: 0.075 seconds
Powered by Kunena Forum