Igor,
Thanks for the suggestions, but I do have the correct device selected (mmc dev 2) and I have successfully used the MFG Tool to write eMMC as you suggested. The heart of the issue needing o scrub eMMC from U-Boot is because we have no jumpers or DIP switches on our custom board to select a boot mode (its hardwired to eMMC due to the application). I only used the i.MX6Q SabreSD Board as my example because our custom board is based upon that reference design. The bottom line is the U-Boot mmc erase command is failing and without being able to erase the eMMC boot partition the custom board still boots into U-Boot and will not go into serial download mode. Basically, its bricked unless we de-solder resistors to create an invalid boot mode and then put them back after reloading. Not a great option.
Here's a list of the U-Boot commands and the result of each.
----------------------------------------
=> mmc list
FSL_SDHC: 0
FSL_SDHC: 1 (SD)
FSL_SDHC: 2 (eMMC)
=> mmc dev 2
switch to partitions #0, OK
mmc2(part 0) is current device
=> mmc info
Device: FSL_SDHC
Manufacturer ID: 45
OEM: 100
Name: SEM08
Tran Speed: 52000000
Rd Block Len: 512
MMC version 4.4.1
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 16 MiB
User Capacity: 7.4 GiB WRREL
Boot Capacity: 2 MiB ENH
RPMB Capacity: 128 KiB ENH
=> mmc erase 0 0x400
MMC erase: dev # 2, block # 0, count 1024 ... Timeout waiting for DAT0 to go high!
mmc erase failed
0 blocks erased: ERROR
=>
Any insight on this issue is greatly appreciated.
Thanks,
C