Undeclared FLASH_Erase_write_64 problem

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
kumar123
Posts: 68
Joined: 17 Oct 2023 07:32

Undeclared FLASH_Erase_write_64 problem

#1 Post by kumar123 » 27 Dec 2023 06:19

Hi,
I am working on a bootloader code for pic micro-controller. I am using pic18f67k40 uC. In this code when I write FLASH_Erase_write_64 function in my code, and I am trying to compile it but it is giving an error.
13 324 Undeclared identifier 'FLASH_Erase_Write_64' in expression code_test.c
Even I have already included flash library.
flash.png
flash.png (168.24 KiB) Viewed 154 times
Regards,
Kumar

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: Undeclared FLASH_Erase_write_64 problem

#2 Post by IvanJeremic » 27 Dec 2023 08:43

Hi,

Unfortunately Flash_Erase_Write_64 is not supported for the MCU that you are using, the only Flash functions that are supported are Flash_Erase, Flash_Read and Flash_Write.

You can see in the Library Manager on the right which functions are supported.

If you change the MCU to PIC18F8520 for example you will see Flash_Erase_Write_64 in the Library Manager.

Regards,

Ivan.

Post Reply

Return to “mikroC PRO for PIC General”