mod54415 EFFS_MULTIPLE_MMC Factory Example

Discussion to talk about software related topics only.
Post Reply
henry_PIE
Posts: 11
Joined: Mon Jan 28, 2013 8:06 pm

mod54415 EFFS_MULTIPLE_MMC Factory Example

Post by henry_PIE »

Hi everyone!

I've been playing with my new mod54415 dev kit; recently I tried to run the EFFS_MULTIPLE_MMC example located in .../examples/MOD5441X/EFFS_...

I found that the program isn't able to format the microSD onboard;but it does recognize the offboard SD card and it is able to write the .txt file.

The memory I am using is a 2GB SanDisk microSD for the onboard socket and another one with a microSD Adapter for the offboard socket.

I ran the program without the microSD and, as expected, it ask you to insert the microSD. Once I insert it (onboard socket), it prints these errors:

F_ERR_NOTFORMATTED
F_ERR_INVALIDDRIVE.

I tried with the microSD already inserted before running the program, and still doesnt seem to be able to format it.

I have not modified the original code of the example.
I used the MOD-Dev-70 dev board.

I would appreciate any insights on what might be wrong.

Thanks!
Last edited by henry_PIE on Fri Apr 19, 2013 3:48 pm, edited 3 times in total.
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: mod54415 EFFS_MULTIPLE_MMC Factory Example

Post by dciliske »

What version of the tools do you have installed? There was a bug with that exact issue in 2.6.0...
Dan Ciliske
Project Engineer
Netburner, Inc
henry_PIE
Posts: 11
Joined: Mon Jan 28, 2013 8:06 pm

Re: mod54415 EFFS_MULTIPLE_MMC Factory Example

Post by henry_PIE »

My NNDK is version 2.6.0 T026
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: mod54415 EFFS_MULTIPLE_MMC Factory Example

Post by rnixon »

Is the flash card formatted already and you are trying to reformat it? I would try putting it in a computer and formatting to FAT32. Then see if it can be recognized.
ddeham
Posts: 9
Joined: Tue Feb 24, 2009 7:37 am

Re: mod54415 EFFS_MULTIPLE_MMC Factory Example

Post by ddeham »

I had the same problem. The two archive files that shipped with tools release 2.6.2 and 2.6.1 are bogus (non-working): sfnfatfile.a and lfnfatfile.a. If you ran the batch file to use long file names or tried to revert back to short names, you overwrote the good file fatfile.a, and you will have to reinstall the tools or wait for a better release. Regardless of what you do, until you get the correct version of lfnfatfile.a, you can't use long filenames.
At 10:40 AM 4/12/2013, NetBurner Support wrote:
Hello,

Last night we confirmed that fatfile.a for long filename was not getting
built in our conitinuos build system. It was fixed last night and I'm
looking at two new sfnfatfile.a and lfnfatfile.a files. Please try
copying these to your nburn\lib directory. Then, run either
longfilename.bat or shortfilename.bat in your pcbin directory. Then, for
your project, do a make clean and the build it again. Please let me know
if this works for you.


Forrest
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: mod54415 EFFS_MULTIPLE_MMC Factory Example

Post by dciliske »

Henry,

You will need to install the 2.62 tools to use the onboard card slot and then download the library zip file found in this thread http://forum.embeddedethernet.com/viewt ... f=5&t=1635 and extract it to your \nburn\lib\ directory.

-Dan
Dan Ciliske
Project Engineer
Netburner, Inc
Post Reply