- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to the previous post, the bin file was successfully created.
https://community.infineon.com/t5/PSoC-6/How-to-create-bin-file-in-Modus-Toolbox/m-p/340151#M12228
But in the following example, an error occurs when compiling.
- CY8CKIT-062-WIFI-BT
- Basic_Device_Firmware_Upgrade_boolader_cm4
There seems to be a problem if there are spaces in the folder, but my folder does not contain spaces.
I don't know how to solve it.
Regards,
YS
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI @YongseokJeon ,
I am observing the folder name "I2C" in the build folder instead of the target name like "CY8CKIT-062-WIFI-BT"
From your project MakeFile I found that you are renaming the name of the target build folder using the macro CY_BUILD_LOCATION.
So you need to updated the following macro as shown:
DEBUG_PATH=./$(CY_BUILD_LOCATION)/$(APPNAME)/$(TARGET)/Debug
Hope this helps.
Warm Regards
Alen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @YongseokJeon ,
According to the error message you have shared, it seems that the .elf file is not generated in the following path
<path to project>/build/<TARGET name>/Debug/
Because of it the compilation of the bin file generation command is giving you and error saying that the .elf file of the project is not found.
Can you please first perform a Build of the project from ModusToolbox and then check the above mentioned Debug folder and see if the .elf file is present in the same?
Can you also share the whole error log here as a .txt file for better analysis.
Warm Regards
Alen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI @YongseokJeon ,
I am observing the folder name "I2C" in the build folder instead of the target name like "CY8CKIT-062-WIFI-BT"
From your project MakeFile I found that you are renaming the name of the target build folder using the macro CY_BUILD_LOCATION.
So you need to updated the following macro as shown:
DEBUG_PATH=./$(CY_BUILD_LOCATION)/$(APPNAME)/$(TARGET)/Debug
Hope this helps.
Warm Regards
Alen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alen,
Thanks a lot.
Now it works very well.
Best Regards,
YS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @YongseokJeon ,
Glad your query is resolved!
Please feel free to post any queries or issues you may have on Infineon products in the community and we will be happy to help.
Warm Regards
Alen