autoconfig of pncconf from the pin or IDROM
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.
John
Please Log in or Create an account to join the conversation.
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.
I keep meaning to look at it properly.
Please Log in or Create an account to join the conversation.
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.
Thanks for all the effort on pncconf.
John
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
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.
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.