problem in using efsl library

OP #1174549
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

Reply

A question of your own? This thread is over 17 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.