CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug Reports on this forum. Send them to support@ccsinfo.com

Debug enable error CCS Compiler 5.073 with MPLAB X IDE v3.55

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mxie1234



Joined: 03 Nov 2017
Posts: 4

View user's profile Send private message

Debug enable error CCS Compiler 5.073 with MPLAB X IDE v3.55
PostPosted: Sat Nov 04, 2017 6:10 pm     Reply with quote

Hi,
I have been using CCS Compiler with MPLAB IDE v8.92 and ICD3 to debug PIC code for years. Recently, I moved to PIC18F47K40 to get more code memory. Unfortunately, IDE v8.92 does not support 18F47K40. So I have to install MPLAB X IDE v3.55 in a Win7 32bit system. CCS Compiler v5.073 was also reinstalled with MPLAB IDE X Plug-in.

MPLAB X IPE was automatically installed with MPLAB X IDE. It works fine with my target board to program and erase the code in 18F47K40, which means the hardware setup with ICD3 is working properly.

But I couldn't get the debug mode working in CCS Compiler environment. When enabling the debug mode, I got a error message "Unable to open device: File access denied". Then, CCS will hang there forever unless forcing to end the task in Win7.

Any idea about this error message ? Something is missing for MPLAB X IDE to work in CCS environment for debug mode.

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 20317

View user's profile Send private message

PostPosted: Sat Nov 04, 2017 8:46 pm     Reply with quote

According to this thread, he says that he fixed it by making
sure his shortcuts are set to "Run as Admin":
http://www.ccsinfo.com/forum/viewtopic.php?t=55207
See the last post in that thread.
mxie1234



Joined: 03 Nov 2017
Posts: 4

View user's profile Send private message

PostPosted: Sat Nov 04, 2017 11:30 pm     Reply with quote

Yes, fixed.
Need to run CCS as administrator from shortcut.

Thank you very much.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group