This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320LF240[67] DSP and opensource compilers?

Other Parts Discussed in Thread: CODECOMPOSER, TMS320LF2407A

Does anyone know if there is an opensource tool for coding for the TMS320LF240[67] series 16-bit fixed-point DSP ICs.  These DSPs have quite respectable ADCs in them, and I'm curious to do some experimentations with one as part of a software defined radio receiver.  Maybe other experiments too.

At my work I use CodeComposer on Windows to develop for the '2406A, which while not bad, isn't quite my preference in terms of IDE (I'm used to vim, make and Insight/gdb on Linux) it's quite usable.  At home however... I do not have a computer running Windows, and can't afford the steep cost of CodeComposer.  (Remember, I'm an individual doing it as a hobby, not a company doing it as a business.)

I've heard of some ports of the GNU toolchain to some of the more modern DSPs, but was wondering if anyone had seen any tools for the 2406 and 2407?  Something opensource would be desirable as not all my development systems are i386 compatible (the one I use for Stellaris development is MIPS), and it does mean I have the option of looking at fixing problems myself if I encounter them (as opposed to being reduced to just making bug reports).

  • Hi

    To my knowledge there is no GNU toolchain for either C24xx or C28xx family (probably not even for C5000 or C6000 families).

    I think you can get code size limited (32k) version of CCS3.3 for free from TI(beware CCS 4.0 does not support C24xx family - http://tiexpressdsp.com/index.php/FAQ_-_CCSv4#Q:_Does_CCSv4_support_C24x.3F).

    The guys at http://www.code-skin.com/eclipse.html did a plug-in for eclipse. It might be a step in your direction, though you still need TI code generation tools.

    You might want to switch to C28x family, as C2802x sub family is a quite nice replacment for the old 2406. It has more ram, ADC is comparable and you can get free code size limited version of CCS (either 3.3 or 4.x) - you might even live to see Linux version of CCS

    Regards, Mitja

  • Mitja,

    Cheers for the heads up.  It's sad in a way that there isn't a more open alternative... I think I'm more likely to go ADI Blackfin than TI for this reason in the long run.  (My workplace is moving from MSP430 to Stellaris controllers for a similar reason for their smaller controllers.  I'm happily compiling for and debugging on Stellaris using a hand-built CodeSourcery toolchain, Insight and OpenOCD... versus mspgcc, Insight and the proprietary msp430-gdbproxy.)

    The board at the moment that I'm looking at is a Spectrum Digital eZdsp TMS320LF2407A... my worplace has had it sitting around for ages with apparently no use in making use of it... it has the programming interface (parallel port) built-in, so it's just a matter of being able to generate the code and stuffing it into flash.  I was thinking the GPIO lines (which there are many) could be wired up to the PC/104 slot on an old 486 panel PC that I have laying about, the DSP does all the signal processing, the 486 provides the user interface.  It seems to have enough I/O lines available to make a reasonable go of it.

    SMD soldering isn't my scene for homebrew stuff just yet -- as home etching thus far has not worked out terribly well when trying to do tracks as fine as the ones needed for LQFP packages (and BGA packages are a no-go with a soldering iron).  Hence I'm looking at boards that have the chip already mounted.

    Anyway... I shall give this some further thought.  Thanks for the advice. :-)