cancel
Showing results for 
Search instead for 
Did you mean: 

Access to c:\....\stm8s.h was denied

sözbe.1
Associate II

I am a starter for stm8 mcus

I installed STVD and COSMİC C Compiler.

at first step

-i can not save my project

-i can not uncomment my mcu in stm8s.h header file

I get an error message

"Access to C:Users\R&P\Desktop\first\inc\stms.h"

Access to C:Users\R&P\Desktop\first is my folder created for workspace.

SPL files are in folders named inc and scr . these two folders are inside the project folder.

everything looks very simple but there is a problem.

Can it be because of & in file path definition?

Access to C:Users\R&P\Desktop\first\

1 REPLY 1

Are the files Read Only? Check attributes

Yes, I would avoid spaces and special characters in file names and paths. Applications may be less tolerant than the OS

Also I'd generally avoid using the Desktop for files/directories.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..