This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Access to was denied

This is a really annoying error. It may not be a uVision error but I could see a link to an old question but when I clicked on the link, the page couldn't load.

The steps for me to reproduce this (or try to )...

First here is my info:

IDE-Version:
µVision V5.21.1.0
Copyright (C) 2016 ARM Ltd and ARM Germany GmbH. All rights reserved.

License Information:
<I removed this info>

Tool Version Numbers:
Toolchain: MDK-ARM Standard Cortex-M only Version: 5.21a
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.06 update 3 (build 300)
Assembler: Armasm.exe V5.06 update 3 (build 300)
Linker/Locator: ArmLink.exe V5.06 update 3 (build 300)
Library Manager: ArmAr.exe V5.06 update 3 (build 300)
Hex Converter: FromElf.exe V5.06 update 3 (build 300)
CPU DLL: SARMCM3.DLL V5.21a
Dialog DLL: DCM.DLL V1.13.8.0
Target DLL: Segger\JL2CM3.dll V2.99.23.0
Dialog DLL: TCM.DLL V1.14.14.0

I have Tortoise GIT installed.

In my uVision project I have two groups src and inc.
When I add a new file to both (a header file and a source file) and as I'm editing the files, at a random time I get the error:

Access to
<file path>\MFCxxxx.tmp
was denied

It is really annoying and I have to copy the entire contents of the file, quit the app, delete the file on disk (or revert from the repo) and the restart uVision.

Once this happens it keeps happening until I check in the file.

Like I said, this may not be a uVision issue, but it doesn't happen on any of the other editors I use, so it sure seems like a uVision problem.

Anyone have any ideas on what is going on?

Thanks.
-stv