Hi Wayne and others,

Wayne <[email protected]> wrote:

I have been in awe of all the work proposed to accomplish that task.
Having to modify the device files (what's the number now, over 300
devices?) to save someone from having to look up what pins are used for
what function seems, to me anyway, laughable.

I print out the pin diagrams of all the pic's I have and have them on a
clipboard above my bench.  I have another stack of printouts of all of
the other chips I plan to use.  Takes less then a minute to get that
information.

That's about how I work too.
Most users will probably use only a few different types of PICs. So having the pin layouts available is handy and not much work.

If all this work is done, I not think that I would get anything out
of it as I already know what pins I will use.  IMHO this is a waste of
'your' time and is costing, me, a lot of my limit of 5190M of down
load per month.

Note: I do not recall seeing Rob chime in on this Subject.  As he is the
"device File Maintainer" I would be interested in hearing what he has to
say, being it is he who would be most affected.

Indeed! I have been following the discussion, but not too intensively. I don't fancy the idea of having physical pin numbers in the device files for several reasons.

I don't see much practical reasons for adding physical pin numbers to the device files. You cannot connect something randomly to any pin. So in a design phase you have to select a pin firstly on its capabilities and if there is a choice left on its physical position.

The main function of the device files (and a lot of time and work has been put in it) to provide a device independent interface to libraries and application programs. Adding physical pin number aliases is the other way around. And most PICs come in different packages with different numbering schemes.

The pin aliases in the device files are obtained from 'pinmap_pinsuffix.json', which is generated from 'pinmap.py', which is maintained by manual editing (by reading the datasheets!).

If you look at the pin layouts there are far less layout differences than there are PICs. Especially the 28 and 40 pins DIP packages are to a large extend pin compatible (apart from functional differences). So if someone really wants a physical pin numbering it will not be so much work to build a couple of files with aliases, which can be included after the device file. Certainly when you need it for only a selected number of PIC packages it is definitely less work than editing pinmap.py (and it doesn't 'pollute' the device files).

Apart from all this I see it as a responsibility to stimulate the advise to users (not only new ones) in many forums: "read the datasheets" over and over again.

Regards, Rob.

--
Rob Hamerling, Vianen, NL (http://www.robh.nl/)
-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.


Reply via email to