Not able to edit the code in main.c

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
BhSr_4843381
Level 3
Level 3
25 sign-ins 10 replies posted 10 questions asked

Hey, 

I am unable to edit or modify the main.c program after closing and opening the PSoC creator 4.4.

I have been using PSoC creator 4.4 for the last 3 months. 

I am facing this issue for the last 2 days. 

Would anyone help me in addressing this issue?

 

Regards,

Sreenivas.

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

I would try to re-create project. Make a copy, delete main.c file, make a new C file and copy/paste content of old main.c

 

View solution in original post

0 Likes
2 Replies
BiBi_1928986
Level 7
Level 7
First comment on blog 500 replies posted 250 replies posted

Hello.

Just a few guess's at your issue...

Creator locks all files from being edited if you are in Debugger mode.  I suspect you are closing/opening Creator while in debugger mode.  So, open Creator and exit debugging mode.

See this thread for similar issue:
Solved: Unlock file editing during debug in PSoC Creator? - Cypress Developer Community

Or, maybe you have main.c open in another text editor and Creator can't access it.  Close the text editor and then open Creator.

Or, maybe you moved the files to another folder and Creator can't find them.

Or, maybe you archived the project and Creator can only view/build the files.

Or, you just found another Creator software bug.

I hope this helps.

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

I would try to re-create project. Make a copy, delete main.c file, make a new C file and copy/paste content of old main.c

 

0 Likes