|
|
View previous topic :: View next topic |
Author |
Message |
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Mar 08, 2005 11:13 am |
|
|
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
|
|
Posted: Tue Mar 08, 2005 12:12 pm |
|
|
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
|
|
Posted: Tue Mar 08, 2005 12:52 pm |
|
|
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
|
|
Posted: Wed Mar 09, 2005 4:04 am |
|
|
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
|
|
Posted: Wed Mar 09, 2005 7:10 am |
|
|
If you want to email me the code to try, I will test it for you. |
|
|
|
|
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
|