Posted on April 30, 2013 at 11:30
Hi guys,
I've been working on interfacing an SD Card with this board but I'm having some issues on programming. The problem is that I've made a function to read a cluster on the sd card however as soon as I u...
Posted on May 01, 2013 at 16:22The problem is the same as when I was having stack overflow despite I've now declared the array uint8_t Cluster[4096] as global, wich is that the function SD_ReadCluster() doesn't fill the array Cluster[] with any usef...
Posted on April 30, 2013 at 21:27
Thank's for the hint but I tried to make it global and it didn't worked.
I tried this way:
In Main.c:
#include <SDCard.h>
int
main(
void
){
SD_Init();
SD_ReadCluster(2,Cluster);
while
(1)
{
Delay(0xFFF...
Posted on April 30, 2013 at 14:35I tried to make them global and static but both doesn't work as it returns both array completly filled with 0. How do I make the stack bigger?EDIT: Problem Solved the stack size was of only 512 words.All I need was t...
Posted on April 30, 2013 at 14:08
I've tested the SD Card library I made alone and it works as long as I don't use SD_ReadCluster() and I've also noticed one thing wich is that using that function breakes everything for example I tried to do SD_...