|
| |
Jallist Archive Apr 2003
Re: AD library ?
From: Javier Martínez <japus11(at)terra.es>
Date: 05 Apr 2003 18:17:57 +0000
Hi Mark,
As you are using my analog library, can you send me the latest buggy
source (in jal) to me? Perhaps I can find what's happend.
Regards, Javi.
El sáb, 05 de 04 de 2003 a las 14:39, Mark Gross escribió:
> On Saturday 05 April 2003 02:48 am, Stef wrote:
> > hi All,
> >
> > I'm looking for an AD library for the 16F87x.
> >
> > I've been searching through the files-section of the jal-list,
> > (quiet impressive, how many of you already contributed !!!
> > it's so much we now really need a functional index ;-)
> >
> > but, back to my problem, I couldn't find one.
>
> I don't think the problem is in the library code.
>
> I have a few more strange opservations to share;
>
> My ADC code works under the following conditions.
> *) I uncomment the line -- bug=2 from the forever loop
> or more bothersome
> *) I place debug pin_d1 = high / pin_d1 = low around the call to delay
> within
> the f877_modules.jal file :(
>
> (I was going to hook up an osciloscope and look to see if the dealy
> function
> was behaving differently under the 2 cases of keeping the bug = 2 line
> where
> things work, and otherwise.)
>
> This is all VERY odd, I'm coming to the conclusion that one of the
> following
> must be true;
> 1) the hex output from JAL doesn't match the asm. (unlikely as I did
> a gpdasm
> and gpasm) and got virtualy the same hex file output, that behaves
> exactly as
> the one that JAL produced) I have yet to try this experiment using
> the
> MicroChip tools but I don't expect things to be much different.
>
> 2) There is a bug/errata in the 16f877 I don't know about that I'm
> getting bit
> by. (something like ADC likes to only use even or odd numberd
> resgisters)
>
> --mgross
>
>
>
|
|
|