× Forum Header

Stepgeneration 2.6.6 vs 2.8.0

More
21 Feb 2015 05:29 #56168 by mmprestine
Well I have a been working through a PC failure and have found a few interesting things about the step generation on 2.6.6 and 2.8.0.

I wanted to give the new trajectory planner a whirl so I thought that I would install 2.8.0 and the step generation signal is around 50us vs the 3us from all previous versions. Here are the results from the same exact PC setup with Debian Wheezy running. The latency is ~11us in each case.

Here you can see the step signal in 2.6 is very normal.




Here you can see the step signal in 2.8 is not normal.




Anyone else testing version 2.8 and seen this issue?

Matt
Attachments:

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

More
24 Feb 2015 02:24 #56248 by skunkworks
A couple of things. Are you sure it is the same config? If you are not using the -reset function of the printer port (and stepgenā€™s doublefreq) you are only going to get a step every 2 base periods. (so that looks like your base period is 25us...)

I just ran master (and 2.7) and using the reset functionality I get around4us minimum step




(sorry for the analog ;) that is 1us per dev)
Attachments:

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

More
24 Feb 2015 03:31 #56250 by mmprestine
What is the -reset function? Is it a setup config item?
Matt

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

More
24 Feb 2015 03:40 #56252 by skunkworks
Huh - thought I posted a link. I don't know if stepconf is aware of it..

linuxcnc.org/docs/devel/html/hal/paralle...ml#_using_doublestep

your 2.6 config must be using it - the 2.8 isn't would be my guess.

sam

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

More
24 Feb 2015 03:48 - 24 Feb 2015 04:07 #56254 by mmprestine
I have just retested again and it is the same results.

Load 2.6.6 and create a new configuration with stepconfig wizard

~3us step pulse.

Load master - 2.8.0-pre1-485-g5165e754 and create a new configuration with stepconfig wizard. Need to generate new configuration as the 2.6.6 will not run in 2.8.0.

~50us step pulse.

Perhaps I do need to change something else i.e. -reset, but I have never had to do this before for stepconfig.

Matt
Last edit: 24 Feb 2015 04:07 by mmprestine.

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

More
24 Feb 2015 04:01 - 24 Feb 2015 04:01 #56255 by mmprestine
Here are the hal files. I see no difference in them for the port control.
Matt


File Attachment:

File Name: 2.6.6.hal
File Size:4 KB




File Attachment:

File Name: 2.8.0.hal
File Size:4 KB
Attachments:
Last edit: 24 Feb 2015 04:01 by mmprestine.

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

More
24 Feb 2015 04:08 #56256 by skunkworks
It looks like stepconf has stopped inserting the

setp parport.0.pin-02-out-reset 1
setp parport.0.pin-04-out-reset 1
setp parport.0.pin-06-out-reset 1

lines. (everything else seems to be there...)

sam
The following user(s) said Thank You: mmprestine

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

More
24 Feb 2015 04:13 #56257 by mmprestine
Yes you are correct! I was narrow minded and was only looking at the start of the file for, port config. I also see that probe_parport is no longer there also. Any idea on that file?

Matt

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

More
24 Feb 2015 04:15 #56258 by skunkworks
probe_parport has been removed. (not needed) and could be the reason why your 2.6 config doesn't run in 2.8..

Yes you are correct! I was narrow minded and was only looking at the start of the file for, port config. I also see that probe_parport is no longer there also. Any idea on that file?

Matt

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

More
24 Feb 2015 04:20 #56259 by mmprestine
I tested the additions and everything works as expected. Thanks for all the help.
Matt

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

Time to create page: 0.230 seconds
Powered by Kunena Forum