hi yipingwang
please refer my question https://community.nxp.com/thread/522478
emmc boot
In my first custom board , sdhc_clk,sdhc_cmd have waveform,sdhc_data0 always pull low
In my second custom board, sdhc_clk,sdhc_cmd have waveform,sdhc_Data0 have waveform but ls1046a have no responding,and it keep reset.
Please provide the processor connection schematics as searchable PDF for inspection.
hi ufedor
For confidentiality reasons, only circuits related to emmc can be provided.
Please provide RCW being used.
hi ufedor
RCW:
1 #PBL preamble and RCW header
2 aa55aa55 01ee0100
3 # RCW
6 #
7 080b000a 0e000000 00000000 00000000
8 00008888 40c04002 60000000 c1000000
9 00000000 00000000 00000000 004388de
10 00020500 00223002 00000096 00000001
Attachment is the emmc chip I use.
You wrote:
> when I switch to emmc, I still can't read the ID information of emmc.
Does it mean that the emmc device is empty?
Judging from the phenomenon, all operations on emmc return 0xff. When I use fl_dump, the data returned is 0xff.
i don't know what you means emmc deviceis empty.
> i don't know what you means emmc deviceis empty.
It does not contain a valid RCW.
there is a valid RCW source ,0x40. same as sd boot
The "RCW source" must contain a valid RCW.
yes , there is a complete RCW source &data in emmc .
Refer to AN12081, even if there is no information in emmc, you can communicate with emmc through cw tap
My problem is that on my own board, the LS1046a cannot communicate with emmc by any method, whether or not there is a complete RCW.
> yes , there is a complete RCW source &data in emmc
> on my own board, the LS1046a cannot communicate with emmc by any method
How this could be simultaneously?
By which method RCW was written into the emmc?
How can you check that the RCW is properly read out from the emmc during POR?
And here is the output of the hexdump u-boot-with-spl-pbl.bin.
Sorry, I didn't make it clear.
Let me explain the situation of my board again.
First, I found that my board couldn't flash emmc through cw tap, and then I took off the emmc. I used the emmc writer to flash firmwarexxx.img to the 0x1000 position of emmc in advance. Then I soldered the programmed emmc to my board.
Then set cfg_rcw_src [0: 8] to 0x40, my board still can't get up.
Then I checked the waveforms of the cmd and data0 signals
cmd has a periodic signal that will repeat many times, no data0 signal is returned.
> Then I checked the waveforms of the cmd and data0 signals
> cmd has a periodic signal that will repeat many times, no data0 signal is returned.
Use a digital scope to check which data is read out from the emmc during POR.
Due to the outbreak in China, I can no longer check the waveform.
But I have measured the waveform before.
>Use a digital scope to check which data is read out from the emmc during POR.
During POR ,the data0 is always low,and data1-3 are always 1.4V
This could indicate some issue with emmc connection.
thank you . Can you confirm my emmc Schematic is right?
I will check the layout and other reasons
RST signal of the emmc is not connected.
Refer to the LS1046ARDB-PB schematics.
hi @ufedor
my emmc ver is 5.1, but ls1046a sdhc emmc ver is 4.5,Are they compatible?
if not compatible,Can I use emmc version 5.0?