cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

Anonymous
Not applicable

Hello,

When we develop PSoC6 Software, Creator 4.2 generate two hex files into CorteM0p and CortexM4 directories.

When I compare the files. auxiliary first half of M4 Hex is the same as M0P. But M0p Hex dose not have other part of M4.

If we download Hex file at mass production or factory programming phase, can we use the M4 Hex file?

Best regards,

0 Likes
Reply
1 Solution
Anonymous
Not applicable

Hello,

PSoC Creator generates a set of elf & hex files for CM0p and afterwards for CM4. After both set of files are generated, they are merged into the hex file of CM4.

That is why you see that the hex file for CM4 contains information for both cores. This hex file is the one that should be used to program the PSoC device.

Regards,

View solution in original post

0 Likes
Reply
3 Replies
Anonymous
Not applicable

Hello,

PSoC Creator generates a set of elf & hex files for CM0p and afterwards for CM4. After both set of files are generated, they are merged into the hex file of CM4.

That is why you see that the hex file for CM4 contains information for both cores. This hex file is the one that should be used to program the PSoC device.

Regards,

View solution in original post

0 Likes
Reply
Anonymous
Not applicable

Hello,

Thanks.

When we are debugging with Creator, we have to chose one of core in Creator.

When we chose CM0p, is the hex file of only CM0P used? That is, is the only CM0p code downloaded?

When we chose CM4, is the both CM0p and CM4 code downloaded?

Best regards,

0 Likes
Reply
Anonymous
Not applicable

When you program or debug the PSoC 6 MCU, the device is programmed with code for both cores (The merged hex file is used). The core selection only matters for debugging.

Regards,

0 Likes
Reply
Top labels