|
Hi Everyone, I am trying to make my SD card in my board(with AT91SAM9261). Tested hardware with keil, its working fine, I am working around u-boot-2010.09 version of u-boot. I think the problem is with initialization of SD card code. when i call mmc_cmd function by following line. its getting hanged return mmc_cmd(0, 0, NULL, INIT_CMD);
U-Boot> mmc init Total Arguments = 2 argv[0] = mmc , argv[1] = init in do_mmc if RAJEEV argv[1] = init after strcpy argv[1] = init Passed strcmp if loop in argc == 2, dev = 1 Trying Bounce before mmc_legacy_initTrying to Negotiate with MMC Controller verbose = 1 MMC Mode Set to 0x5f Trying to Reset and Initialize SD CARD ANALOGICS TECH INDIA LTD Total Arguments = 0 cmd = 0 resp = 0 flags = <NULL> in mmc_cmd rajeev in first if in else if in do statement status = 0 MMCI_BIT(CMDRDY) = 1 out of do while at return MMC INIT IDLE returns = 0 ANALOGICS TECH INDIA LTD Total Arguments = 0 cmd = 0 resp = 0 flags =
its getting struck here. when i checked SD card code in KIEL INIT_CMD should have the value 0x0700 but when i tested the part of the code i am getting 0x0100. Can anyone suggest which u-boot version i should use. what would be the problem. Thanks in ADVANCE Rajeev.
|