Creator 4.1 Update 1 Project conversion Issues

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

cross mob
Anonymous
Not applicable

When I converted my project form Creator 4.0to 4.1 Update1, it removed all the code that was in PROTECTED portions of component code.

Has this happened to anyone else??

0 Likes
6 Replies
lock attach
Attachments are accessible only for community members.
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

This may be useful-

0 Likes
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Can you provide us the project and steps to reproduce the issue

0 Likes
Anonymous
Not applicable

No, I am unable to provide my workspace.

I have components (uart, isr, spi) that have code in their respective _int files between #START and #END.

Upon the upgrade to 4.1 Updt1, all the code between these was removed.

I have dealt with this by cut and pasting back the code from a saved version.

Further, this has happened at random  builds - I have not been able to see a pattern.

It does not happen always with a clean build or partial build.

As I will be working and suddenly stuff that was working would stop.

Debuging will show this code is missing again.

0 Likes

Please check the Compiler optimization setting and "Synthesis Optimization Effort" in build setting for the concerned project  in Creator4.1 and Creator4.0

0 Likes
Anonymous
Not applicable

Both are set to Exhaustive.

0 Likes

Can you change the "Synthesis Optimization Effort" from Exhaustive to  other values in Creator4.1 and then see whether the portion between # defines is getting lost in optimizations or not.

Compiler optimization can also be changed to see the effect

0 Likes