Use below command to generate BIN file and copy it to the image above. "C:\Program Files (x86)\Cypress\PSoC Creator\4.4\PSoC Creator\import\gnu\arm\5.4.1\bin\arm-none-eabi-objcopy" -S -O binary ".\CortexM0p\ARM_GCC_541\Debug\Design01.elf" ".\CortexM0p\ARM_GCC_541\Debug\Design01.bin"
To generate standard intel hex file instead of cypress hex file, please use script: "C:\Program Files (x86)\Cypress\PSoC Creator\4.4\PSoC Creator\import\gnu\arm\5.4.1\bin\arm-none-eabi-objcopy" -O ihex ".\CortexM0p\ARM_GCC_541\Debug\Design01.elf" ".\CortexM0p\ARM_GCC_541\Debug\Design01_intel_hex.hex"
To generate .s19 file instead of hex file, please use script: "C:\Program Files (x86)\Cypress\PSoC Creator\4.4\PSoC Creator\import\gnu\arm\5.4.1\bin\arm-none-eabi-objcopy" -O srec ".\CortexM0p\ARM_GCC_541\Debug\Design01.elf" ".\CortexM0p\ARM_GCC_541\Debug\Design01.s19"
To generate bin file use ARM MDK compiler, please use script: "C:\Keil_v5\ARM\ARMCC\bin\fromelf" --bincombined --output=".\CortexM0p\ARM_MDK_Generic\Debug\Design01.bin" ".\CortexM0p\ARM_MDK_Generic\Debug\Design01.elf" Note: 指令路径中的 CortexM0p 也可能是 CortexM0,取决于你使用的 PSOC4 是哪个核。 类似问题贴 How can PSoC Creator GCC linker generate binary BIN file
|