描述
In 14.1, the checkbox in the FlashWriter GUI to "Convert ELF to bootable SREC format" is greyed out under all circumstances.
解决方案
This is a known issue that was resolved in the 14.2 version of the tools.
Follow these steps to convert your ELF to SREC format:
- In the SDK GUI, click Xilinx Tools -> Launch Shell.
- Type the following command for MicroBlaze:
mb-objcopy -O srec application.elf application.sre
- Type the following command for PowerPC:
powerpc-eabi-objcopy -O srec application.elf application.srec
- Close the shell.
You should now have an SREC in the same location as your "application.elf" file. You can now select that file in the FlashWriter GUI to program.