I have no trouble working with your project. Everything I do “just works” as it is supposed to on my system.
When did your problems start? If it was after I edited your project in the other thread, then it may have something to do with that. For example, line endings on my Linux box are different from Windows, that may perhaps be a cause of troubles. Just guessing here.
If you start a new project, does your problem also occur?
Also: Until you have more experience with KiCad: Always start the Project manager first, and always start the sub programs from there. Never start Eeschema or Pcbnew directly from windows.
— 8<------ 8<------ 8<------ 8<------ 8<—
I did a bunch of cleanup things just for fun.
Did not encounter any problems.
You used the pspice diode, which is “big fat & Ugly”, I changed the library reference to Device/d_alt.Spice diode also has reversed polarity (historical origin), I rotated the diodes on your PCB to better reflect the schematic. (You should always be carefull with these things, especially when you use generic components, or match schematic symbols and footprints yourself).
The schematic had 2 different Footprints for the diodes, while they were the same on the PCB.
D1: Diode_THT:D_A-405_P7.62mm_Horizontal
D2: Diode_THT:D_DO-35_SOD27_P10.16mm_Horizontal
Changed them both to a pitch of 7.62mm.
Drew a rectangle on the "edge.Cuts layer.
Replaced the 4 “texts” near the connector with labels, Now they show up in the netnames on the PCB.
*. Replaced the “Earth” symbol with a “GND” symbol.
Added “PWR_FLAG” symbols to the schematic. It is now free of ERC errors.
Decreased clearance for the default net class to 0.8mm. (1mm gives DRC errors).
Moved the track on the bottom of the board up a bit to get rid of a “track to close to the edge of board” error.
Led: Pressed e for Edit and in the “Footprint Properties” set “Move and Place” to Free.
No I can move the individual pads of the LED’s apart toget rid of the DRC errors.
Added a 100nF decoupling cap between GND and +24V. (Had to put the LM311 a bit lower on the PCB to make room).
The board is now free of DRC and ERC errors. This does not mean that the circuit itself actually works as intended.
I’ve looked a bit at differences and possible causes of errors.
Your files have CRLF as line endings, while the files I saved only have LF as line endings. This is expected though and unlikely to be the cause of concern.
There is a remarkable size in difference in the “comparator3.pro” file. Your version is 688 bytes, while the version my KiCad produces is 3600 bytes. Most of the size difference is because all layers are named in the file I saved, while this info is not in the your project file.
Your file also starts with a line with a date from 2915, while my file has the current date. I do not know enough of the internals of KiCad to know if that is significant.
I downloaded you alterations. I tried various ways of loading it and sometimes it works fine but by far the majority of times it locks up on the PCB load screen.
I don’t know when it started, it is possible it was after I downloaded a ‘fixed’ file from here.
If that is so might it be an idea to use the windows control panel to uninstal and start again?
I have noticed that when I load the Kicad control panel the last project I worked on is already in the left box, should this happen or should it be clear? It’s as if it is not closing properly and problems in there are not clearing.
I tried to solve it by loading a new project but all the projects I tried still fail to load the pcb page every time.
Just put it on a USB stick and boot from it. It will not change anything on your PC until you actually tell it to. If you like what you see you can install it by clicking an icon on your desktop, and then follow instructions. If you have some free room on your Windows system (I recommend at least 40GiB, but 10GiB can get you going) then you can pretty easily shrink the windows partition and create a new partition on which to install Linux Mint. The installation program for Linux Mint is very user friendly.
If you want to be “extra careful” with your obsolete windows, and all your own files on it, then go buy a cheap SSD. For about EUR40 you can put a brand new SSD in your PC to install Linux on. You can then temporarily remove the SSD with windows. You can also use your Bios (UEFI) to determine from which “disk” your computer boots.
I was *&^%$#@! with windows long ago. Now I never have to worry about an up to date OS, computers rebooting at the most unwieldy hours, or the OS changing the way it works for no apparent reason whatsoever, except apparently to annoy their customers. It’s not really about the money. In total I’ve donated more to open source projects than I’ve paid for commercial software, inclusive my OS.
I cleared the project right out of the left screen and started a new project with a couple of components annotated and added footprints, the PCB screen came up fine when I first updated and called it but when I closed it down and opened it again the pcb screen failed as usual.
Support for windows 7 ended last month.
I have often wondered about changing to Linux. In fact I bought a linux package many years ago but never got to install it. I assume you are saying I can put linux on my machine alongside windows?
Can I swap back and forth between windows and linux, if not with a single click then by some software help?
I have plenty of room on my computer for this but how do I shrink the windows partition and create a new one?
Is it possible to run windows programs such as my 3d software repetier and cura?
I will uninstall the Kicad tomorrow and reinstall to give it another go.
That was my bug and it still happened from time to time after an upgrade to the latest 5.1.x Nightly until at least this month.
I have an unusual case, that I have to uninstall the old version first, due to my office anti-virus preventing upgrade by overwriting
When I first double click on the desktop icon, even after closing down and rebooting my computer, should the control panel load up with the last project I was working on in the left box and the project name and address in the lower right box or should they be blank?
I used uninstall to clear kicad off my computer. I then did a windows explorer check for kicad and deleted a few other directories and files.
I then downloaded the previous version from the website https://kicad-downloads.s3.cern.ch/index.html?prefix=windows/stable/
version 5.1.5_2
It loaded fine and when I opened it the last project I worked on was there, a small one I had opened after the problem started.
I opened the schematic and then clicked on tools\edit PCB, it worked perfectly.
I closed the PCB screen and pressed the PCB layout editor on the main control screen, it worked perfectly.
I closed Kicad down and restarted it, now no matter which method I use it hangs up?
I am assuming there is no quick fix for this.
Would someone run me through getting linux on a usb stick and trying to run it that way?
Now I really am depressed.
I loaded the kicad onto my laptop, also a windows 7.
Opened the control panel, started a new project, clicked on the schematic in the left box and the computer hung in much the same way my desktop does when I try to open the pcb page.
Looks like I am not using Kicad unless someone can help me sort out why it is not working?
I have been trying various things to get this to work.
I managed to get it to work on the laptop and spent a few hours designing a similar circuit with an LM 358, a comparitor but with two circuits in the one chip. Everything went fine until I closed down. When I started my computer again I could not get it to work.
All my files are uploaded to a cloud storage, dropbox. Assuming it might be a timing issue I moved the files into my documents on the laptop and everything worked fine.
I did the same on the desktop and everything worked fine for a couple of loads, I am loading Kicad up, opening the PCB editor, shutting it down and loading it all up again.
Then it stopped working on the desktop and I can’t get the PCB editor to load up again, it always hangs.
Could it possibly be a timing issue of some sort, i.e. the file is taking too long to load so it hangs?
I would certainly like to get to the bottom of this as I quite like Kicad but this makes it useless for me.
I went back to my laptop and now it refuses to load the PCB editor.
On 64-bit Windows, KiCad’s usage of the boost context library is currently broken due to changes in the library. This causes pcbnew to crash on start. The only workaround is to use boost 1.56 or 1.57 which are known to work.
According to you version info above you have boost 1.71 which probably doesn’t have that problem, and anyways it works for others (because others use the same installer package).
As an aside, if you decide to try Linux, do not use this package even though you paid money for it. Many years is an eternity in Linux distro development. Go download for free an up to date version of a suitable distro like Linux Mint or Ubuntu. Mint 19.3 is a Long Term Support release as is Ubuntu 18.04. Or you might like to wait for Ubuntu 20.04.
If we suggest a Linux distro specifically for use with KiCad then we might want to stick with one of the 4 officially supported distros. For reference these are (at the time of writing): Debian, Ubuntu, Arch and Fedora.
The easiest way to experiment with most Linux Distributions nowaday’s is to simply download it, put it on an USB stick and then boot from it.
Most Linux distributions are aware of Windows, and they detect Windows during installation, and give you the option to make a dual boot. Then you can switch between Windows and Linux by rebooting your PC.
For some years it has apparently also been relatively easy to run either Linux or Windows in a virtual machine. I have no experience with this. (My current PC is 12 years old).
Linux Mint has a very user friendly installation procedure, and resizing the Windows partition to make room for it is part of the installation procedure.
It is a relatively complex step behind the scenes, and there is always a chance “something” goes wrong, and even trivial things can be hard to fix if neither Windows nor Linux runs properly.
An easy way around this is to buy an EUR30 SSD and install linux on that.
You can even completely remove the “disk” with windows to prevent any possibility of Linux damaging anything on the Windows disk.
Before making such big changes you should also make a backup. Just disconnecting the Windows “disk” is a pretty good way to make a backup Disadvantage is that your linux installation will not detect Windows during installation, and will therefore not make a dual boot configuration for you. However, most computers have options in the bios (UEFI) to select from which disk to boot. If Linux and Windows are on different disks you can use Bios to select which OS to boot.
There is no need to switch back to windows for neither repetier nor cura. Both should run perfectly fine on a Linux machine. (I do not have a 3D printer myself).
Most often you will find that Open Source programs run very nicely on Linux.
I hope you don’t mind me bumping this, it seems to have gone off track again.
I am still trying to find a reason why my pcb page won’t load.
Usually when I first start up the computer it loads fine and I can work on it. If I close the Kicad down or close the project down to look at some other project I can’t get the PCB page to load back up no matter which route I use.
If I have the schematic up and I try to update the pcb from the schematic it hangs.
If I find the kicad_pcb file on my computer and click it the page opens correctly.
This means that I can see the PCB page by loading it manually but I cant update it with any alterations I make to the schematic. This happens on both my desktop and my laptop. The only thing I can see they have in common is the project itself. I have tried making a new project from the start with a different circuit diagram but still get the same problem.
I have uploaded the project, would someone with more knowledge of the programming mind seeing if they can see a reason why the pcb page won’t load from within the project but will when I load it manually please?
Thanks.fp-info-cache (2.6 MB) lm358n.kicad_pcb (147.9 KB) lm358n.pro (3.7 KB) lm358n.sch (10.7 KB) lm358n-cache.lib (3.6 KB)