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 CCS Technical Support

Access violation, unable to compile
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Fri Jul 16, 2004 1:10 pm     Reply with quote

I have had really weird behavior when compiling code for a 12 bit chip with the 14 bit compiler selected in the drop down box, or vice versa. I use both frequently. Now that I know to check I don't have problems.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Alex
Guest







Re: Access Violation.
PostPosted: Fri Jan 13, 2006 3:46 pm     Reply with quote

I'm seeing the same error - "Access violation at address [x] in module 'Pcw.exe'. Read of address is [y]". The pull-down menu that usually contains "Microchip P18" or "Microchip 12 bit" is blank and cannot be changed.

I've tried all available CCS patches, tried the MPLab plugin, tried uninstalling and reinstalling, ensured the code I am trying to compile actually compiles fine on other machines, etc.

This is on a new (4 or 5 days old) IBM laptop.

Does anyone have any ideas? I will shortly be switching to C18 otherwise.

Thanks,
Alex
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jan 13, 2006 4:23 pm     Reply with quote

Do you need to use the CCS IDE ? I haven't done this, but it's probably
possible to install the latest version of MPLAB and use it as the IDE
instead of the CCS one.
MPLAB has colored syntax, and CCS does offer a "plug-in" that you
can download and install, which allows easy integration into MPLAB.
imET



Joined: 05 Jul 2005
Posts: 4
Location: Canada

View user's profile Send private message

PostPosted: Fri Jan 13, 2006 6:27 pm     Reply with quote

try deleting *.ini file in the isntalled folder
just something to try Smile
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jan 13, 2006 6:45 pm     Reply with quote

Quote:
try deleting *.ini file in the isntalled folder

In a previous post in Page 1 of this thread it says the following:
I assumed that he tried all that before he posted.
Quote:

Problem solved i think. I haddn't noticed that when doing an uninstall
via "Add/Remove Programs" it was leaving behind a couple of config
files
in the directory. Deleting those files and doing another clean
install of 173 seems to have got me running. Note i had tried clean install
with 169 before, so there is still something odd floating around
here.
pfournier



Joined: 30 Sep 2003
Posts: 89

View user's profile Send private message

PostPosted: Tue Feb 14, 2006 7:48 am     Reply with quote

I have been working with 3.242. All of a sudden I got:

"Access violation at address [x] in module 'pch.dll'. Read of address is [y]".

I tried everything in this thread to no effect. I finally went back to 3.236 and it flagged a missing bracket. I fixed it, returned to 3.242 (It is the only one that can complile for the 18F8622 correctly.) and it compiled fine!

I have reported this to CCS. But I thought I'd supply a "heads up".
_________________
-Pete
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Tue Feb 14, 2006 7:57 am     Reply with quote

FWIW...

Every time I have ever gotten the "Access violation at address [x] in module 'pch.dll'. Read of address is [y]" type messages it has always been something in my C code that caused it.

I just start commenting out lines of code until the problem goes away and figure out what the compiler did not like. This has happened to me at least a dozen times so far.
paul
Guest







PostPosted: Wed Nov 08, 2006 8:26 pm     Reply with quote

try opening the pcw.ini file in the program directory, and look for the line after "[compiler]". Change the index to 1 if it is not already.

It should look like this:
[compiler]
index=1

this did the trick for me, good luck
GARY
Guest







Access violation
PostPosted: Thu Jan 04, 2007 1:33 pm     Reply with quote

Hi
I bought PCM compiler last week. On start up for the first time it compiled with Access error. I found this forum and followed the advice given by pcm_programmer - ask for new registration files thanks for that). I emailed technical support which would of been 31 December 2006. A few hours later I got a reply asking me for my registation files!! I duly sent them and then on the 1st January 2007 they emailed me new registration files!! My PCM Compiler worked fine after that, and udated ok as well. I would like to add that CCS Technical Support was fantastic - I did not Expect this over the New Year holiday - thanks CCS Tech Support. So I would suggest anyone who has bought the PCM compiler and gets an Access error when compiling for the first time - contact Tech support.
Thanks
Gary Laughing
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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