LPC4088FET208 MCI -- SD card read write examples not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC4088FET208 MCI -- SD card read write examples not working

1,696 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mvkakati on Thu Jun 11 08:24:51 MST 2015
Trying to run the following examples.

~/LPC4088/nxp/lpc407x_8x_177x_8x/lpc407x_8x_177x_8x/Examples/MCI/Mci_CidCard -- working
~/LPC4088/nxp/lpc407x_8x_177x_8x/lpc407x_8x_177x_8x/Examples/MCI/Mci_FS -- not working
~/LPC4088/nxp/lpc407x_8x_177x_8x/lpc407x_8x_177x_8x/Examples/MCI/Mci_ReadWrite -- not working

Complier - Keil 4.7x, LPCXpresso_7.7.2_379
http://shop.ngxtechnologies.com/product_info.php?cPath=21_37&products_id=128

Other examples -- lpcopen_2_10_keil_iar_ea_devkit_4088.zip

Also tried these
http://www.keil.com/support/docs/3610.htm
http://www.lpcware.com/content/project/lpcopen-software-development-platform-nxp-lpc-microcontroller...
http://www.lpcware.com/content/forum/sdcard-mci-lpcopen-not-working
http://www.lpcware.com/content/forum/sdcard-mci-interface-lpcopen
http://198.101.240.182/content/forum/help-sd-card-over-sd-interface

Kindly help me with the above examples.

Thanks in advance,
Milind
标签 (1)
0 项奖励
回复
2 回复数

1,112 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mvkakati on Thu Jun 11 11:36:41 MST 2015
HI,

Can you please let us know which hardware are you using?.

>> http://shop.ngxtechnologies.com/product_info.php?cPath=21_37&products_id=128

Is it your custom board?

>> No

What is the error?

~/LPC4088/nxp/lpc407x_8x_177x_8x/lpc407x_8x_177x_8x/Examples/MCI/Mci_CidCard -- working


=============================================================================================================

Serial port COM23 opened

********************************************************************************
Hello NXP Semiconductors
MCI CID Card
- MCU: LPC407x_8x
- Core: ARM CORTEX-M4
- UART Communicationi: 115200 bps
This example is used to test the Multimedia Card Interface (MCI) function.
It is able to check, show the CID that retrieved from the card
********************************************************************************

Currently the SD CARD ver2.0 is being used

- Manufacture ID: 0x00000002

- OEM/Application ID: 0x0000544D

- Product Name: 0x5344303247

- Product Revision: 0x00000060

- Product Serial Number: 0xAFF8F1A4

- Manufacturing Date: 0x000000A9

=============================================================================================================

~/LPC4088/nxp/lpc407x_8x_177x_8x/lpc407x_8x_177x_8x/Examples/MCI/Mci_FS -- not working

********************************************************************************
Hello NXP Semiconductors
MCI File System Example
- MCU: LPC407x_8x
- Core: ARM CORTEX-M4
- UART Communicationi: 115200 bps
This example is used to demonstrate how to implement a filesystem using MCI.
EFLS,a library for file systems, is used in this example.
********************************************************************************

MMC/SD Card Filesystem Test (P:LPC1788 L:EFSL)

CARD init...  (gets stuck here)

=============================================================================================================

********************************************************************************
Hello NXP Semiconductors
MCI Read Write Example:
- MCU: LPC
- Core: ARM CORTEX-M3/M4
- UART Communicationi: 115200 bps
This example is used to test the Multimedia Card Interface (MCI) function.
It is able to use DMA to transfer data (read/write) with the card
********************************************************************************

=============================================================================================================

~/LPC4088/nxp/lpc407x_8x_177x_8x/lpc407x_8x_177x_8x/Examples/MCI/Mci_ReadWrite -- not working

Currently the SD CARD ver2.0 is being used
- Product Serial Number: 0xAFF8F1A4
Set CARD ADDRESS OK with address 0x8D530000
Get Card Specific Data (CSD) Ok:
[0] = 0x002E0032
[1] = 0x5B5A83A9
[2] = 0xFFFFFF80
[3] = 0x16800090
Card has been selected successfully!!!
SET Bandwidth!!!
Block Length is SET successfully!!!
Write 001 Failed (0x00000002)
Read 001 Failed (0x00000200)
ERROR on Read and Write at position: 0x00000004
>>> EXAMPLES is ENDED

=============================================================================================================
0 项奖励
回复

1,112 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Thu Jun 11 08:38:49 MST 2015
Hi Milind,
Can you please let us know which hardware are you using?.
Is it your custom board?
What is the error?
0 项奖励
回复