Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freerouting plugin stopped working #360

Open
dp1044 opened this issue Oct 16, 2024 · 5 comments
Open

Freerouting plugin stopped working #360

dp1044 opened this issue Oct 16, 2024 · 5 comments
Labels

Comments

@dp1044
Copy link

dp1044 commented Oct 16, 2024

Describe the bug
Yesterday morning I finished a project and freerouting worked fine. Yesterday Afternoon it stopped working.
Freerouting plugin for kicad 7 and 8 does not complete routing all the traces.

To Reproduce
Steps to reproduce the behavior:

  1. Go to kicad 7/8
  2. Click on Freerouting plugin
  3. click on autoroute
  4. It routes only a few then quits back to kicad with only those routes connected

Expected behavior
To have freerouting finish all traces before if finishes

Screenshots
Here are shots of the board before and after autorouting.
Screenshot 2024-10-16 185950
Screenshot 2024-10-16 190150

Environment

  • OS: Windows 11, 64-bit
  • Freerouting version: 1.8 and 1.9
  • EDA: Kicad 7 and 8.0.6

Command line arguments
N/A

Project files
zip of the project
BattMonitor.zip

Logs
no errors or logs

Additional context
I have tried the other suggestions, uninstall and reinstall of the plugin, kicad and jre. Nothing was changed on my setup or installed between it working and stopping.

@dp1044 dp1044 added the bug label Oct 16, 2024
@boromyr
Copy link

boromyr commented Nov 16, 2024

same issue with version 2

@boromyr
Copy link

boromyr commented Dec 25, 2024

Does anyone have this problem? For me FR no longer works completely, it routes 5% of the routes and then closes.

@anomaly256
Copy link

anomaly256 commented Dec 26, 2024

Yes I am having exactly the same issue. A few traces created, everything else 'failed' but no reason given.
edit: resolved (for my case anyway)

image

@anomaly256
Copy link

@boromyr actually, for my case, I've found the culprit - the footprints for the sparkfun/adafruit PCBs I'm using have the rectangular outline on the edgecuts layer, causing freerouting and kicad itself to fail to connect routes to those pads. Moving the outline to the silkscreen layer fixed the auto routing.

I'm not sure if U1 in your case is a custom footprint or not but it might be worth checking which layer things are on and making sure they're correct, or making a new custom footprint.

@boromyr
Copy link

boromyr commented Dec 26, 2024

image
In my case everything is partially routed, it's not a problem with the single footprint.

2024-12-26 16:08:15.797 [main] INFO  Freerouting v2.0.1 (build-date: 2024-11-14)
2024-12-26 16:08:15.957 [main] INFO  Settings were loaded from freerouting.json
2024-12-26 16:08:15.957 [main] DEBUG  Version: 2.0.1,2024-11-14
2024-12-26 16:08:15.961 [main] DEBUG  Command line arguments: '-de D:\Users\PC\Documents\KiCad\Amplifier 1.1b\freerouting.dsn -do D:\Users\PC\Documents\KiCad\Amplifier 1.1b\freerouting.ses -host KiCad -dct 0 -mt 7 -us hybrid -oit 0.1 -im -da -l it'
2024-12-26 16:08:15.961 [main] DEBUG  Architecture: Windows 11,amd64,10.0
2024-12-26 16:08:15.961 [main] DEBUG  Java: 21.0.5,Eclipse Adoptium
2024-12-26 16:08:15.961 [main] DEBUG  System Language: it,it_IT
2024-12-26 16:08:15.961 [main] DEBUG  Hardware: 8 CPU cores,3036 MB RAM
2024-12-26 16:08:15.961 [main] DEBUG  UTC Time: 2024-12-26T15:08:15.957069600Z
2024-12-26 16:08:15.961 [main] DEBUG  GUI Language: it_IT
2024-12-26 16:08:15.961 [main] DEBUG  Host: KiCad
2024-12-26 16:08:15.975 [main] DEBUG  Screen: 1536x864, 120 DPI
2024-12-26 16:08:15.975 [main] DEBUG Analytics are disabled
2024-12-26 16:08:17.276 [main] INFO  Opening 'D:\Users\PC\Documents\KiCad\Amplifier 1.1b\freerouting.dsn'...
2024-12-26 16:08:18.984 [main] WARN  Non-ansi character 'μ' found at position 246056 just after 'C44'.
2024-12-26 16:08:18.984 [main] WARN  Non-ansi character 'μ' found at position 246202 just after 'C23'.
2024-12-26 16:08:18.984 [main] WARN  Non-ansi character 'μ' found at position 246276 just after 'C17'.
2024-12-26 16:08:18.984 [main] WARN  Non-ansi character 'μ' found at position 246395 just after 'C1'.
2024-12-26 16:08:18.984 [main] WARN  Non-ansi character 'μ' found at position 246470 just after 'C24'.
2024-12-26 16:08:18.984 [main] WARN  Non-ansi character 'μ' found at position 246544 just after 'C25'.
2024-12-26 16:08:18.984 [main] WARN  Non-ansi character 'μ' found at position 246619 just after 'C5'.
2024-12-26 16:08:18.991 [main] WARN  Non-ansi character 'μ' found at position 247216 just after 'C32'.
2024-12-26 16:08:18.991 [main] WARN  Non-ansi character 'μ' found at position 247289 just after 'C15'.
2024-12-26 16:08:18.991 [main] WARN  Non-ansi character 'μ' found at position 247362 just after 'C31'.
2024-12-26 16:08:18.993 [main] WARN  Non-ansi character 'μ' found at position 247435 just after 'C37'.
2024-12-26 16:08:18.995 [main] WARN  Non-ansi character 'μ' found at position 251820 just after 'C16'.
2024-12-26 16:08:18.995 [main] WARN  Non-ansi character 'μ' found at position 251896 just after 'C47'.
2024-12-26 16:08:19.002 [main] WARN  Non-ansi character 'μ' found at position 254850 just after 'C21'.
2024-12-26 16:08:19.002 [main] WARN  Non-ansi character 'μ' found at position 255080 just after 'C46'.
2024-12-26 16:08:19.002 [main] WARN  Non-ansi character 'μ' found at position 255221 just after 'CPO'.
2024-12-26 16:08:19.002 [main] WARN  Non-ansi character 'μ' found at position 255291 just after 'COO'.
2024-12-26 16:08:19.002 [main] WARN  Non-ansi character 'μ' found at position 255364 just after 'C3'.
2024-12-26 16:08:19.002 [main] WARN  Non-ansi character 'μ' found at position 255437 just after 'C9'.
2024-12-26 16:08:19.002 [main] WARN  Non-ansi character 'μ' found at position 255511 just after 'C49'.
2024-12-26 16:08:19.008 [main] WARN  Non-ansi character 'μ' found at position 257401 just after 'C22'.
2024-12-26 16:08:19.008 [main] WARN  Non-ansi character 'μ' found at position 257474 just after 'C41'.
2024-12-26 16:08:19.008 [main] WARN  Non-ansi character 'μ' found at position 257732 just after 'C_AGC'.
2024-12-26 16:08:19.008 [main] WARN  Non-ansi character 'μ' found at position 257847 just after 'C42'.
2024-12-26 16:08:19.012 [main] WARN  Non-ansi character 'μ' found at position 258497 just after 'COUT'.
2024-12-26 16:08:19.012 [main] WARN  Non-ansi character 'μ' found at position 258625 just after 'L4'.
2024-12-26 16:08:19.014 [main] WARN  Non-ansi character 'μ' found at position 259004 just after 'L5'.
2024-12-26 16:08:19.014 [main] WARN  Non-ansi character 'μ' found at position 259993 just after 'C38'.
2024-12-26 16:08:19.016 [main] WARN  Non-ansi character 'μ' found at position 260066 just after 'C34'.
2024-12-26 16:08:22.526 [main] INFO  Opening 'freerouting.rules'...
2024-12-26 16:08:24.251 [main] WARN  Multi-threaded route optimization is broken and it is known to generate clearance violations. It is highly recommended to use the single-threaded route optimization instead by setting the number of threads to 1 with the '-mt 1' command line argument.
2024-12-26 16:08:24.286 [Thread-2] INFO  Starting auto-routing...
2024-12-26 16:08:25.091 [Thread-2] WARN  FloatLine: Parameter is null
2024-12-26 16:08:25.204 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:25.204 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:25.204 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:25.204 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:25.601 [Thread-2] WARN  FloatLine: Parameter is null
2024-12-26 16:08:25.682 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:25.682 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:25.682 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:26.643 [Thread-2] INFO  Auto-router pass #10 on board 'a27e2dda6490c7cb86bfe6da462a5e8c' was completed in 1,88 seconds
2024-12-26 16:08:27.013 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:27.013 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:27.013 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:27.013 [Thread-2] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:27.757 [Thread-2] INFO  Auto-router pass #11 on board 'b8f06d1e7330956422b437a461bfbf4e' was completed in 0,96 seconds
2024-12-26 16:08:28.764 [Thread-2] INFO  Auto-router pass #12 on board '64455b2abd69e9080ab8f0b493c582c0' was completed in 0,86 seconds
2024-12-26 16:08:29.683 [Thread-2] INFO  Auto-router pass #13 on board '7ae9e90a471e05ce78eaa92d1a42fa32' was completed in 0,75 seconds
2024-12-26 16:08:30.569 [Thread-2] INFO  Auto-router pass #14 on board '4ec09e26f369a15f9736414ca785a7bb' was completed in 0,76 seconds
2024-12-26 16:08:31.459 [Thread-2] WARN  There were only 2,20 track length increase in the last 5 passes, so it's very likely that autorouter can't improve the result further.
2024-12-26 16:08:31.461 [Thread-2] INFO  Auto-router pass #15 on board '55606b7f1537ebe9365bbb7aed4e2e9c' was completed in 0,78 seconds
2024-12-26 16:08:31.474 [Thread-2] INFO  Auto-routing was completed in 7,19 seconds.
2024-12-26 16:08:31.585 [Thread-2] INFO  Starting route optimization on 7 threads...
2024-12-26 16:08:31.594 [Thread-2] DEBUG Before optimize: Via count: 5, trace length: 1305950
2024-12-26 16:08:31.633 [Thread-2] DEBUG Scheduling task #1 of 14 for item #4595.
2024-12-26 16:08:31.712 [Thread-2] DEBUG Scheduling task #2 of 14 for item #4685.
2024-12-26 16:08:31.829 [Thread-2] DEBUG Scheduling task #3 of 14 for item #4607.
2024-12-26 16:08:31.949 [Thread-2] DEBUG Scheduling task #4 of 14 for item #4680.
2024-12-26 16:08:32.070 [Thread-2] DEBUG Scheduling task #5 of 14 for item #4601.
2024-12-26 16:08:32.233 [Thread-2] DEBUG Scheduling task #6 of 14 for item #4689.
2024-12-26 16:08:32.433 [Thread-2] DEBUG Scheduling task #7 of 14 for item #4664.
2024-12-26 16:08:32.504 [Thread-3] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:32.506 [Thread-3] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:32.506 [Thread-3] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:32.627 [Thread-2] DEBUG Scheduling task #8 of 14 for item #4632.
2024-12-26 16:08:32.836 [Thread-2] DEBUG Scheduling task #9 of 14 for item #4611.
2024-12-26 16:08:33.088 [Thread-2] DEBUG Scheduling task #10 of 14 for item #4621.
2024-12-26 16:08:33.318 [Thread-2] DEBUG Scheduling task #11 of 14 for item #4616.
2024-12-26 16:08:33.529 [Thread-2] DEBUG Scheduling task #12 of 14 for item #4630.
2024-12-26 16:08:33.736 [Thread-8] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:33.736 [Thread-8] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:33.738 [Thread-8] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:33.738 [Thread-8] DEBUG ShapeSearchTree45Degree.complete_shape: unexpected p_shape_to_be_contained
2024-12-26 16:08:33.779 [Thread-2] DEBUG Scheduling task #13 of 14 for item #4650.
2024-12-26 16:08:34.203 [Thread-2] DEBUG Scheduling task #14 of 14 for item #4609.
2024-12-26 16:08:34.401 [Thread-2] DEBUG All items are queued for execution, waiting for the tasks to finish.
2024-12-26 16:08:35.423 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 0 of 14 tasks.
2024-12-26 16:08:36.474 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 0 of 14 tasks.
2024-12-26 16:08:37.475 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 0 of 14 tasks.
2024-12-26 16:08:38.562 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 0 of 14 tasks.
2024-12-26 16:08:39.583 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 0 of 14 tasks.
2024-12-26 16:08:40.587 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 0 of 14 tasks.
2024-12-26 16:08:41.602 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 0 of 14 tasks.
2024-12-26 16:08:42.617 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 0 of 14 tasks.
2024-12-26 16:08:42.817 [Thread-4] DEBUG Finished   task #1 of 14 for item #4685 on pass 1 in 0 m 10.949s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:43.633 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 1 of 14 tasks.
2024-12-26 16:08:44.345 [Thread-7] DEBUG Finished   task #2 of 14 for item #4601 on pass 1 in 0 m 12.095s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:44.647 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 2 of 14 tasks.
2024-12-26 16:08:44.752 [Thread-8] DEBUG Finished   task #3 of 14 for item #4689 on pass 1 in 0 m 12.3s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:44.853 [Thread-3] DEBUG Finished   task #4 of 14 for item #4595 on pass 1 in 0 m 13.141s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:45.225 [Thread-5] DEBUG Finished   task #5 of 14 for item #4607 on pass 1 in 0 m 13.276s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:45.656 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 5 of 14 tasks.
2024-12-26 16:08:45.783 [Thread-6] DEBUG Finished   task #6 of 14 for item #4680 on pass 1 in 0 m 13.708s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:46.236 [Thread-9] DEBUG Finished   task #7 of 14 for item #4664 on pass 1 in 0 m 13.581s. Best so far: true, improved: true, via reduction: 0, length reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:46.662 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 7 of 14 tasks.
2024-12-26 16:08:47.667 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 7 of 14 tasks.
2024-12-26 16:08:48.677 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 7 of 14 tasks.
2024-12-26 16:08:49.684 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 7 of 14 tasks.
2024-12-26 16:08:50.693 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 7 of 14 tasks.
2024-12-26 16:08:51.697 [Thread-2] DEBUG Running route optimizer on 7 thread(s). Completed 7 of 14 tasks.
2024-12-26 16:08:52.520 [Thread-4] DEBUG Finished   task #8 of 14 for item #4632 on pass 1 in 0 m 9.701s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:52.716 [Thread-2] DEBUG Running route optimizer on 6 thread(s). Completed 8 of 14 tasks.
2024-12-26 16:08:53.699 [Thread-8] DEBUG Finished   task #9 of 14 for item #4621 on pass 1 in 0 m 8.947s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:53.719 [Thread-7] DEBUG Finished   task #10 of 14 for item #4611 on pass 1 in 0 m 9.374s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:53.725 [Thread-2] DEBUG Running route optimizer on 4 thread(s). Completed 10 of 14 tasks.
2024-12-26 16:08:54.316 [Thread-3] DEBUG Finished   task #11 of 14 for item #4616 on pass 1 in 0 m 9.463s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:54.391 [Thread-5] DEBUG Finished   task #12 of 14 for item #4630 on pass 1 in 0 m 9.166s. Best so far: false, improved: true, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:54.658 [Thread-6] DEBUG Finished   task #13 of 14 for item #4650 on pass 1 in 0 m 8.875s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:54.737 [Thread-2] DEBUG Running route optimizer on 1 thread(s). Completed 13 of 14 tasks.
2024-12-26 16:08:54.833 [Thread-9] DEBUG Finished   task #14 of 14 for item #4609 on pass 1 in 0 m 8.593s. Best so far: false, improved: false, via reduction: 0, incomplete trace reduction: 0
2024-12-26 16:08:54.844 [Thread-2] DEBUG Finished pass #1 in 0 minutes 23.216 seconds with 1 board updates using 7 thread(s) with 'Greedy' strategy and 'Prioritized' item selection strategy.
2024-12-26 16:08:54.844 [Thread-2] DEBUG Route optimizer pass summary - Improved: true, interrupted: false, via count: 5, trace length: 130595, via count delta: 0, trace length delta: 0.
2024-12-26 16:08:54.862 [Thread-2] INFO  Route optimization was completed in 23,28 seconds.
2024-12-26 16:08:58.625 [Thread-2] INFO  Saving 'D:\Users\PC\Documents\KiCad\Amplifier 1.1b\freerouting.ses'...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants