ADXL345-DB SD Card not working

We just purchased an ADXL345-DB to perform some time sensitive testing and we are getting an ! Initialize Filesystem failed! error.  The SD card (8G) that came with the kit fails completely, and can not be read or reformatted on a Windows PC.  The error I get from the serial port is:

InitFs(): failed on efs_init() = -2

!!! Initialize Filesystem failed!

I found another 4G SD card, reformatted it just to be sure and it gives a different error

InitFs(): failed on efs_init() = -1

!!! Initialize Filesystem failed!

I never get the blinking green LED as the documentation indicates, just the red LED lights.  I have downloaded the firmware again thinking that it may be a firmware issue, again with no success.  Is there a known issue with this board??  I did see discussion on the list back from 2014 with similar SD card problems, but this is a brand new kit from Mouser, shipped overnight yesterday.  We are on a tight timeline to finish some testing of the 345 so any help would be helpful.

Sincerely,

Allan Overcast

Tracer Technology Systems, Inc.

  • Update:

    We ordered another ADXL345-DB and it arrived today.  The CF card worked this time so the card is good, but we get the exact same error when running the second unit ,

    InitFs(): failed on efs_init() = -1

    !!! Initialize Filesystem failed!

    So... our conclusion is there is a software bug on the CPU on this board that prevents it from working with the SD card interface, something that Analog needs to correct.  If they are selling a board to evaluate a part and the board does not work, that's a major problem when evaluating their product.  I contacted Analog today and they confirmed they have had issues with this board, I just need a fix so it can be used for our testing.

    So I still need direction or a patch if someone has one.

    Thank you,

    Allan Overcast

    Tracer Technology Systems, Inc.

  • Hi Allan,

    Sorry to hear such issue with your board. The issue may be caused by the SD card. I think the firmware is developed based on 2G SD card before. But it is hard to find the old brand 2G SD card. When the card changed, there may be some compatibility issue. I think you contacted our local support team already, they will contact you to solve the issue, ship a new SD card to you. Thanks.

    BR

    Neil

  • Update:

    ADI sent out a 2G SD card to see if the issues were addressed, but still to no avail.

    >>> Initialized System ok

    C:\Users\twatkin\Desktop\EVAL-ADXL345Z-DB Files\datalogger.c:723 InitFs(): going to log to xl345/data0000.txt

    C:\Users\twatkin\Desktop\EVAL-ADXL345Z-DB Files\datalogger.c:728 InitFs(): failed on efs_init() = -2

    !!! Initialize Filesystem failed!

    I formatted the card as FAT-32 from a WindowsPC as the cards that arrived were not formatted, so now I get a -2 file system error, so still searching for answers.

    Allan

  • I just purchased an ADXL345-DB and am having the same issue.

    2GB SD card gives this error:

    InitFS(): failed on efs_init() = -2

    4GB SD card gives this error:

    InitFS(): failed on efs_init() = -1

    This is really annoying since the 2GB SD card was shipped from Analog Devices.

    Flashing the development board didn't make a difference for me either. I'll be trying some older 1 GB cards.

  • It was recommend to me to look at the ADXL362, so we will be trying the data logger for the different part.  I hope to have the different board in the next couple days.  Once my evaluation is complete I will report back.  I have given up on the ADXL345-DB board, so if you can I would recommend returning the module and exchanging for the ADXL362-DB board, which I know works.

    Allan