Page 1 of 1

onboardCardReaderCD

Posted: Wed Feb 24, 2016 1:47 pm
by sulliwk06
I'm having trouble detecting if there is an mirco SD card installed onboard on a MOD54415.

It seems as if onboardCardReaderCD() always returns 1 even if the card is not installed. Does the hardware not support this? Is this the correct way to detect if a card is installed onboard?

Re: onboardCardReaderCD

Posted: Sun Feb 28, 2016 9:45 am
by pbreed
What is your hardware revision?

Some of the very earliest Mod54415 had a micro SD Card connector the proved to be too fragile and
we changed vendors.(Unfortunately this also changed the footprint..)

Re: onboardCardReaderCD

Posted: Mon Feb 29, 2016 5:21 am
by sulliwk06
I'm seeing this happen on:

MOD54415 Rev 1.9
MOD54417 Rev 1.1

Running NNDK 2.7.3

Re: onboardCardReaderCD

Posted: Wed Mar 02, 2016 9:38 am
by pbreed
Those both have the newest micro sd card holder....

Re: onboardCardReaderCD

Posted: Fri Mar 04, 2016 10:21 am
by sulliwk06
So to eliminate any variables, I loaded my MOD54415 Rev 1.9 with the EFFS-MULTIPLE-MMC example from NNDK 2.7.3 and placed it on a MOD-DEV-70 board. Without any microSD or SD card installed, this was the output I got. It should pause when it detects that no microSD card is installed and ask me to insert one and press enter, but it does not.

Code: Select all

Waiting 2sec to start 'A' to abort
Configured IP = 0.0.0.0
Configured Mask = 0.0.0.0
MAC Address= 00:03:f4:07:d7:5b

===== Starting EFFS Onboard test Program =====
Trying DHCP
DHCP assigned the IP address of :192.168.1.137
***************Onboard flash
FAT mount to  failed: F_ERR_NOTFORMATTED
drive change failed: F_ERR_INVALIDDRIVE
Unmounting card

*** Error in f_delvolume(): F_ERR_INVALIDDRIVE
***************Off board flash
No off-board MMC/SD card detected. Insert a card and then press <Enter>
Does the NNDK 2.7.3 support the newer card holder?