Hi,
In my design, I plan to boot up the AM2505 for the 1st time using the 3V3 MMC1 interface.
As such I have set the Sys_boot pins to use the following setting
Config Pins Value Peripheral Booting Order
1 2 3 4
Sys_boot[5] & Sys boot[4..0]....1 0 1 1 0 1 USB UART MMC1 XIP-NOR
Sys_boot[6]............................... 1 Ext 26M SQUARE CLK
Sys_boot[7]............................... 0 Exter 32K OSC
On board power up I have confirmed the AM3505 to have the correct Power-Up sequence,32kHz and 26MHz clocks inputs, sys_nRESPWRON assertion/deassertion.
After PowerOnReset , on probing the MMC1_Clk(AA9) , MMC1_Dat0(AC9) and MMC1_Cmd(AB9) pins, I see NO activity. ( I was expecting to atleast see a 400 kHz identification Clock signal on the MMC1_Clk pin)
However, while I was probing around the GPMC interface for any activity I noticed that the GPMC_nCS0 was toggling!
I then changed the booting sequence to Memory Booting Order as below, but saw the same result!
Sys_boot[5] & Sys boot[4..0]....0 0 1 1 0 1 XIP-NOR USB UART MMC1
Looking around for any obvious information on the Data Sheet and the TRM, I noticed that the Ball Characteristics Table 2-1 may explain this...
As seen in the Table, the RESET REL MODE of the MMC interface is MODE = 7, while the MMC function on the pins is available only for MODE = 0. I interpret this as the MMC interface pins are configured as High-Impedance( Safe_mode) MODE 7, as such I see no activity??
While the RESET REL MODE of the GPMC interface is MODE = 0 , as well as the GPMC function on the pins is available for MODE = 0. As such I see activity!!
Q1) Can you confirm if this is the reason why I see signal toggling on the GPMC interface BUT NOT the MMC interface?
In the case of my design, I need to wake up a dead board by first using the Uboot/UserCode from MMC interface. The code from the MMC shall be then shadowed in the attached NOR-FLASH on the GPMC. Once this is done, the MMC shall be removed and on the next power-up, the code will be loaded from FLASH.
It seemed to be quite straight forward as per section 24.4.7.6 MMC/SD Cards of the SPRUGR0B–October 2009–Revised July 2010, that the ROM code supports MMC cards!!
Q2) So is there any thing else, any external config etc, that needs to be done/configured to make the AM3505 boot from the MMC to achive the above?
Thank you,
Pretesh Mascarenhas