Re: Strange pic programming problem

From: Ed (ed_at_NOSPAMmicra.org.uk)
Date: 07/06/04


Date: Tue, 06 Jul 2004 03:21:18 GMT

Spehro Pefhany wrote:
> On Tue, 06 Jul 2004 02:51:29 GMT, the renowned Ed
> <ed@NOSPAMmicra.org.uk> wrote:
>
>
>>Since the first load commands are right at the beginning of my program
>>and the write subroutiene is at the end could this cause any problem
>>with passing the accross to the other variables. My code is about 1800
>>lines, and this is all I can think of, however I dont know a solution -
>>I'm hoping somone here might and can help me here.
>>
>>Thanks
>>
>>Ed
>
>
> It's really unlikely that anyone is going to take the time to debug
> your program (and you have not really supplied much of it), but check
> that your banks are set correctly, that you disable interrupts as
> recommended, and that you wait for the write to finish before
> attempting to read. I've had no trouble using the EEPROM just by
> following the data ***; I can't think of anything special..
>
> Best regards,
> Spehro Pefhany

I dont expect anyone to debug my work, besides I would like to try and
do it my self, but as for the data *** that is exactly what I have done.

I just cannot work out why when I create a new asm file, copy the header
over the EE read and write routines and call for them they work, where
as in my main program they dont. Hence this question to see if there is
anything I could have missed or something. I'm new to this and have had
no other programming background except basic on a C64 when I was a kid
and HTML! I have so far got keypad scanning LCD interface etc.. and had
no problems at all until it came to this random EEPROM thing.

Thanks,

Ed