eeprom_write error

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
varti
Posts: 5
Joined: 21 Jul 2021 22:18

eeprom_write error

#1 Post by varti » 21 Jul 2021 22:52

Becose with mikrobasic the eeprom:write not work?
I use PIC 18F46k80.
If remove eeprom_write from my code program, the pic work, if I have EEprom_write the pic not work.

example if insert in my main program EEprom_write (0, 0) the PIC not work.

Please help me.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: eeprom_write error

#2 Post by filip » 23 Jul 2021 09:54

Hi,

Can you please tell me which compiler version are you using ?

Regards,
Filip.

varti
Posts: 5
Joined: 21 Jul 2021 22:18

Re: eeprom_write error

#3 Post by varti » 28 Jul 2021 13:15

Hi,
With version 7.6.0 not work.
The same project compiled with old version 7.0.0 work ok.

With the version 7.6.0 the pic micro after write in eeprom block it forever.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: eeprom_write error

#4 Post by filip » 29 Jul 2021 09:46

Hi,

Please copy the mcl library file from the attachment to the \mikroC PRO for PIC\Uses\P18\ folder instead of the existing one and see if it works.

Regards,
Filip.
Attachments
__Lib_EEPROM_1024.rar
(953 Bytes) Downloaded 56 times

varti
Posts: 5
Joined: 21 Jul 2021 22:18

Re: eeprom_write error

#5 Post by varti » 29 Jul 2021 19:10

I have Mikrobasic, not MikroC. Is possible to have the library for MikroBasic.
Best regards.

varti
Posts: 5
Joined: 21 Jul 2021 22:18

Re: eeprom_write error

#6 Post by varti » 29 Jul 2021 19:29

Hi,
Ok the new library work correct with mikrobasic 7.6.0.
I have overwrite the file and now is ok, the eeprom_write work correct.
Please update your download from your web site with new version... 7.6.1
best regards and thank you very much.

Ls2
Posts: 50
Joined: 17 Jun 2014 14:08

Re: eeprom_write error

#7 Post by Ls2 » 30 Jul 2021 11:28

I had the same problem in Aug/2020... Unbelievable that MikroE didn't fix this bug yet :?

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: eeprom_write error

#8 Post by janni » 31 Jul 2021 12:49

Well, it's been just 3 years since the problem was spotted :wink: . And I'm pretty sure it persist in new mikroC AI for PIC compiler as well, so it will be fixed within the decade :lol: :roll: .

varti
Posts: 5
Joined: 21 Jul 2021 22:18

Re: eeprom_write error

#9 Post by varti » 03 Jul 2022 18:01

WHEN THEY WILL DECIDE TO FIX THE PROBLEM ...
IF YOU DOWNLOAD MIKROBASIC FROM THE SITE THE PROBLEM PERSISTS....

Post Reply

Return to “mikroC PRO for PIC General”