- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
is there any way I can flash my own ELF file on a PSoC4 (CY8CKIT-149)??
I have wrote my own Startup-Code and HW initialization and would like to run it on the PSoC. Unfortunately I do not find any possibility to flash the PSoC using PSoC Creater.
Br,
Andreas
Solved! Go to Solution.
- Labels:
-
ispn:40045:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Andreas,
there are two ways:
1) use cyelftool.exe tool to convert your elf file to hex file. You will find it in
C:\Program Files (x86)\Cypress\PSoC Creator\4.2\PSoC Creator\bin\ directory.
cyelftool -C "<path>\<your_file>.elf" --flash_row_size 128 --flash_size 131072 --flash_offset 0x00000000
Then use PSoC Programmer. This is the short way.
2) use openocd 2.1 tool using kitprog as cmsis-dap programmer.
Best regards,
Liviu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Andreas,
there are two ways:
1) use cyelftool.exe tool to convert your elf file to hex file. You will find it in
C:\Program Files (x86)\Cypress\PSoC Creator\4.2\PSoC Creator\bin\ directory.
cyelftool -C "<path>\<your_file>.elf" --flash_row_size 128 --flash_size 131072 --flash_offset 0x00000000
Then use PSoC Programmer. This is the short way.
2) use openocd 2.1 tool using kitprog as cmsis-dap programmer.
Best regards,
Liviu