PSOC Creator build stalls when using Flip Flop component

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

cross mob
lock attach
Attachments are accessible only for community members.
JeFi_4463551
Level 1
Level 1

Hi,

I am having trouble building any project which contains either the D Flip Flop or Analog Hardware Mux. When a project containing either of these components is built the build stalls after producing the following in the output:

Any advice on how to solve or further troubleshoot this problem would be greatly appreciated.

====

Elaborating Design...

HDL Generation...

Synthesis...

Tech Mapping...

Eliminating trivial wires...

Creating carry chains...

Creating initial macrocells...

Creating global clocks...

Categorizing IOs...

Synchronizing IOs...

ADD: pft.M0040: information: The following 3 pin(s) will be assigned a location by the fitter: Pin_1(0), Pin_2(0), Pin_3(0)

Eliminating trivial wires...

Mapping enabled registers into macrocells...

Connecting carry chains to registers...

Creating global controls...

Removing duplicate macrocells...

Resolving AMuxHw component...

0% Done. Optimizing 'cydff_1'

===

Environment:

PSoC Creator  4.2 (4.2.0.641)

Culture: English (United Kingdom)

OS Version: Microsoft Windows NT 10.0.17763.0

CLR Version: 4.0.30319.42000

0 Likes
13 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Both projects build error-free with my installation. I would suggest to completely de-install Creator and download newest version.

Bob

0 Likes

I tried an uninstall and reinstall but the problem persists. It does appear to be a problem with my install but its not apparent how to fix it given the lack of logging output from the build system.

0 Likes
JeFi_4463551
Level 1
Level 1

Once the build has stalled if I terminate the espserv.exe process the optimizing step advances. Is it possible that this process is attempting access a resource that is unavailable, causing it to block indefinitely?

0 Likes

Try to update the components. Project > Update Components.

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

Hi,

I wonder if PSoC Creator works on Windows NT.

In the PSoC Creator Release Notes, there is following requirement

PSoC_Creator_OS_Requirementt.JPG

moto

0 Likes
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

JeFi,

I get the same results as Bob.  It builds with no problem.

Your attached project is SO simple.  It must be a system problem as moto suspects.  I'm running on a Win 7 system.  I noticed you're on a Win 10.

Anyone try his project on a Win 10?

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes

Yes, running on W10. And as I said before all is compiling well.

Bob

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

Dear Len-san,

> OS Version: Microsoft Windows NT 10.0.17763.0

I suspect that "Windows NT" 10.0.xxx and "Windows 10" are quite different animals.

I don't know what was the latest version of Windows NT though...

But if it was a typo of "Windows 10..." then I have no idea so far.

Best Regards,

1-Oct-2019

Motoo Tanaka

0 Likes

Tanaka-san,

The last "official" version of Windows NT as a named OS was released back in 1996.  After then, all OSs were named without the 'NT' designation but the OS build number includes 'NT'.  Therefore it would appear that after 1996 Windows=WindowsNT.

https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versionshttp://

There are however some differences between Windows 10 Home and Windows 10 Professional.  I'm not sure which our colleagues has.

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Len-san,

Thank you very much for your information!

The URL gave me following result though.

Wikipedia does not have an article with this exact name.

Since PowerMac G5 is still working as the main server in my home,

I was not expecting NT was that old 😜

Yes, I have not used CP/M nor Flex for a while...

Anyway, then there must be some other reason(s) for this issue.

Best Regards,

2-Oct-2019

Motoo Tanaka

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

Hi,

From the following log,

> Resolving AMuxHw component...

> 0% Done. Optimizing 'cydff_1'

I imagined that either HDL compiler or build tool is having problem.

I ran find and grep for "Optimizing" and the result was

=====================

$ find . -type f  -exec fgrep  "Optimizing" {} \;

Binary file ./import/gnu/arm/5.4.1/lib/gcc/arm-none-eabi/5.4.1/cc1.exe matches

Binary file ./import/gnu/arm/5.4.1/lib/gcc/arm-none-eabi/5.4.1/cc1plus.exe matches

Binary file ./import/gnu/arm/5.4.1/lib/gcc/arm-none-eabi/5.4.1/lto1.exe matches

Binary file ./import/keil/pk51/9.51/UV4/Uv4.exe matches

=====================

Although I was expecting to see some commands from "warp" but none showed up.

Since pk51 is not for PSoC 5LP, there could be a problem with arm-none-eabi.

By any chance have you installed other instance(s) of "arm-none-eabi" in your PC?

moto

0 Likes
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

JeFi,

You are using the latest version of PSoC Creator.

Do you run into the same stall issue when building the example projects?

I'm curious if the installation might be a problem on your machine if you're running certain virus detection program in the background.  If this is true, normally the install would complain that it couldn't load a specific module.

I think the next step would be to run the offending project with Windows Task Manager open.  When the build stalls, provide Cypress with all the Processes running at the time.   The build is most likely getting stuck on one of the many processes being launched by PSoC Creator and determining the CPU % would determine if the process is waiting for an answer from another process (low %) or stuck in a computing loop (higher %).

This is a confusing issue.  Maybe Cypress has seen similar issue.

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello Jeremy,

Can you try disabling any anti-virus, Windows Defender and end-point protection software if any to see if it helps?

Regards,

Dheeraj

0 Likes