I tried to connect the two memory card devices by connecting it on ssp port of lpc2148, i have access to memory cards when i enabling them one by one but i can't access memory card device 1 when i'm enabling the both devices on file configuration.c I connected both card's MOSI,MISO,SCLK on same ssp port of lpc2148,i'm using GPIO port 0.20 for ss of one memory card and GPIO port 0.07 of another memory card
I used example program for SD_file in MCB2140 ,i modified spi driver with ss pin as gpio port 0.07 for second device,for first device i'm using inbuilt spi driver
NOTE: I can access both device separately on same bus,i can't able to access them at a time
PLS give some idea
...the function execution goes as infinite loop without any return value. In which infinite loop does it get stuck-up in? Have you checked if any fault is generated or not? (Bus Fault, memory management fault, hard fault...) Debug and check.
My code get stucked for initializing two memory cards in a row,my code get stucked on finit function when i configure it for two memory cards,i checked that in finit(NULL) function it is able to only activate default drive ,i had no idea about finit function ,i hadn't added any codes to check. both memory cards are working perfectly in the same bus activated separately in file configuration, i think that hardware part has no problem.is there any limitation in memory card size? i'm using 2gb memory cards,pls guide me Thanking you sry for delay to answering ur questions