Hi Hans, This seems to be a very old library completely written in assembly.
I suggest you use the current library pic_data_eeprom.jal and replace the following: * Program_EEprom_Read --> data_eeprom_read_word * Program_EEprom --> data_eeprom_word * Program_EEprom_Write --> data_eeprom_write_word You can use the same parameters in both procedures and functions. It should then work again. But please check this library and read the note about the EEPROM offset (EEPROM_ADDRESS_OFFSET) since some PICs need it and I do not know which one you are using. Kind regards, Rob ________________________________ Van: [email protected] <[email protected]> namens hans <[email protected]> Verzonden: maandag 18 juli 2022 21:23 Aan: jallib <[email protected]> Onderwerp: Re: [jallib] Pic_program_eeprom I used the pic-data-eeprom and the the attached lib in a years_old_still_working-program but the attached is not working anymore. I got errors in compiling. Op maandag 18 juli 2022 om 18:48:43 UTC+2 schreef [email protected]: Hi Hans, Was your plan to program the eeprom separately or program eeprom from your JAL program? You can program eeprom with a PICkit3 (and I assume also a Pickit2) and for programming it from your JAL program you can use pic_data_eeprom.jal. Kind regards, Rob ________________________________ Van: [email protected] <[email protected]> namens hans <[email protected]> Verzonden: maandag 18 juli 2022 17:23 Aan: jallib <[email protected]> Onderwerp: [jallib] Pic_program_eeprom Hello, For a very old program I used the lib pic_program_eeprom, does it still exist somewhere? greetings Hans -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/29887325-b407-44e9-b6b1-b886f076ab3bn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/29887325-b407-44e9-b6b1-b886f076ab3bn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/3b1192a6-c318-4916-aee8-48796ee17dacn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/3b1192a6-c318-4916-aee8-48796ee17dacn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/GVXP195MB1637E3520CD9C097022516F1E68F9%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.
