eLua on DSPs

classic Classic list List threaded Threaded
8 messages Options
Tony-12 Tony-12
Reply | Threaded
Open this post in threaded view
|

eLua on DSPs

I'm going to be pretty much a lurker (not a developer) for a while, due to
other commitments such as family and work, but I will try to work on DSP
ports sometime this year.

Since I happen to have a current, full (and legal) copy of TI's Code
Composer Studio and a C6701 eval board, the C6701 would be my first target.
Other DSPs I'm interested in are the C6745/C6747 and the F28335.

--Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090212/0bf0e566/attachment.html 

Dado Sutter Dado Sutter
Reply | Threaded
Open this post in threaded view
|

eLua on DSPs

Thank you very much Tony.

Best
Dado



On Thu, Feb 12, 2009 at 17:23, Tony <tony.elua at gmail.com> wrote:

> I'm going to be pretty much a lurker (not a developer) for a while, due to
> other commitments such as family and work, but I will try to work on DSP
> ports sometime this year.
>
> Since I happen to have a current, full (and legal) copy of TI's Code
> Composer Studio and a C6701 eval board, the C6701 would be my first target.
> Other DSPs I'm interested in are the C6745/C6747 and the F28335.
>
> --Tony
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090212/c4460016/attachment.html 

Jesus Alvarez Jesus Alvarez
Reply | Threaded
Open this post in threaded view
|

eLua on DSPs

In reply to this post by Tony-12
Your mention of TI Code Composer brings up a question. Do any of the eLua
platforms use a compiler that is not GCC?  I tried building eLua with IAR's
EWARM but segment declarations and other areas need minor changes. The IAR
compiler is popular for ARM development because it generates smaller ARM
binaries and its IDE has a good debugging environment.

Regards,
Jesus Alvarez



Dado Sutter Dado Sutter
Reply | Threaded
Open this post in threaded view
|

eLua on DSPs

Hello Alvarez,
   I've only used GCC so far (the toolchain setup by Bogdan) but I don't
know if Bogdan has used other compilers before.

   Can you tell us what is the code-size limit for IAR EWARM free version ?
   I've used IAR for TI MSP430s but their licences were too expensive for
our uses :( even with discounts for educational uses :(
   The live watch option of the debug "mode" never worked and it also had
issues debugging ISRs. But overall, the IDE is very professional and
complete, if you can pay for it.

Regards
Dado


On Thu, Feb 12, 2009 at 22:32, Jesus Alvarez <jalvarez at micromint.com> wrote:

> Your mention of TI Code Composer brings up a question. Do any of the eLua
> platforms use a compiler that is not GCC?  I tried building eLua with IAR's
> EWARM but segment declarations and other areas need minor changes. The IAR
> compiler is popular for ARM development because it generates smaller ARM
> binaries and its IDE has a good debugging environment.
>
> Regards,
> Jesus Alvarez
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090212/c587cca4/attachment.html 

Tony-12 Tony-12
Reply | Threaded
Open this post in threaded view
|

eLua on DSPs

In reply to this post by Jesus Alvarez
Well, it'll be interesting to see how it goes.  TI definitely doesn't try to
be "gcc-compliant", and I know they have some extra non-standard stuff to
take full advantage of the DSP (e.g. C6000 series can do 8 instructions per
cycle).

BTW, after the Beagle Board, TI has opened up a bit - all their assemblers
and compilers (but not the CCS IDE or DSP/BIOS RTOS) are available,  after
registration and hosted on Linux only, for free for non-commercial use.

The C6701 board isn't a bad place to start, because it can do JTAG over the
PCI bus (I don't have a good JTAG debugger).

--Tony

On Thu, Feb 12, 2009 at 4:32 PM, Jesus Alvarez <jalvarez at micromint.com>wrote:

> Your mention of TI Code Composer brings up a question. Do any of the eLua
> platforms use a compiler that is not GCC?  I tried building eLua with IAR's
> EWARM but segment declarations and other areas need minor changes. The IAR
> compiler is popular for ARM development because it generates smaller ARM
> binaries and its IDE has a good debugging environment.
>
> Regards,
> Jesus Alvarez
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090212/4f9f06da/attachment.html 

BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

eLua on DSPs

In reply to this post by Jesus Alvarez
> Your mention of TI Code Composer brings up a question. Do any of the eLua
> platforms use a compiler that is not GCC?  I tried building eLua with IAR's


It should _compile_, but it probably won't link. In this area, the main
problem of eLua right now is its dependency on Newlib. I plan to provide
eLua with its own libc/libm (adapted from Minix), but I'm afraid this will
take a bit more (and even more so for the floating point version). After we
do this, though, we _should_ be able to compile eLua on any platform that
has an ANSI C compiler, DSP or no DSP. While coding eLua, I payed special
attention to the ANSI C compatiblity part (there are currently some ugly
__attribute__ declarations in the code, but only in the TCP/IP uIP code, and
they could probably be eliminated by improving the build system).

Best,
Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090213/03333da4/attachment-0001.html 

Jesus Alvarez Jesus Alvarez
Reply | Threaded
Open this post in threaded view
|

eLua on DSPs

In reply to this post by Dado Sutter
> Can you tell us what is the code-size limit for IAR EWARM free version ?

The free version for ARM is limited to 32K of code. The two commercial
versions, one limited to 256K of code and the other one unlimited. The 256K
version is around $3K.

I have used EWARM to debug ISRs with Luminary MCUs. It has worked well.

Regards,
Jesus Alvarez



Dado Sutter Dado Sutter
Reply | Threaded
Open this post in threaded view
|

eLua on DSPs

Thank you Alvarez !

Regards
Dado



On Fri, Feb 13, 2009 at 11:06, Jesus Alvarez <jalvarez at micromint.com> wrote:

> > Can you tell us what is the code-size limit for IAR EWARM free version ?
>
> The free version for ARM is limited to 32K of code. The two commercial
> versions, one limited to 256K of code and the other one unlimited. The 256K
> version is around $3K.
>
> I have used EWARM to debug ISRs with Luminary MCUs. It has worked well.
>
> Regards,
> Jesus Alvarez
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090213/4d8cb26b/attachment.html