Error FAT32 mode

General discussion on mikroC PRO for ARM.
Post Reply
Author
Message
dquy05
Posts: 40
Joined: 20 Apr 2014 11:00

Error FAT32 mode

#1 Post by dquy05 » 23 Jul 2021 04:46

Hi EveryOne!

I use the FAT32 library (#include "__Lib_FAT32.h"), yesterday it was fine, today suddenly the error "Call signature does not match the function definition signature 'FAT32_Dev_Read_Sector' __Lib_FAT32_STM32_M3_M4_M7.c"
Everytime I recreate the new project, the error is not found, but the next day the error occurs again,
Everyone please help me see

Many thanks!
Attachments
er.png
er.png (7.74 KiB) Viewed 1884 times

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

Re: Error FAT32 mode

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

Hi,

did you change anything related to the Output Setting in the IDE ?
If you rebuild all sources (Alt + F9), does the same thing happen ?

Regards,
Filip.

dquy05
Posts: 40
Joined: 20 Apr 2014 11:00

Re: Error FAT32 mode

#3 Post by dquy05 » 23 Jul 2021 11:23

filip wrote:
23 Jul 2021 09:41
Hi,

did you change anything related to the Output Setting in the IDE ?
If you rebuild all sources (Alt + F9), does the same thing happen ?

Regards,
Filip.
I didn't do anything in the output setting, even reinstalling the software didn't solve the problem, but creating a new project worked for a while, then it crashed again,

Thank you for helping me !

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

Re: Error FAT32 mode

#4 Post by filip » 27 Jul 2021 10:28

Hi,

Can you please attach your project here ?

Regards,
Filip.

Slootcity
Posts: 3
Joined: 01 Feb 2018 11:14

Re: Error FAT32 mode

#5 Post by Slootcity » 31 Jul 2021 13:18

Hi,

I have exactly the same problem. Since the update of the IDE this week. I get the same errors, so I tried the demo code for M4 and FAT32 here's the output:

0 1 mikroCARM.exe -MSF -DBG -pSTM32F207VG -RA -LHF -C -Y -DL -O1111110-1 -fo120 -N"F:\Mikroelektronika\mikroC PRO for ARM\Packages\FAT32 Library\Examples\STM32 M3, M4, M7\SD_MMC_Demo\SD_FAT32.mcpar" -SP"F:\Mikroelektronika\mikroC PRO for ARM\Defs\" -SP"F:\Mikroelektronika\mikroC PRO for ARM\Uses\ST M3\" -SP"F:\Mikroelektronika\mikroC PRO for ARM\Packages\FAT32 Library\Examples\STM32 M3, M4, M7\SD_MMC_Demo\" -SP"F:\Mikroelektronika\mikroC PRO for ARM\Packages\FAT32 Library\Uses\" -IP"F:\Mikroelektronika\mikroC PRO for ARM\Uses\ST M3\" -IP"F:\Mikroelektronika\mikroC PRO for ARM\Packages\FAT32 Library\Uses\" "main.c" "__Lib_Math.emcl" "__Lib_MathDouble.emcl" "__Lib_Delays.emcl" "__Lib_System_2XX.emcl" "__Lib_GPIO_32F2xx_Defs.emcl" "__Lib_GPIO_32F2xx.emcl" "__Lib_CString.emcl" "__Lib_Conversions.emcl" "__Lib_Button.emcl" "__Lib_SPI_123.emcl" "__Lib_UART_123_45_6.emcl" "__Lib_SDIO.emcl" "__Lib_Mmc_SDIO.emcl" "__Lib_FAT32_Driver_STM32_M3_M4_M7.emcl" "__Lib_FAT32_Defs_STM32_M3_M4_M7.emcl" "__Lib_FAT32_STM32_M3_M4_M7.emcl"
0 122 Compilation Started STM32F207VG.c
57906 123 Compiled Successfully STM32F207VG.c
0 122 Compilation Started __Lib_Delays.c
118 123 Compiled Successfully __Lib_Delays.c
87 1164 Variable 'NumberOfCyc' has been eliminated by optimizer __Lib_Delays.c
104 1164 Variable 'NumberOfCyc' has been eliminated by optimizer __Lib_Delays.c
0 122 Compilation Started __lib_gpio.h
860 123 Compiled Successfully __Lib_GPIO_32F2xx_Defs.c
0 122 Compilation Started stdint.h
297 123 Compiled Successfully __Lib_FAT32_Driver_STM32_M3_M4_M7.c
86 1164 Variable 'c_size' has been eliminated by optimizer __Lib_FAT32_Driver_STM32_M3_M4_M7.c
86 1164 Variable 'c_size_mult' has been eliminated by optimizer __Lib_FAT32_Driver_STM32_M3_M4_M7.c
88 1164 Variable 'blocknr' has been eliminated by optimizer __Lib_FAT32_Driver_STM32_M3_M4_M7.c
0 122 Compilation Started stdint.h
105 123 Compiled Successfully __Lib_FAT32_Defs_STM32_M3_M4_M7.c
0 122 Compilation Started stdint.h
674 123 Compiled Successfully main.c
0 127 All files Compiled in 62 ms
3609 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3614 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3625 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3634 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3635 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3636 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3637 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3638 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3639 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3640 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3641 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3653 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3662 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3672 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3675 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3682 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3685 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3691 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3694 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3700 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3703 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3709 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3712 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3718 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3721 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3726 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3742 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
3747 438 Call signature does not match the function definition signature 'FAT32_Put_Char' __Lib_FAT32_STM32_M3_M4_M7.c
457 438 Call signature does not match the function definition signature 'FAT32_Dev_Multi_Read_Sector' __Lib_FAT32_STM32_M3_M4_M7.c
414 438 Call signature does not match the function definition signature 'FAT32_Dev_Multi_Read_Start' __Lib_FAT32_STM32_M3_M4_M7.c
421 438 Call signature does not match the function definition signature 'FAT32_Dev_Multi_Read_Sector' __Lib_FAT32_STM32_M3_M4_M7.c
492 438 Call signature does not match the function definition signature 'FAT32_Dev_Read_Sector' __Lib_FAT32_STM32_M3_M4_M7.c
516 438 Call signature does not match the function definition signature 'FAT32_Dev_Write_Sector' __Lib_FAT32_STM32_M3_M4_M7.c
0 102 Finished (with errors): 31 jul 2021, 14:17:15 SD_FAT32.mcpar

Can you please tell me how to solve this?

Kind regards,
Stefan

BaldoSES
Posts: 1
Joined: 28 Dec 2020 19:26

Re: Error FAT32 mode

#6 Post by BaldoSES » 16 Aug 2021 09:55

HI
we had the same problem and could solve it.
In Edit project - > output settings SSA optimization must be enabled.
Then everything works well.
Otherwise the same errors will occure.

regards
Edgar

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: Error FAT32 mode

#7 Post by filip.grujcic » 18 Aug 2021 09:53

Hello,

Are you using the latest version of the FAT32 library downloaded from here: https://libstock.mikroe.com/projects/vi ... 32-library ?

Regards,
Filip Grujcic

dquy05
Posts: 40
Joined: 20 Apr 2014 11:00

Re: Error FAT32 mode

#8 Post by dquy05 » 19 Oct 2021 11:06

filip.grujcic wrote:
18 Aug 2021 09:53
Hello,

Are you using the latest version of the FAT32 library downloaded from here: https://libstock.mikroe.com/projects/vi ... 32-library ?

Regards,
Hello!

Today when I reset the cpu frequency, this error repeats again, even when creating a new project, reloading the latest FAT32 version, setting SSA to enable, it doesn't work
I hope admin will consider helping

Many thanks!

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

Re: Error FAT32 mode

#9 Post by filip » 22 Oct 2021 08:15

Hi,

Can you explain your issue in details please ?

Regards,
Filip.

Post Reply

Return to “mikroC PRO for ARM General”