Configuration 7i92 and 7i77 - get error

More
29 Jan 2021 12:15 #197047 by bevins

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?


I am running 2.8.1-44

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

More
29 Jan 2021 12:25 #197049 by bevins

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?


I am running 2.8.1-44


Pin List for encoders:
Warning: Spoiler!

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

More
29 Jan 2021 17:15 #197075 by PCW
I suspect you are using non-dpll firmware

what does:

mesaflash --device 7i92 --addr 10.10.10.10 -- readhmid

report?

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

More
29 Jan 2021 17:34 - 29 Jan 2021 17:35 #197080 by PCW

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.


No, adding DPLL retiming will make the average delay between reading the encoders and writing the analog out
slightly longer (by 50 usec in the example)

It's expected that "setp hm2_7i92.0.stepgen.timer-number 1" would cause an error if you
dont have any step generators in your configuration. This is presumably a pncconf bug.
Last edit: 29 Jan 2021 17:35 by PCW.

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

More
29 Jan 2021 17:46 - 29 Jan 2021 17:48 #197082 by bevins

I suspect you are using non-dpll firmware

what does:

mesaflash --device 7i92 --addr 10.10.10.10 -- readhmid

report?


DPLL module is there

Warning: Spoiler!
Last edit: 29 Jan 2021 17:48 by bevins.

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

More
29 Jan 2021 21:25 #197091 by PCW
OK well that's fairly mysterious, I just built 2.8.1 and the pin is there:

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

I had been checking with master but 2.8.1 works for me

Can you check the bitfile checksum?

$ md5sum 7i92_7i77_7i74D.bit
9adaf5281f07f798d9fa87580f63e6c2 7i92_7i77_7i74D.bit

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

More
29 Jan 2021 22:19 - 29 Jan 2021 22:19 #197095 by bevins

OK well that's fairly mysterious, I just built 2.8.1 and the pin is there:

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

I had been checking with master but 2.8.1 works for me

Can you check the bitfile checksum?

$ md5sum 7i92_7i77_7i74D.bit
9adaf5281f07f798d9fa87580f63e6c2 7i92_7i77_7i74D.bit


Ill check it after supper but i got the 7i92 zip file from freeby.mesanet site. I compiled mesaflash from github and got the 7i92.zip from your site.

Maybe the zip file dont have the correct files in it? Can you send the bit and pin files?
Last edit: 29 Jan 2021 22:19 by bevins.

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

More
29 Jan 2021 22:35 #197096 by bevins
Thats bizarre. The checksum works out.

Is it a config on the loadrt line?

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

More
29 Jan 2021 23:01 #197097 by PCW
Not unless the config line disabled the DPLL

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

More
30 Jan 2021 03:18 - 30 Jan 2021 03:20 #197110 by aleksamc
I changed stepgen to encoder:
hm2_7i92.0.encoder.timer-number
and graphical interface starts.

But I get another error:
hm2_7i92.9: Watchdog has bit! (set the has-bit to False to resume)
hm2_7i92.0: Error after doit clean

I use Intel J1900 fanless PC.

In BIOS I previously disablem all parameters that could make delay and also made isolcpu=2,3 that gives me very good latency (10k to 15k).
Last edit: 30 Jan 2021 03:20 by aleksamc.

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

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