Bootloader application creation error

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

cross mob
Manoj_Kumar
Level 3
Level 3
50 sign-ins 25 replies posted 10 questions asked

I am trying to create the bootloader build in example, but its giving me this error.

ERROR:Failed to export the "MCUboot_based_Basic_Bootloader_for_PSoC_61" application to Eclipse IDE for ModusToolbox™.

 

0 Likes
1 Solution
Gautami_12
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 250 replies posted

Hi @Manoj_Kumar ,

Please check if have you done the second point

Gautami_12_0-1675336000529.png

 

If not please add the python installation path from the ModusToolBox installation directory to the top of the system path environmental variables. Then try to import the project.
We tried this method and this project is working properly at our end.

Warm Regards,
Gautami J

View solution in original post

0 Likes
5 Replies
Gautami_12
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 250 replies posted

Hi @Manoj_Kumar ,

Please check if you have added the correct location in the tools path. By default, it should be located in ~/ModusToolbox/tools_3.0, where ~ is your user home directory.
If this does not solve the issue. Can you please send the screenshot of the error logs?

Also please refer to a similar thread.

Warm Regards,
Gautami J

0 Likes
lock attach
Attachments are accessible only for community members.
Manoj_Kumar
Level 3
Level 3
50 sign-ins 25 replies posted 10 questions asked

So this is the error am getting. All the configurations are correct. But still this application wont create

0 Likes
Gautami_12
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 250 replies posted

Hi @Manoj_Kumar ,

We tried to import/create the MCUboot_based_Basic_Bootloader code example via the project creator by selecting CY8CKIT-062-WIFI-BT as the desired board. It got created without any problem.
Can you please try using a different workspace directory and try creating your project there?
Also please let us know which device you are using.

Warm Regards,
Gautami J

0 Likes
lock attach
Attachments are accessible only for community members.

Am using an CY8CKIT-062S2-43012. Now its getting created, but when i build the application that is the bootloader application its giving me these errors.

make[4]: *** No rule to make target '../../mtb_shared/mcuboot/v1.8.1-cypress/boot/cypress/platforms/security_counter/cy_security_cnt.c', needed by 'C:/Users/Developer/mtw/MCUboot_based_Basic_Bootloader_for_PSoC_61/bootloader/build/APP_CY8CKIT-062S2-43012/Debug/ext/mtb_shared/mcuboot/v1.8.1-cypress/boot/cypress/platforms/security_counter/cy_security_cnt.o'. Stop.
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [../../mtb_shared/core-make/release-v3.0.2/make/core/main.mk:376: secondstage_build] Error 2
make[2]: *** [C:/Users/Developer/ModusToolbox/tools_3.0/make/application.mk:72: build] Error 2
make[1]: *** [../../mtb_shared/core-make/release-v3.0.2/make/core/build.mk:314: build_application_bootstrap] Error 2
make: *** [../../mtb_shared/core-make/release-v3.0.2/make/core/main.mk:376: secondstage_build] Error 2

0 Likes
Gautami_12
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 250 replies posted

Hi @Manoj_Kumar ,

Please check if have you done the second point

Gautami_12_0-1675336000529.png

 

If not please add the python installation path from the ModusToolBox installation directory to the top of the system path environmental variables. Then try to import the project.
We tried this method and this project is working properly at our end.

Warm Regards,
Gautami J

0 Likes