LinuxCNC 2.8.1 configuration doesn't run after upgrading from 2.7.15

More
20 Feb 2021 20:17 #199554 by andypugh
That's unfortunately unhelpful.

We see:
./mikron.hal:881: Pin 'hm2_5i24.0.7i69.0.0.input-16' linked to signal 'b3b'
HAL: creating signal 'over'
smalloc_up: shmem available 15552
smalloc_dn: shmem available 15472

But then it stops reporting memory allocation until saying that it is out of memory creating PyVCP pins.

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

More
20 Feb 2021 20:21 #199556 by andypugh
This isn't a good answer, but is there anything in the HAL which isn't actually necessary?
I see "paramsaver" for example.

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

More
20 Feb 2021 21:25 #199564 by gaston48

andypugh wrote: This isn't a good answer, but is there anything in the HAL which isn't actually necessary?
I see "paramsaver" for example.


Mikron has lubrication based on the distance traveled by each axis. Every 2000 mm for example the pump is activated.
The distance is calculated by my component "lubtravel" the product of the speed per fperiod.
the distance traveled between each session is saved with paramsaver
My pleasure is to respect the original management of the machine as closely as possible,
such also the automatic gearbox ratio changes. ;)
And to add more with my "big pendant" all the comfort of conventional controls of a milling machine

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

More
20 Feb 2021 21:45 #199565 by andypugh
I did suggest that trimming back the HAL wasn't the ideal solution.

I think that you are 5 pins from the bottom of the XML file. If you can remove 5 pins from the config it will probably start.

Default configs tend to add a number of ddt functions that are rarely used, for example.

The other alternative is to recompile LinuxCNC with a larger HAL_SIZE. Would you prefer to do that?

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

More
20 Feb 2021 22:21 #199567 by gaston48
what do you mean by "ddt function" ?

I must be able to gain old debug pins in my components for example, but as over time,
the machine will tend to become more complex,:whistle: one day it will be necessary to increase the memory.
Can be wait for the next update, other people may be bored ? plus other issues like the cursor glitch that reappeared on my OLED (lcd.c) that you had solved in 2.7.15

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

More
20 Feb 2021 23:23 #199570 by andypugh

gaston48 wrote: what do you mean by "ddt function"


"ddt" is a HAL module that is used to calculate velocity from position.

Quite often a configuration will have one loaded for each axis, but never used.

Yes, increasing the memory is the long-term solution, but that's no help to you, now.

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

More
21 Feb 2021 14:37 #199617 by gaston48
Thank you Andy, i want to try, this would confirm the origin, but I'm afraid
I won't be able to compile and install linuxcnc
I am carrying out the instructions but I do not understand them, I have to go very slowly
If it takes you too long, I can wait with my version 2.7.15

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

More
22 Feb 2021 20:01 #199759 by andypugh
In a couple of hours you should be able to get a version of LinuxCNC 2.9 (development version) with a HAL memory size of 1MB from the buildbot.

Follow the instructions here:
buildbot.linuxcnc.org

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

More
22 Feb 2021 23:15 #199784 by andypugh
It looks like it built cleanly. Do you want to give it a go?
The following user(s) said Thank You: gaston48

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

More
23 Feb 2021 09:35 #199808 by gaston48

andypugh wrote: It looks like it built cleanly. Do you want to give it a go?


Thanks Andy, I'm trying as soon as possible.
By freeing memory 2.8.1 starts fine, but a lot of gpio from my 7i69 are not taken into account. ?

(After a few minutes of switching on, the parasitic cursors of my OLED disappear ??)

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

Time to create page: 0.133 seconds
Powered by Kunena Forum