autoconfig of pncconf from the pin or IDROM
- cncbasher
- Offline
- Moderator
- Posts: 1776
- Thank you received: 292
I would be nice if pncconf could read the info from the loaded bitfile (from the IDROM that specifies the pinout and numbers and types of modules) so it would work with any bitfile
not just the ones pncconf has built-in knowledge about.
i'd like to propose this , if it's feasable or not already progressed
or my thoughts are to read in the PIN file , if not directly from the chipset configuration
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7330
- Thank you received: 1176
John
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
- Posts: 7762
- Thank you received: 2047
The PIN file is not in a easily machine read format, though i may try to coble together a stand alone program to do it.
Another potential problem is that pncconf can be a little fussy about the firmware layout. I didn't design it to be capable of using every
combination - it makes some assumptions about pins - such as PWM gens will have two pins pwm and direction , i just saw a custom firmware that has a pwm gen with only pwm signal. Pncconf needs to be modified to look for this - the combinations can become large.
While i could force the user to configure _every_ pin and avoid some of this problem then that means they need to know more about the details of components then they should have to.
Right now you configure a signal for one pins of a component and pncconf searches for the related pins and automatically assigns them.
The other thing is I am not an super experienced programmer ( Just a lowly millwright ) so am learning as I go.
Chris M
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23538
- Thank you received: 4854
I keep meaning to look at it properly.
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
- Posts: 1776
- Thank you received: 292
the pin file appears to be txt readable so that may be a way .
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7330
- Thank you received: 1176
Thanks for all the effort on pncconf.
John
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
- Posts: 7762
- Thank you received: 2047
Trying to configure Mesa equipment is like shooting a moving target -
Peter brings out new stuff and Andy keeps building drivers for them
It's all so cool i want to incorporate them into pncconf.
i just hope it doesn't get too complicated for the newer user that it's built for.
The feedback from users helps a lot.
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
- Posts: 1776
- Thank you received: 292
Please Log in or Create an account to join the conversation.
- 1:1
- Offline
- Premium Member
- Posts: 84
- Thank you received: 0
Well I'm glad people find it useful and usable. i have been learning lots along the way.
Trying to configure Mesa equipment is like shooting a moving target -
Peter brings out new stuff and Andy keeps building drivers for them
It's all so cool i want to incorporate them into pncconf.
i just hope it doesn't get too complicated for the newer user that it's built for.
The feedback from users helps a lot.
I'm a newer user but I feel that most people who opt for Mesa gear already have slightly more lofty ambitions in terms of system complexity than say a 3 axis stepper - I'm sort of stuck between the ease of setting it up and the relative chore of learning how to set it up from scratch. Pncconf in some ways might be the wrong choice to have gone down in that I have already made small workarounds because of its simplicity, maybe if I had read the manual I might have caught up with where I am now ?
That being said, I certainly can look at the code it outputs and learn from that.
Maybe a simple mode and more of an 'integrators' option, which effectively becomes a GUI for HAL ??
Still waaaaay behind on this stuff, so I hope I'm not talking out of turn
Please Log in or Create an account to join the conversation.
- Rick G
- Offline
- Junior Member
- Posts: 28
- Thank you received: 156
Pncconf as it is now saves a new user HOURS of time getting up and running.
It provides a working config for many setups and a starting point for others that the output can easily be editied if needed for new/different hardware.
Rick G
Please Log in or Create an account to join the conversation.