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

Installing PCM and PCH in separate directories
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Tue Mar 08, 2005 11:13 am     Reply with quote

Alright, I paid my yearly dues and this is what I get with 3.221

Quote:

Clean: Deleting intermediary and output files.
Clean: Deleted file "t1.HEX".
Clean: Done.
Executing: "C:\Program Files\PICC\3221\Ccsc.exe" t1.c +FH
Executing: "C:\Program Files\PICC\3221\dummy.BAT" "C:\t1.HEX" /o "t1.HEX"
Skipping Link Step
Loaded C:\t1.COD
BUILD SUCCEEDED: Tue Mar 08 12:11:00 2005



Can't think it could be source related but if you want to post your test code I will try and compile it.
guest
Guest







PostPosted: Tue Mar 08, 2005 12:12 pm     Reply with quote

Well, my actual source code is a few thousand lines long, so I tried the simple code below:

Code:
#include "18F8720.h"      

#use delay(clock=3686400)         

#use rs232(baud=2400, xmit=PIN_C6, rcv=PIN_C7, parity=N, bits=8, errors)

void main()
{
   printf("TEST");
   while(1)
   {}
}


and guess what? IT WORKS! (see below)

Quote:
Clean: Deleting intermediary and output files.
Clean: Deleted file "test.HEX".
Clean: Done.
Executing: "C:\Program Files\PCH_3221\Ccsc.exe" test.c +FH +p +t
Executing: "C:\Program Files\PCH_3221\dummy.bat" C:\TEST\test.HEX" /o "TEST.HEX"
Skipping Link Step
Loaded C:\TEST\TEST.COD
BUILD SUCCEEDED: Tue Mar 08 17:56:25 2005[/code]


I'll now try to comment out my source bit by bit (punn intended) to find out what's causing it. I'll come back when I've found it...

Again, many thanks for all your help, Mark. This setup will make my life a lot easier.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Tue Mar 08, 2005 12:52 pm     Reply with quote

Give me an email address. I have a wrapper EXE that I created for the older compiler. It may do the job for you.
guest
Guest







PostPosted: Wed Mar 09, 2005 4:04 am     Reply with quote

Thanks for the file, unfortunately still the same problem as before. I'll let you know what it was when I've found the solution.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Mar 09, 2005 7:10 am     Reply with quote

If you want to email me the code to try, I will test it for you.
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, 3
Page 3 of 3

 
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