Eur van Andel wrote:
> On 17 Oct 2008, at 22:32 , Rob Hamerling wrote:
>> The story began when I found out the at 12F510 which doesn't want toÂ
>> blink as one of the few PICs of my collection. Even now I think I knowÂ
>> it still doesn't want to blink, maybe there are more snags somewhere.
To avoid misunderstanding, issue 34 is fixed with version 0.0.51 of the
Dev2jal script, even the 12F510 blinks now..
> I think we need to differentiate between versions of the comparator as
> well. For the 18F's there seem to be 5 different versions?
That may indeed be necessary. The device files have no changed or
aliased comparator register, all straight from the .dev files.
However as reported the names in the .dev files do not always match with
the names in the datasheets for all PICs. There we may need to make
corrections for the device files.
> (MCC18: cm_io.h)
>
> But let's not focus on those. I'll see if I can do some datasheet
> reading. Where did you get the versions of the ADC for the 10/12/16F pics?
IIRC(!) I have assigned the ADC group for the 10/12/16Fs by looking at
presence of ADCONx and ANSELx registers. Maybe this is currently not
100% correct.
MCC18 could be helpful for comparators too. I have not looked at that
yet. But it will not cover the baseline and midrange, which will have to
be handled another way.
>> Correcting the name from MPlab .dev name to datasheet name is also notÂ
>> so easy (~ takes lots of time).
> I can help.Â
Fine, thanks!
>
>> I have updated the 'findanalog.wiki' to show the variety of CMCON-likeÂ
>> names... Maybe someone has a good idea???
>
> findanalog.wikis is a fantastic resource for the ADC versions and SFRs.
> My knees tremble if I think about writing all-emcompassing code for 11
> versions with a different number of pins and different ways of setting
> the pin directions. But I said I'd do it, and I will.Â
Consider how desparate people are waiting for such a universal library
(or set of libraries).. I have no idea.
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
-~----------~----~----~----~------~----~------~--~---