Programming tool for LS1012 processor

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programming tool for LS1012 processor

468 Views
shouriemanjunat
Contributor I

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

0 Kudos
1 Reply

330 Views
yipingwang
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos