EmbDev.net

Forum: ARM programming with GCC/GNU tools problem in using efsl library


von Hardik S. (hardik)


Rate this post
useful
not useful
Hi,
   I am finding a problem with efsl library while porting it for arm9, i
am using SPI interface with target processor as atmel arm9260. I have
compiled the library with few warnings  as shown below:
1
arm-elf-gcc -mcpu=arm7tdmi -mthumb -mthumb-interwork -gdwarf-2 -Wall -Os
2
-Iinc -Iconf   -c -o src/ioman.o src/ioman.c
3
[u][b]src/ioman.c:285:2: warning: #warning "M. Anton: Unofficial
4
ioman_writeSector() patch active if(r<=0){ -> if(r!=0){"
5
src/ioman.c:416:2: warning: #warning "M. Anton: Unofficial
6
ioman_flushSector() patch active - ioman_writeSector() test was
7
incorrect"[/b][/u]
8
9
src/interfaces/sd.c:384:2: warning: #warning "inofficial CSD-read patch
10
active sd_Resp8b->if_spiSend"
11
arm-elf-gcc -mcpu=arm7tdmi -mthumb -mthumb-interwork -gdwarf-2 -Wall -Os
12
-Iinc -Iconf   -c -o src/ls.o src/ls.c
13
[b]In file included from inc/ls.h:38,
14
                 from src/ls.c:34:
15
inc/fs.h:169:2: warning: #warning "mt ATTR_PACKED active"[/b]
This is the output which comes on serial while debugging:
1
úHI!!!CARD init...Card is initialising...................
2
CSD: 00 5E 00 32 5F 59 83 B8 6D B7 FF 9F 96 40 00 D1
3
Card Capacity is 998768640 Bytes (1950720 Sectors)
4
Unknown error 0x7F (see SanDisk docs p5-13).
5
Argument out of bounds.
6
failed:-(

If any one has tried a similar thing successfully do REPLY

Regards,
Hardik Shah
Email: imhardikshah@gmail.com

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.