Configuration 7i92 and 7i77 - get error

  • aleksamc
  • aleksamc's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
28 Jan 2021 19:42 - 28 Jan 2021 19:46 #196989 by aleksamc
Configuration 7i92 and 7i77 - get error was created by aleksamc
To 7i92 written 7i77x2D.bit file.
I have configured in PncConf 7i92M and 7i77 board.

And I have problem with first start after configuration.
I get error
my_cnc.hal:22: parameter ot pin 'hm2_7i92.0.stepgen.timer-number' not found

I add hal and ini files

File Attachment:

File Name: my_cnc.hal
File Size:11 KB

File Attachment:

File Name: my_cnc.ini
File Size:4 KB


What problem could be?
1) I suspect: I made configuration for 2 7i77 boards but run only one board.
2) My PC is "industrial" and has 2 ethernet interfaces, I add also their configuration:

File Attachment:

File Name: interfaces.txt
File Size:0 KB

3) PncConf creates wrong configuration for 2.8.1 board, but previously I made configuration for 5i25 boards and doesn't have such problem.

If I run "ip link show", I get such result as in ip.txt file

File Attachment:

File Name: ip.txt
File Size:0 KB
Attachments:
Last edit: 28 Jan 2021 19:46 by aleksamc.

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

More
28 Jan 2021 20:12 - 28 Jan 2021 20:18 #196991 by bevins
Replied by bevins on topic Configuration 7i92 and 7i77 - get error

To 7i92 written 7i77x2D.bit file.
I have configured in PncConf 7i92M and 7i77 board.

And I have problem with first start after configuration.
I get error
my_cnc.hal:22: parameter ot pin 'hm2_7i92.0.stepgen.timer-number' not found


For starters, delete or comment out the two lines below near the top of your hal file.

setp hm2_7i92.0.dpll.01.timer-us -50
setp hm2_7i92.0.stepgen.timer-number 1
Last edit: 28 Jan 2021 20:18 by bevins.

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

More
29 Jan 2021 02:17 #197025 by PCW
Replied by PCW on topic Configuration 7i92 and 7i77 - get error
Looks like a pncconf bug

For a 7I77 you probably want:

setp hm2_7i92.0.dpll.01.timer-us -50
setp hm2_7i92.0.encoder.timer-number 1

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

More
29 Jan 2021 03:09 #197028 by bevins
Replied by bevins on topic Configuration 7i92 and 7i77 - get error

Looks like a pncconf bug

For a 7I77 you probably want:

setp hm2_7i92.0.dpll.01.timer-us -50
setp hm2_7i92.0.encoder.timer-number 1


Get errors when I do that with a 7i77

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

More
29 Jan 2021 03:15 - 29 Jan 2021 03:17 #197030 by PCW
Replied by PCW on topic Configuration 7i92 and 7i77 - get error
You need to have the DPLL in the FPGA configuration, 7I92_7i77x2D should have it
Last edit: 29 Jan 2021 03:17 by PCW.

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

More
29 Jan 2021 03:58 #197032 by bevins
Replied by bevins on topic Configuration 7i92 and 7i77 - get error

You need to have the DPLL in the FPGA configuration, 7I92_7i77x2D should have it


I am running 7i92_7i77_7i74D firmware

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

More
29 Jan 2021 04:18 - 29 Jan 2021 04:36 #197033 by Michael
Replied by Michael on topic Configuration 7i92 and 7i77 - get error
Whats the relevance of this line?

hm2_7i92.0.encoder.timer-number 1

Would this create encoder timing issues?
Last edit: 29 Jan 2021 04:36 by Michael.

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

More
29 Jan 2021 04:31 #197034 by PCW
Replied by PCW on topic Configuration 7i92 and 7i77 - get error
Just loaded 7i92_7i77_7i74D firmware and I get:

7 s32 IN -1 hm2_7i92.0.encoder.timer-number

What LinuxCNC version are you running?

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

More
29 Jan 2021 04:38 #197035 by PCW
Replied by PCW on topic Configuration 7i92 and 7i77 - get error

Whats the relevance of this line?

hm2_7i92.0.encoder.timer-number 1


setp hm2_7i92.0.dpll.01.timer-us -50
setp hm2_7i92.0.encoder.timer-number 1

Will enable DPLL sampling of the encoder position
rather than raw sampling. This reduces the sampling
jitter from as much as a few hundred usec to 250 ns
or so.

The first statement sets DPLL timer 1's sample
time to 50 usec _before_ the nominal read time.
The next statement tells the encoder hardware
to use DPLL encoder sampling rather than
raw sampling (the default timer number of -1
selects raw sampling)

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

More
29 Jan 2021 04:43 #197036 by Michael
Replied by Michael on topic Configuration 7i92 and 7i77 - get error
I am 99% sure I also don't have that and have been # out setp hm2_7i92.0.stepgen.timer-number 1 since it was creating errors. That could explain my 5ms delay from encoder response, or part of it.

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

Moderators: PCWjmelson
Time to create page: 0.073 seconds
Powered by Kunena Forum