dcc elf生成hex文件
C:WindRiverutilitiesx86-win32inobjcopyppc -O ihex filename.elf filename.hex
dcc elf转mot文件并规范成S325格式
ddump -Rv ${ProjName}.elf & D:\srecord-1.64-win32\srec_cat.exe srec.out -fill 0xFF -within srec.out -range-pad 32 -Output_Block_Size 32 -output ${ProjName}.mot -address-length=4
gcc elf转mot文件并规范成S325格式
powerpc-eabivle-objcopy -O srec ${ProjName}.elf ${ProjName}.srec & D:\srecord-1.64-win32\srec_cat.exe ${ProjName}.srec -fill 0xFF -within ${ProjName}.srec -range-pad 32 -Output_Block_Size 32 -output ${ProjName}.mot -address-length=4
注意:路径可能根据不同的个人设置不同而不同。