PIC18f4620 with mcc18 Fsfprintf Error SD card

Create new topics, add your comment, remark, bugs...
Posts: 1
Joined: Thu Mar 08, 2012 9:04 am

PIC18f4620 with mcc18 Fsfprintf Error SD card

Postby yiwen89 » Thu Mar 08, 2012 9:07 am


I am facing an error in my program code.

Error - could not find definition of symbol 'FSfprintf' in file './testingtesting.o'.

I am wondering why i cant get through this error. I am able to use Fsfwrite and Fsfopenpgm. I get to create a file text in the SD card and I get to write "harlooo" inside the file text. But, when I want to use Fsfprintf command, it fails me. Anyone here could help?And I am thinking to outsource my project. All you need to do with my project is just log the data from an accelerometer into the SD card. I am using C language with mcc18 compiler.

p/s:1)I already enable the Fsfprintf in FSconfig.h.
2) I enable the integer promotion in the Build Options.

3) I added SECTION NAME=dataBuffer RAM=buffer1 into my linker scripts.
4) I added SECTION NAME=_SRAM_ALLOC_HEAP RAM=gpr11 into my linker script too but I am not sure whether i got add wrong for this section as I modify it from a book.

Hope to hear from you soon.


Return to “General Remark and Questions”

Who is online

Users browsing this forum: Google [Bot] and 1 guest