Using SX-Key with a C compiler
I have been using a CCS SX-C compiler on a current project.
Currently, the SX-KEY does not support the debug file format (.COD)
from their compiler. The result is that even though I can program the
processor with the SX-Key, I can not do any meaningful debugging with
it.
Has anyone had any experience with this sort of problem or better yet,
some solutions? Thanks in advance
Currently, the SX-KEY does not support the debug file format (.COD)
from their compiler. The result is that even though I can program the
processor with the SX-Key, I can not do any meaningful debugging with
it.
Has anyone had any experience with this sort of problem or better yet,
some solutions? Thanks in advance
Comments
With the SXKey and the free software, you can program, run, or·single step through your program to debug.
http://www.parallax.com/sx/downloads.asp
We recently connected CCS with ByteCraft (another SX "C" compiler manufacturer) and ByteCraft provided CCS with the correct COD file format. That means that it's entirely up to CCS to get better source-level debug by creating the right format output. That's my understanding of the situation, so for you to get your money's worth from the compiler you best contact CCS and make the request.
Sincerely,
Ken Gracey
Parallax, Inc.
the reason we went to the C compiler was because assembler was just too ugly. The project has a number of hardware functions as well as complicated menu handling and data collection/storage. There comes a point when assembler just is not viable any more. We found that point. [noparse]:)[/noparse]
Ken Gracey,
thank you for the heads up about ByteCraft interacting with CCS. This is the most promising news I've heard!
Let me clarify. The ByteCraft C compiler already integrates with the SX-Key. The cod file output is formatted properly. ByteCraft developed the cod file format we use, so in order for other C compiler manufacturers to use it they really need ByteCraft's approval. ByteCraft provided that approval to CCS, so if CCS can produce the right cod file output according to ByteCraft's style we can bring it into the SX-Key IDE. To date, CCS has not done that as far as I know. So, if you demand C then you need to push on CCS to get the format right.
New alternatives come around all the time, so sit tight for a bit and you could be surprised.
Ken Gracey
Parallax, Inc.