rikrdos6
Newbie level 4
Good day to you people.
I'm developing a project where I need to store audio samples to an SD card in .wav format, the audio data is 16 bits resolution, stereo, with a sampling rate of 48khz, i'm using a dsPIC33FJ128GP802 because of it's DCI peripheral(to communicate with audio ADC) and its audio DAC, at the present time I am trying to write the samples to the sd card, i'm using microchip MDD library but i'm finding it too slow for my application, I need almost 200 Kbyte/sec throughput rate, so I will now use ChaN's FatFS library which I've read is a lot faster, I'm trying to port the FatFs PIC24F sample I found on ChaN's website to my dsPIC33F, I changed the Microcontroller, the working pins and found out the registers are almost the same, but when I try to compile de project, an error message: "ff.o: Link Error: Could not allocate section .nbss, size = 264 bytes, attributes = bss near" keeps popping out, does anybody knows what this means? has anyone ported the sample project to a dsPIC33F? I also erased the main.c code except for the get_fattime function so I could get a little test code of my own.
Any help would be appreciated and thank you for your time.
I'm developing a project where I need to store audio samples to an SD card in .wav format, the audio data is 16 bits resolution, stereo, with a sampling rate of 48khz, i'm using a dsPIC33FJ128GP802 because of it's DCI peripheral(to communicate with audio ADC) and its audio DAC, at the present time I am trying to write the samples to the sd card, i'm using microchip MDD library but i'm finding it too slow for my application, I need almost 200 Kbyte/sec throughput rate, so I will now use ChaN's FatFS library which I've read is a lot faster, I'm trying to port the FatFs PIC24F sample I found on ChaN's website to my dsPIC33F, I changed the Microcontroller, the working pins and found out the registers are almost the same, but when I try to compile de project, an error message: "ff.o: Link Error: Could not allocate section .nbss, size = 264 bytes, attributes = bss near" keeps popping out, does anybody knows what this means? has anyone ported the sample project to a dsPIC33F? I also erased the main.c code except for the get_fattime function so I could get a little test code of my own.
Any help would be appreciated and thank you for your time.