Download Protocol for non-Parallax generated code.
Oliver H. Bailey
Posts: 107
Hello Again,
I've been trying to download code generated from the CCS compiler to the SX28. Earlier SX Keys had command line options that supported this. I can not find any documentation regarding the use of non-parallax compilers and downloading to the target. Does anyone know if or where this information is or the location of the protocol to download to the target via the SX Key directly.
Thanks,
Oliver Bailey
I've been trying to download code generated from the CCS compiler to the SX28. Earlier SX Keys had command line options that supported this. I can not find any documentation regarding the use of non-parallax compilers and downloading to the target. Does anyone know if or where this information is or the location of the protocol to download to the target via the SX Key directly.
Thanks,
Oliver Bailey
Comments
Hi Guys;
My experience with the CCS compiler (version 3.223) is that it is incompatible with the current SX IDE. There are some funny work-arounds with manually loading a hex file that finally let you get it sort-of working; it's reallt tough to get the debug code window open. There is some better compatibility with older version IDE's, but certainly not complete. I'll see if I can figure out which that previous version was, but it certainly would be nice to have it compatible with the current version.
See the posts in this forum by krudko of 9/13/2004 regarding this issue........ there has been no real improvement by CCS in the last year.
Help requests simply responded by "go talk to Parallax". Great!
It truly is a super buggy compiler that is intended for a PIC, and does not compile well onto an SX platform. I'd LOVE to send it to PJ to see if he would know how to make the IDE compatible, but for the few (dozen?) or so out there it's probably not worth it.
Just my obsevations on how to throw a few hundred dollars down the drain.
Peter (pjv)
Post Edited (pjv) : 9/19/2005 4:45:53 PM GMT
There is currently no command line option to enable downloading a hex file to the chip via the SX key. As PJV pointed out, you can manually load the hex file and program the chip with it via the "Device" dialog. Of course, even after doing this, you have no means of debugging it without the source code. If all you want to do is program a chip, then the "Device" dialog is your current best bet. If you want to debug, then without source code that can be assembled and then sent to the chip, you're out of luck.
I am currently working on adding support for more command line options. I don't have a firm date for completion, but work is progressing nicely. Bear in mind, however, that this still won't let you debug without the source code.
Thanks, PeterM