I have a Multiproject workspace with about 100 projects.
When i push "save all" or close the workspace, Keil takes 10 minutes to finish the operation Also the openig operation is slow and it depends on how many files are opened in the editor This is a problem because i can't use Keil5
I am using Keil 5.026 with a STM32F4 micro
Anyone has the same problem?
Another important thing:
When i open a project and close it immediatly after, Keil modifies .uvprojx and .uvoptx files
I use GIT as a repository and as a versioning system, and every time i open the workspace i have to commit 200 files, also if i haven't done anything
All these problems were not present in Keil 3 (which i am usually working with)
.uvprojx is the Project file - it should not get changed by simply opening & closing the Project.
.uvoptx should be just user settings - so shouldn't be version-controlled.
http://www.keil.com/support/man/docs/uv4/uv4_b_filetypes.htm
I just tried MDK v5.26 here. After opening a project and closing it without modifying anything, .uvprojx and .uvoptx files as well as all source code files won't be modified. If there is really no changes done on your source code or project files, uVision won't save them all over again.
Yes, uvprojx changes only if you update libraries, for example if you pass from Keil.STM32F4xx_DFP.2.11.0 to Keil.STM32F4xx_DFP.2.13.0, simply opening and closing project
and ok for uvoptx, i will exclude them from repository
but what about save all and closing multiproject workspace? Is it really so slow?
Sorry,
I am not saying that when i close a project, Keil saves all files in that project
I am saying that when i press the SaveAll button or close a multiproject worksapce, Keil takes several minutes to end the operation
I add that this happens only with STM32 projects, not with LPC2478
I have exactly the same problem. It takes a few minutes to close. I have only 3 projects in my multiproject. I'm using uVision 4
Did you find an answer?
One reason can be that many breakpoints are in use, see:
http://www.keil.com/support/docs/3972.htm
Consider if AV software is causing a drag, also if the drives in use are networked.
The use of Browse data can also cause issues.
What version of uV4? 4.74 is the most current as I recall, but don't expect any updates to fix these issues.
Thank you for the suggestion. I have no breakpoints set.
Hi,
I have tried with anti-virus and firewall turned off and a save all still takes over a minute even if I save twice in a row.
I'm using V4.74.0.22 and realise that I shouldn't expect updates.
It has got slowly worse over time. Maybe I should look to see what files are actually written.
Can you elaborate on browse data please?
Thanks
Ant
Note, MDK 4.74 does not cover several updates that we implemented to improve the problem of slowness - at least you should compare
with a tmp. installation of our latest MDK-release installed in a separate folder: http://www2.keil.com/mdk5
Thank you. I'll try that. I think I have tried to use mdk5 before and it wasn't a simple case of just opening the old project. I'll try again and maybe try harder!
very good ... fyi, this link introduces the Legacy-Packs, that are required when migrating your project from MDK-4 to MDK-5: http://www2.keil.com/mdk5/legacy