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

CCSC.exe error code list?

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



Joined: 17 Jun 2019
Posts: 617
Location: Des Moines, Iowa, USA

View user's profile Send private message Visit poster's website

CCSC.exe error code list?
PostPosted: Fri Jan 17, 2025 9:02 am     Reply with quote

I have a DOS batch file I use to build a few dozen .hex files for various boards (app partitions, bootloaders, factory images that have it all combined, etc.). I use the CCSC.exe command line options.

I wanted the script to stop and report errors, and was pleased to see CCSC does return values:

Code:
CCSC #COMPILE_PARTITION='A' #BOARD=%BOARD_DEFINE% #BUILD_FOR_BOOTLOADER=1 #INCLUDE_BOOTLOADER=1 I="%INCLUDES%" BUILD=%PROJECT%.ccspjt
if %ERRORLEVEL% neq 1 (
    echo The program returned an error with exit code %ERRORLEVEL%.
    pause
)


I was checking the help looking for a list of these codes and didn't find it. Is there a listing somewhere?

I didn't see it in the PDF manual either, but I assume it is there and I am just not searching for what they call them.
_________________
Allen C. Huffman, Sub-Etha Software (est. 1990) http://www.subethasoftware.com
Embedded C, Arduino, MSP430, ESP8266/32, BASIC Stamp and PIC24 programmer.
http://www.whywouldyouwanttodothat.com ?

Using: 24FJ256GA106, 24EP256GP202 and 24FJ64GA002.
temtronic



Joined: 01 Jul 2010
Posts: 9372
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Jan 17, 2025 9:20 am     Reply with quote

when I'm 'lost', I just ask the 'source'......

maybe there's a something.txt file with them ??
jeremiah



Joined: 20 Jul 2010
Posts: 1365

View user's profile Send private message

PostPosted: Fri Jan 17, 2025 9:23 am     Reply with quote

I don't know if this is exhaustive or not, but when I open up PCWHD and use the help dialog: In the "Search" tab, I searched for: errror

some of the results were of the format like e10003, etc. Those were specific error codes. There was also a section titled "Error Messages" which a lot of information (though I didn't catch any error codes there).

You might try sending them an email and seeing if they can provide a list.
Ttelmah



Joined: 11 Mar 2010
Posts: 19649

View user's profile Send private message

PostPosted: Sun Jan 19, 2025 3:00 am     Reply with quote

There are actually three different error code types that you can get.
CCS C itself is written in Delphi, and so some of the codes are the Delphi
codes for things line 'file not found' etc..
Then C itself has a few codes that are standardised, and CCS keeps to these
if applicable, However lots of these don't exist in the limited environment of
the PIC.
Then you have the CCS specific ones. These are the exxxx ones, and most
are listed in the manual.
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