Hi,
I am working on LS1012 processor, need to know which programming tool can be used to flash to eMMC .
Can you provide a document which explains procedure of programming tool to flash to eMMC .
Thanks in advance,
Shourie
Hello Shourie Manjunatha,
CodeWarrior for ARMv8 provide the function to program eMMC/SD device, you could download CodeWarrior for ARMv8 from CodeWarrior® ARM® v8 64 bit|NXP.
The procedure is similar as Flash programing, you could refer to the first section in "Use CodeWarrior for ARMv8 to Debug U-boot and Linux Kernel and Bring up Bare Boards", just select eMMC/SD device in the Devices list in CodeWarrior Flash Programmer.
In addition, eMMC/SD device is not defined in LS1012 initialization file, please add the following in the section "Adds Flash devices for this board" in LS1012 CW Target Init File.
# Add SD/eMMC device
gdb.execute("fl_device --alias sd --name SDSP16GB_LSCH2 --address 0x00000000 --waddress 0x80000000 --wsize 0x1FFFF --geometry 8x1 --controller eSDHC")
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------