- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello community,
I am working with the CY4532 and the PSoC Creator. When building my software a default EZ-PD configuration gets written into the HEX-file. I know that I can alter the configuration with the EZ-PD configuration utility but I would rather alter it as part of building the software in PSoC Creator. Is this possible and how?
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
ispn:39570:1:0
-
l1:314:1:0
-
PSoC4MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @winter_p ,
Thank you for posting in infineon community and sorry for the late reply.
In SDK file you will get the example project which we can build and use directly.
if you want to change the configuration, then you have to use EZ-PD configuration utility for easy configuration.
two ways to configure CCGx device.
1. Goto file -> Read from firmware file and select the .cyacd file from EZ-PD configuration utility to configure and finally save to the same firmware file.
2. if you create new project from EZ-PD configuration utility, tool will generate .c file. you can replace the content of .C file with config.c file in the same example project which you will get it from SDK and build it.
Best Regards
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @winter_p ,
Thank you for posting in infineon community and sorry for the late reply.
In SDK file you will get the example project which we can build and use directly.
if you want to change the configuration, then you have to use EZ-PD configuration utility for easy configuration.
two ways to configure CCGx device.
1. Goto file -> Read from firmware file and select the .cyacd file from EZ-PD configuration utility to configure and finally save to the same firmware file.
2. if you create new project from EZ-PD configuration utility, tool will generate .c file. you can replace the content of .C file with config.c file in the same example project which you will get it from SDK and build it.
Best Regards
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mohamed,
thank you very much for your response.
I would like to go with the c-file. For testing it I thought I'd create a new dummy project in the configuration utility and save it with a change compared to the default configuration. Then I copied the content of the c-file into config.c of my project. Next I built the whole project with PSoC Creator. Then I wanted to use the configuration utility to read the configuration from the freshly created hex file to see if my changes had been applied. Unfortunately when I try to read the configuration from the hex file I get an error message "Loading configuration failed". This also happens when I try to read the configuration from a hex file supplied by the EZ-PD SDK.
Maybe you've got an idea where I went wrong.
Kind regards,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @winter_p ,
EZ-PD Configuration utility support .Cyacd file. please open .cyacd file instead of .hex file to read the configuration details in the tool.
Thanks & Regards,
Mohamed Rahmathulla