How can we avoid symbol corruption with UDB I2S?

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

cross mob
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

We need to add another I2S component.

So I followed the KBA229971

Import UDB-based I2S Component in a PSoC 6 MCU Project (PSoC Creator) – KBA229971

And I could manage to generate an I2S v2.70 in UDB

001-original.JPG

But as I don't want to corrupt this project, I duplicated the project using Copy and Paste

002-copy_1.JPG

Then I tried to rename the project something else

003-renaming_copy_1.JPG

After the project was renamed, the symbol of I2S component does not seem to be happy.

004-symbol_broken.JPG

I think that probably I missed something in the KBA or some additional protection/modification is required for the component.

Could someone teach us how to avoid or fix this problem?

moto

0 Likes
1 Solution

Hello MoTa_728816​,

That's a good observation. Thanks for the feedback. I will pass this on to the software team for evaluation.

Glad to hear that the issue is resolved.

Regards,

Dheeraj

View solution in original post

0 Likes
4 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello MoTa_728816​,

Since the project contains additional components like the UDB Based I2S, when you copy and paste the project, you would have received the following prompt:

pastedImage_0.png

Please click "Yes". The component should work correctly without any problems. Let me know your observations

Regards,

Dheeraj

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Dheeraj-san,

Thank you very much for your answer.

I have tried the following to confirm the result.

(1) Started the previous project

Note: This symbol was corrupted in my previous post, but somehow it recovered...

010-Original.JPG

(2) I copied the project

011-Copy.JPG

(3) I pasted the project

012-Paste.JPG

(4) Here, the dialog window you mentioned appeared.

I answered "Yes"

014-Yes-to_the_dialog.JPG

(5) The project was duplicated OK.

015-Procect_Copy_01.JPG

(6) I renamed the project

016-Rename.JPG

(7) Now I get the symbol corrupted.

017-Renamed.JPG

(8) In my previous trials, I removed the corrupted project(s) to avoid corrupting other projects and the workspace.

But this time I quitted PSoC Creator at this point.

Then I got dialog asking if modified files should be saved.

I selected "Yes"

018-save-before-quit.JPG

(9) I restarted PSoC Creator with same workspace and got the following dialog

I selected "Yes"

019-Restarting-the-creator-dilaog.JPG

(10) Now the symbol which seemed to be corrupted at the step (7) seems to be OK.

020-symbol-recovered.JPG

So, my current conclusion is that after renaming the project,

(9) type dialog must be presented and some internal process needs to be done.

which does not take place automatically while I keep PSoC Creator running,

but by restarting PSoC Creator, that dialog (and/or the service) will be invoked.

This is not very elegant, but as far as with this knowledge/work around IMHO, this is acceptable.

It would be nice, if the dialog also will be invoked when project renaming takes place, though.

Or, I wonder if there is a way to explicitly start that dialog from PSoC Creator?

Best Regards,

17-Nov-2020

Motoo Tanaka

Hello MoTa_728816​,

That's a good observation. Thanks for the feedback. I will pass this on to the software team for evaluation.

Glad to hear that the issue is resolved.

Regards,

Dheeraj

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Dheeraj-san,

Since the first response could be misleading,
I marked the last response as Correct Answer

so that others will read the whole story.

Best Regards,

17-Nov-2020

Motoo Tanaka