- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Attempting to run examples for CCG4 components results in linker failures.
Advice on community has been to use PSoC Creator 3.x.
When will a fix for these issues be available?
Reference:
- "lto-wrapper failed" Error when compiling CCG4 eval board firmware on PSoc 4.2 @ https://community.cypress.com/message/193060
- How to resolve the build error "lto_wrapper failed" in PSoc Creator 4.2? @ https://community.cypress.com/message/159325
- Compile error with Creator 4.1 @ https://community.cypress.com/message/184795
Greg
Solved! Go to Solution.
- Tags:
- ccgx
- psoc creator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Greg,
I would strongly recommend you use PSoC Creator 3.3 for SDK 3.0.2 firmware build.
1. There is no work around if you want to use code example from SDK3.0.2. The lto-wrapper error is because of pre-lib of CCGx firmware. What's pre-lib files of CCGx firmware, you could refer below define.
2. If you want insist to use PSoC Creator 4.3, below way may be work (Please kindly notice that this is not full validated.)
a. Using code example of CCGx Host SDK.
b. Change the project from PD3.0 to PD2.0 as per SDK user guide. Refer below information:
Best Regards,
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Greg,
This is not issue, it is user error.
If you are new created project based on CCGx power SDK (https://www.cypress.com/documentation/software-and-drivers/ez-pd-ccgx-power-software-development-kit ) or CCGx Host SDK (https://www.cypress.com/documentation/software-and-drivers/ez-pd-host-software-development-kit ), you could use PSoC Creator 4.2 to develop it.
If you are new created project based on CCGx SDK v302 (https://www.cypress.com/documentation/software-and-drivers/ez-pd-sdk-v302-ccg2-all-applications-ccg3... ), you have to use PSoC Creator 3.3 or 4.0.
The reason is the PSoC Creator have changed gcc compiler version from 4.0 to 4.1, 4.2. And CCGx library is pre-build based on the gcc compiler version or MDK compiler. If the build IDE have difference version, the error will be occurred.
Since CCGx SDK v302 is supporting the project based on CCG2, CCG3 (part of part number, CYPD3120, CYPD3123) , and CCG4 (part of part number, CYPD4125, CYPD4225) . Those part numbers CCG2, CYPD4125, CYPD4225 is for PD2.0 device, it will not be update the SDK any more. The part number of CCG3 firmware, the update firmware is ready, you could get it from local FAE or contact Cypress support Team.
Best Regards,
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lisa,
Is there a work-around for the lto-wrapper error?
Am I doing something wrong?
...in my process? (see attached)
...in my setup?
I'm seeing three of each of several examples.
I appear to have SDK 3.0.2 loaded. (again, see attached).
Do I need to clear previous SDKs before loading new ones?
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Greg,
I would strongly recommend you use PSoC Creator 3.3 for SDK 3.0.2 firmware build.
1. There is no work around if you want to use code example from SDK3.0.2. The lto-wrapper error is because of pre-lib of CCGx firmware. What's pre-lib files of CCGx firmware, you could refer below define.
2. If you want insist to use PSoC Creator 4.3, below way may be work (Please kindly notice that this is not full validated.)
a. Using code example of CCGx Host SDK.
b. Change the project from PD3.0 to PD2.0 as per SDK user guide. Refer below information:
Best Regards,
Lisa