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

Author: Hardik Shah (hardik)
Posted on:

Rate this post
0 useful
not useful
   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:
arm-elf-gcc -mcpu=arm7tdmi -mthumb -mthumb-interwork -gdwarf-2 -Wall -Os
-Iinc -Iconf   -c -o src/ioman.o src/ioman.c
[u][b]src/ioman.c:285:2: warning: #warning "M. Anton: Unofficial
ioman_writeSector() patch active if(r<=0){ -> if(r!=0){"
src/ioman.c:416:2: warning: #warning "M. Anton: Unofficial
ioman_flushSector() patch active - ioman_writeSector() test was

src/interfaces/sd.c:384:2: warning: #warning "inofficial CSD-read patch
active sd_Resp8b->if_spiSend"
arm-elf-gcc -mcpu=arm7tdmi -mthumb -mthumb-interwork -gdwarf-2 -Wall -Os
-Iinc -Iconf   -c -o src/ls.o src/ls.c
[b]In file included from inc/ls.h:38,
                 from src/ls.c:34:
inc/fs.h:169:2: warning: #warning "mt ATTR_PACKED active"[/b]
This is the output which comes on serial while debugging:
úHI!!!CARD init...Card is initialising...................
CSD: 00 5E 00 32 5F 59 83 B8 6D B7 FF 9F 96 40 00 D1
Card Capacity is 998768640 Bytes (1950720 Sectors)
Unknown error 0x7F (see SanDisk docs p5-13).
Argument out of bounds.

If any one has tried a similar thing successfully do REPLY

Hardik Shah
Email: imhardikshah@gmail.com


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.