cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

shge_4395051
New Contributor II

Hello

I receive the below error when I try to "Generate Application".  I'm using auto routing and I'm not locking any pins.  In my design, I have one op-amp, two 4x1 analog hw muxes and an ADC.  I cannot seem to generate this design without errors.  The error appears to be some kind of digital routing issue.  The only digital signals I have are a control register that switches the 2 muxes and two clock inputs to the muxes.  There is also a UART block.

--------------- Build Started: 08/24/2019 23:29:48 Project: Uart_multiplexor3, Configuration: ARM GCC 5.4-2016-q2-update Debug ---------------

cydsfit.exe -.appdatapath "C:\Users\shawng.WAGNER\AppData\Local\Cypress Semiconductor\PSoC Creator\4.2" -.fdsnotice -.fdswarpdepfile=warp_dependencies.txt -.fdselabdepfile=elab_dependencies.txt -.fdsbldfile=generated_files.txt -.fdsreffile=referenced_files.txt -p "C:\Users\shawng.WAGNER\Documents\PSoC Creator\Workspace02\Uart_multiplexor3.cydsn\Uart_multiplexor3.cyprj" -d CY8C4245AXI-483 -s "C:\Users\shawng.WAGNER\Documents\PSoC Creator\Workspace02\Uart_multiplexor3.cydsn\Generated_Source\PSoC4" -- -yv2 -q10 -ygs -o0 -v3 -.fftcfgtype=LE

Elaborating Design...

HDL Generation...

Synthesis...

Tech Mapping...

ADD: pft.M0040: information: The following 15 pin(s) will be assigned a location by the fitter: \UART:rx(0)\, \UART:tx(0)\, pin1(0), Pin2(0), Pin3(0), Pin4(0), Pin5(0), Pin6(0), Pin7(0), Pin8(0), Pin_1(0), Pin_2(0), Pin_3(0), Pin_5(0), Pin_6(0)

Analog Placement...

Analog Routing...

Analog Code Generation...

Digital Placement...

Digital Routing...

Error: rtr.M0004: E1216: Routing of net __ZERO__ Failed. Source : :udb@[UDB=(0,1)]:pld1:mc2.q, Sink : :m0s8scbcell_0.miso_m

Error: rtr.M0004: Error routing design: Routing Failed (12)

Dependency Generation...

Cleanup...

Error: fit.M0050: The fitter aborted due to errors, please address all errors and rebuild. (App=cydsfit)

--------------- Build Failed: 08/24/2019 23:29:53 ---------------

0 Likes
1 Solution
JoMe_264151
Expert II

Something was definitively wrong with your project. I re-created it and it compiles now without errors. <Archive is attached

Bob

View solution in original post

6 Replies
JoMe_264151
Expert II

Can you please post your complete project so that we all can have a look at all of your settings. To do so, use

Creator->File->Create Workspace Bundle (minimal)

and attach the resulting file.

Bob

0 Likes
shge_4395051
New Contributor II

Hi Bob

I’ve replied to the email with the bundle attached. Thanks for taking a look at this.

0 Likes
JoMe_264151
Expert II

You used up all the UDB resources for your MUXes. In Creator on the very right hand side is a small tab showing the used resources after a build.Without the UART your project compiles but uses 100% of UDB resources.

Have you got the chance to switch to a larger PSoC4?

Bob

0 Likes
shge_4395051
New Contributor II

Hi Bob

Yes I just started development. I can switch to a larger device. The only reason I’m using the UART is for debugging. So, I can simply remove the UART when it’s time for production.

Is there a dev kit with a larger PSOC 4 our there?

thanks

Shawn Gerber

Manufacturing Engineer Manager

Wagner Electronic Products Inc.

326 Pine Grove Road

Rogue River, OR 97537

Office: (541) 582-0541 x238

http://www.WagnerMeters.com/<http://www.wagnermeters.com/>

0 Likes
odissey1
Honored Contributor II

Shawn,

Since this is for debugging only, replace UART with "Software Transmit UART". Compiles fine.

/odissey1

0 Likes
JoMe_264151
Expert II

Something was definitively wrong with your project. I re-created it and it compiles now without errors. <Archive is attached

Bob

View solution in original post