Skip to main content
Visitor II
September 22, 2021
Question

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

  • September 22, 2021
  • 1 reply
  • 667 views

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\

    This topic has been closed for replies.

    1 reply

    Graduate II
    September 22, 2021

    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.