- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
The customer need the .bin file for the bootLoader,how to output .bin file by Psoc creater IDE?
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Tags:
- psoc4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In PSoC Creator, go to Build Settings > ARM GCC Version > User Commands where you can specify the post build commands to generate the bin file. For the conversion itself you will need a third party hex to bin converter tool. The commands for conversion should then be added based on the syntax provided by the third party tool in the post build.
"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"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Dave_Long,
Can you please let me know if you are looking to convert the bootloadable .cyacd file to a .bin file? If that is the case then this thread could help - CYACD to BIN Tool
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rakshith:
The customer want to convert the APP .hex to .bin.After the build finish,Only hex files are generated。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Dave_Long,
You could try using a post-build command to run an intel hex to bin converter to generate the bin file or run a custom script to convert the hex file to a bin file.
Can you please provide details regarding the application and the reason for this request? This would help us better understand the request.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In PSoC Creator, go to Build Settings > ARM GCC Version > User Commands where you can specify the post build commands to generate the bin file. For the conversion itself you will need a third party hex to bin converter tool. The commands for conversion should then be added based on the syntax provided by the third party tool in the post build.
"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"