Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

jsmith678x
Level 3
Level 3
25 replies posted First solution authored 50 sign-ins

For PSoC 62 do I need have always two project with two main.c ?

The resulting code is one hex file?

(I'm using PSoC creator)

1 Solution
Rakshith
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hi @jsmith678x,

I am not sure I understood your question. 
When you create an empty PSoC 62 project in PSoC Creator, it creates one project with 2 main.c files, one for CM0+ and one more for CM4 CPU. You can choose not to use the main_cm0p.c and run your application on the CM4 CPU. In that case, the CM0+ CPU just enables the CM4 CPU.

The resulting code is one hex file?

Yes, this is correct. You can program the device using the hex file in the Project.cydsn\CortexM4\ARM_GCC_541\Debug directory.

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
1 Reply
Rakshith
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hi @jsmith678x,

I am not sure I understood your question. 
When you create an empty PSoC 62 project in PSoC Creator, it creates one project with 2 main.c files, one for CM0+ and one more for CM4 CPU. You can choose not to use the main_cm0p.c and run your application on the CM4 CPU. In that case, the CM0+ CPU just enables the CM4 CPU.

The resulting code is one hex file?

Yes, this is correct. You can program the device using the hex file in the Project.cydsn\CortexM4\ARM_GCC_541\Debug directory.

Thanks and Regards,
Rakshith M B
0 Likes