Shop OBEX P1 Docs P2 Docs Learn Events
Using SX-Key with a C compiler — Parallax Forums

Using SX-Key with a C compiler

krudkokrudko Posts: 3
edited 2004-09-15 03:27 in General Discussion
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

Comments

  • KenMKenM Posts: 657
    edited 2004-09-14 05:09
    Would it be difficult for you to re-write the program in assembly?

    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
  • Ken GraceyKen Gracey Posts: 7,407
    edited 2004-09-14 05:31
    Dear Krudko,

    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.
  • krudkokrudko Posts: 3
    edited 2004-09-14 15:07
    KenM,

    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!
  • Ken GraceyKen Gracey Posts: 7,407
    edited 2004-09-15 03:27
    Krudko,

    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.
Sign In or Register to comment.