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
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 Code Generation...
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)
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 ---------------
Solved! Go to Solution.
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.
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?
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?
Manufacturing Engineer Manager
Wagner Electronic Products Inc.
326 Pine Grove Road
Rogue River, OR 97537
Office: (541) 582-0541 x238
Since this is for debugging only, replace UART with "Software Transmit UART". Compiles fine.