EmbeddedRelated.com
Forums

DSP parts with free dev software/cheap dev tools?

Started by Mike Noone December 20, 2006
Hi - I'm looking at doing some DSP work (specifically, I'm working on
an AHARS system).

I've never worked with a DSP - but I understand them to essentially be
a microcontroller with especially strong math abilities. Thus this
seems like a perfect solution to my needs.

Problem is - it seems most all DSPs require expensive dev software and
hardware. I'm coming from the ARM and AVR world where software is free
and programmers are inexpensive. Being a student - this transition is a
bit unpleasant.

Are there any inexpensive routs into the DSP world? I'm looking for a C
compiler and some way of programming a board of my own design (I don't
plan on buying any dev boards).

-Mike

Mike Noone wrote:

> Hi - I'm looking at doing some DSP work (specifically, I'm working on > an AHARS system). > > I've never worked with a DSP - but I understand them to essentially be > a microcontroller with especially strong math abilities. Thus this > seems like a perfect solution to my needs.
Watch out -- you can get away with that thinking to some degree, but it may bite you. Most DSPs are designed for two purposes: number-crunching and fast I/O. They are not designed for ease of programming, or to have loads of peripherals. These days, many of them do, but at heart, most DSPs are a different world. You should think of them first as a peripheral or coprocessor, and second as a micro, and then only if you have a good C compiler. In fact, it used to be that you were very lucky indeed to get a C compiler on a DSP. It also used to be rare for DSPs to deal gracefully with 8-bit quantities. Both of these things are becoming more common as people demand to program everything in C, but they're not universal -- particularly the latter. Expect weirdness like non-8-bit chars and 40-bit floats. Also, a DSP doesn't automatically bring higher performance. It will usually get you much farther than would a micro at the same speed, but you may have to work to get there. A C compiler for a DSP may get you through a good first pass, but after that, you'll often need to tweak by hand to get maximum performance. It can be well worth the effort, but effort is required.
> Problem is - it seems most all DSPs require expensive dev software and > hardware. I'm coming from the ARM and AVR world where software is free > and programmers are inexpensive. Being a student - this transition is a > bit unpleasant.
I know the feeling well.
> Are there any inexpensive routs into the DSP world? I'm looking for a C > compiler and some way of programming a board of my own design (I don't > plan on buying any dev boards).
That may be tough. Others may know more, but I don't know of anything inexpensive that fits the bill. Would an FPGA + micro fit? FPGA tools are often cheap or free. Good luck -- and hopefully somebody can give more concrete advice. (In fact, I'll be interested myself to see whether people come up with anything.) --mpa
On 19 Dec 2006 21:53:45 -0800, "Mike Noone" <nleahcim@gmail.com>
wrote:

>Hi - I'm looking at doing some DSP work (specifically, I'm working on >an AHARS system). > >I've never worked with a DSP - but I understand them to essentially be >a microcontroller with especially strong math abilities. Thus this >seems like a perfect solution to my needs. > >Problem is - it seems most all DSPs require expensive dev software and >hardware. I'm coming from the ARM and AVR world where software is free >and programmers are inexpensive. Being a student - this transition is a >bit unpleasant. > >Are there any inexpensive routs into the DSP world? I'm looking for a C >compiler and some way of programming a board of my own design (I don't >plan on buying any dev boards). >
Look at http://www.bdti.com/faq/3.htm There is a fair bit of info available. The free tools seem to based on fairly old versions of gcc. It might be that ARM using gcc 4 might be faster with DSP type tasks than the DSPs using older versions of gcc. Regards Anton Erasmus
Mike Noone wrote:

> Hi - I'm looking at doing some DSP work (specifically, I'm working on > an AHARS system). > > I've never worked with a DSP - but I understand them to essentially be > a microcontroller with especially strong math abilities. Thus this > seems like a perfect solution to my needs. > > Problem is - it seems most all DSPs require expensive dev software and > hardware. I'm coming from the ARM and AVR world where software is free > and programmers are inexpensive. Being a student - this transition is a > bit unpleasant. > > Are there any inexpensive routs into the DSP world? I'm looking for a C > compiler and some way of programming a board of my own design (I don't > plan on buying any dev boards). > > -Mike >
It is my understanding that the DsPIC from Microchip has a gcc compiler available. Check. ARMs are pretty quick, and as mentioned elsewhere to really get the speed advantage of a DSP you have to sign up to some assembly programming, with some serious thought given to how the processor expects you to program it. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com Posting from Google? See http://cfaj.freeshell.org/google/ "Applied Control Theory for Embedded Systems" came out in April. See details at http://www.wescottdesign.com/actfes/actfes.html
On 19 Dec 2006 21:53:45 -0800, "Mike Noone" <nleahcim@gmail.com>
wrote:

>Hi - I'm looking at doing some DSP work (specifically, I'm working on >an AHARS system).
Airborne Heading-Attitude Reference System?
>I've never worked with a DSP - but I understand them to essentially be >a microcontroller with especially strong math abilities. Thus this >seems like a perfect solution to my needs. > >Problem is - it seems most all DSPs require expensive dev software and >hardware. I'm coming from the ARM and AVR world where software is free >and programmers are inexpensive. Being a student - this transition is a >bit unpleasant. > >Are there any inexpensive routs into the DSP world? I'm looking for a C >compiler and some way of programming a board of my own design (I don't >plan on buying any dev boards).
I've been using the ADSP-21xx series DSP processors for 15 years and more. There was an older assembler, linker and so on that you may be able to get for free from Analog Devices support folks. The particular toolset is their version 5.1 tools. It came on three floppies and I've had their tools folks (one of them, anyway) send me a complete set of them (after losing my one.) When getting that copy, the tool guy wasn't caring at all whether or not I owned a license to other products they do sell and I'm pretty sure Analog Devices doesn't really care anymore about that old toolset. I have them still and if this is something you'd like I can call over to them and see if I can get permission of one sort or another to give you a copy. (The ZIP is about 4.3Meg.) I also have the 37 page release notes for it. This includes the following description: &#4294967295; The software may require up to 13.5 MB of hard disk storage&#4294967295;see page 3 for storage requirements. &#4294967295; For all software except the C compiler, the minimum system configuration is a &#4294967295;286 based PC with 2 MB extended RAM (DOS 3.0 or higher), a hard disk, 640K of memory, a color video card and an EGA or VGA monitor, and a high density floppy disk drive. &#4294967295; The C compiler requires a &#4294967295;386 or &#4294967295;486 based PC. &#4294967295; The recommended system configuration is a &#4294967295;386 or &#4294967295;486 based PC with 4 MB extended RAM, DOS 3.0 or higher, a hard disk, 640K of memory, a color video card and an EGA or VGA monitor, a high density floppy disk drive and a mouse. What&#4294967295;s New In This Release? &#4294967295; The release of ADSP-2181 and ADSP-21msp59 software development tools. This release includes modifications to the System Builder, Assembler, Linker, PROM Splitter, Compiler, C Runtime Library, and two new Simulators. The details of ADSP-2181 support are covered in section 4.1, &#4294967295;New Features of Release 5.1 (ADSP-2181 Support)&#4294967295;. That would be 'free.' However, their cheap EZ-ICE board isn't around anymore, I believe. They have something more expensive and fancy out there, now. Not sure how much you could pull together for development but I thought I'd offer a thought, just in case. I think you'd need to work to pull together a workable situation, but this toolset could get you pretty far if the processor is otherwise workable. Jon
Jonathan Kirwan <jkirwan@easystreet.com> wrote in 
news:5hpho25lrhjgtf0g3d8vplurqgbgcuet6v@4ax.com:

> On 19 Dec 2006 21:53:45 -0800, "Mike Noone" <nleahcim@gmail.com> > wrote: > >>Hi - I'm looking at doing some DSP work (specifically, I'm working on >>an AHARS system). > > Airborne Heading-Attitude Reference System? > >>I've never worked with a DSP - but I understand them to essentially be >>a microcontroller with especially strong math abilities. Thus this >>seems like a perfect solution to my needs. >> >>Problem is - it seems most all DSPs require expensive dev software and >>hardware. I'm coming from the ARM and AVR world where software is free >>and programmers are inexpensive. Being a student - this transition is a >>bit unpleasant. >> >>Are there any inexpensive routs into the DSP world? I'm looking for a C >>compiler and some way of programming a board of my own design (I don't >>plan on buying any dev boards). > > I've been using the ADSP-21xx series DSP processors for 15 years and > more. There was an older assembler, linker and so on that you may be > able to get for free from Analog Devices support folks. The > particular toolset is their version 5.1 tools. It came on three > floppies and I've had their tools folks (one of them, anyway) send me > a complete set of them (after losing my one.) When getting that copy, > the tool guy wasn't caring at all whether or not I owned a license to > other products they do sell and I'm pretty sure Analog Devices doesn't > really care anymore about that old toolset. I have them still and if > this is something you'd like I can call over to them and see if I can > get permission of one sort or another to give you a copy. (The ZIP is > about 4.3Meg.) > > I also have the 37 page release notes for it. This includes the > following description: > > &#4294967295; The software may require up to 13.5 MB of hard disk storage&#4294967295;see > page 3 for storage requirements. > &#4294967295; For all software except the C compiler, the minimum system > configuration is a &#4294967295;286 based PC with 2 MB extended RAM (DOS 3.0 > or higher), a hard disk, 640K of memory, a color video card and > an EGA or VGA monitor, and a high density floppy disk drive. > &#4294967295; The C compiler requires a &#4294967295;386 or &#4294967295;486 based PC. > &#4294967295; The recommended system configuration is a &#4294967295;386 or &#4294967295;486 based PC > with 4 MB extended RAM, DOS 3.0 or higher, a hard disk, 640K of > memory, a color video card and an EGA or VGA monitor, a high > density floppy disk drive and a mouse. > > What&#4294967295;s New In This Release? > > &#4294967295; The release of ADSP-2181 and ADSP-21msp59 software development > tools. This release includes modifications to the System > Builder, Assembler, Linker, PROM Splitter, Compiler, C Runtime > Library, and two new Simulators. The details of ADSP-2181 > support are covered in section 4.1, &#4294967295;New Features of Release 5.1 > (ADSP-2181 Support)&#4294967295;. > > That would be 'free.' However, their cheap EZ-ICE board isn't around > anymore, I believe. They have something more expensive and fancy out > there, now. Not sure how much you could pull together for development > but I thought I'd offer a thought, just in case. I think you'd need > to work to pull together a workable situation, but this toolset could > get you pretty far if the processor is otherwise workable. > > Jon >
We sell a small credit card sized DSP board (DSP-8300) that uses an ADSP- 2186M and an AC-97 codec. We supply it with the 5.1 Tools. These tools were never copyrighted and were largely GNU based which is why they are available for free. We also have SHARC based boards that include a built in ADI debugger. These boards are supported with Visual DSP and will work with a free KIT license. Check out our web site if you are interested. -- Al Clark Danville Signal Processing, Inc. -------------------------------------------------------------------- Purveyors of Fine DSP Hardware and other Cool Stuff Available at http://www.danvillesignal.com
Mike Noone wrote:
> Hi - I'm looking at doing some DSP work (specifically, I'm working on > an AHARS system). > > I've never worked with a DSP - but I understand them to essentially be > a microcontroller with especially strong math abilities. Thus this > seems like a perfect solution to my needs. > > Problem is - it seems most all DSPs require expensive dev software and > hardware. I'm coming from the ARM and AVR world where software is free > and programmers are inexpensive. Being a student - this transition is a > bit unpleasant. > > Are there any inexpensive routs into the DSP world? I'm looking for a C > compiler and some way of programming a board of my own design (I don't > plan on buying any dev boards). > > -Mike
The Hitachi (now Renasis) SH-3 had what I consider to be a pretty decent free development environment called HEW which covered their entire SH and H8 line. The programming interfaces for both were well documented. I used it in a Windows environment but I understand that it also operated in the Linux environment. As an alternative, if you have Microsoft's Visual Studio environment, the Intel 80X86 MMX instruction set makes and excellent DSP learning tool free on your PC. Regards, Ken Asbury
"Mike Noone" wrote:

>I've never worked with a DSP - but I understand them to essentially be >a microcontroller with especially strong math abilities. Thus this >seems like a perfect solution to my needs.
I would restate that as "a microcontroller with a special instruction set that makes typical DSP operations faster/more efficient" (vector ops, multiply and accumulate, etc.,) for some appropriate definition of "typical", "faster", "more efficient" If these operations and your needs do not overlap, you may be better off with a non-dsp processor.
>Problem is - it seems most all DSPs require expensive dev software and >hardware. I'm coming from the ARM and AVR world where software is free >and programmers are inexpensive. Being a student - this transition is a >bit unpleasant.
I have been using Texas Instruments 2000 family (F2812) and yes, development kits are expensive, and TI's "Code Composer's Studio" seems to be what everybody is using for these chips.
>Are there any inexpensive routs into the DSP world? I'm looking for a C >compiler and some way of programming a board of my own design (I don't >plan on buying any dev boards).
Ask again in comp.dsp Roberto Waltman
On 2006-12-20, Tim Wescott <tim@seemywebsite.com> wrote:

> It is my understanding that the DsPIC from Microchip has a gcc compiler > available. Check. > > ARMs are pretty quick, and as mentioned elsewhere to really get the > speed advantage of a DSP you have to sign up to some assembly > programming,
Or use a library written by somebody who knew what they were doing. And if you think compilers are expensive...
> with some serious thought given to how the processor expects > you to program it.
-- Grant Edwards grante Yow! They at collapsed... like nuns visi.com in the street... they had no teenappeal!
Definately go to www.spinsemi.com and check out the FV-1 developemtn system. 
Very cheap.


"Mike Noone" <nleahcim@gmail.com> wrote in message 
news:1166594025.117118.173040@79g2000cws.googlegroups.com...
> Hi - I'm looking at doing some DSP work (specifically, I'm working on > an AHARS system). > > I've never worked with a DSP - but I understand them to essentially be > a microcontroller with especially strong math abilities. Thus this > seems like a perfect solution to my needs. > > Problem is - it seems most all DSPs require expensive dev software and > hardware. I'm coming from the ARM and AVR world where software is free > and programmers are inexpensive. Being a student - this transition is a > bit unpleasant. > > Are there any inexpensive routs into the DSP world? I'm looking for a C > compiler and some way of programming a board of my own design (I don't > plan on buying any dev boards). > > -Mike >