| Author |
Message |
giangiammy
Guest
|
|
| Back to top |
|
 |
giangiammy
Guest
|
Posted:
Thu Dec 01, 2005 5:16 pm Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
| Quote: | if you want it, send me an email. It might take me a couple of days to
unearth it though.
|
thank you very much for the disponibility, but I found the g21k: the
problem
is exactly its missing support for SIMD :-(
giammy |
|
| Back to top |
|
 |
Donald
Guest
|
Posted:
Thu Dec 01, 2005 5:16 pm Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
giangiammy wrote:
| Quote: | if you want it, send me an email. It might take me a couple of days to
unearth it though.
thank you very much for the disponibility, but I found the g21k: the
^^^^^^^^^^^^^ |
WHAT !!??
http://dictionary.reference.com/search?q=disponibility
No entry found for disponibility.
| Quote: | problem
is exactly its missing support for SIMD :-(
giammy
|
|
|
| Back to top |
|
 |
giangiammy
Guest
|
Posted:
Thu Dec 01, 2005 5:16 pm Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
sorry for my english, I adapted from italian
I just wanted thank Jim for offering his help
(and hope that this is grammatically correct :-)
bye
giammy |
|
| Back to top |
|
 |
Guest
|
Posted:
Thu Dec 01, 2005 5:16 pm Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
giangiammy wrote:
| Quote: | if you want it, send me an email. It might take me a couple of days to
unearth it though.
thank you very much for the disponibility, but I found the g21k: the
problem
is exactly its missing support for SIMD :-(
|
If it is only that, then that is not really a problem. The command to
activate SIMD is
"bit set mode1 PEYEN;" = 0x140200200000
and to disable SIMD you need
"bit clr mode1 PEYEN" = 0x142200200000
Include the following macros into your code:
#define ENABLE_SIMD INSTR1: px = 0x140200200000; pm(INSTR1+2) = px;
nop;
#define DISABLE_SIMD INSTR2: px = 0x142200200000; pm(INSTR2+2) = px;
nop;
Now whenever you want to enable or disable SIMD in your code, call the
respective macro instead.
Regards,
Andor |
|
| Back to top |
|
 |
Jim Thomas
Guest
|
Posted:
Thu Dec 01, 2005 5:16 pm Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
giangiammy wrote:
| Quote: | hi all,
I have googled some time to look for GPl development tool
of ADSP 21262, with no luck: any one have informations
about such tools?
Does exist something?
|
ADI used to provide a GPL tool chain, but switched to closed source in
the late 90's. If memory serves, the last processor ADI supported with
gcc was the 21062. The compiler was called g21k, so there's a term for
you to feed to Google.
The 21160 has a lot of features the 2106x family lacks (SIMD in
particular, and the 2126x stuff looks a lot like the 2116x). It is a
NON-trivial task to add 2116x support to g21k. I have the source tree
hanging around on an old not-currently-installed-in-a-PC hard drive, so
if you want it, send me an email. It might take me a couple of days to
unearth it though.
Maybe Al Clark knows something more up-to-date than me.
--
Jim Thomas Principal Applications Engineer Bittware, Inc
jthomas@bittware.com http://www.bittware.com (603) 226-0404 x536
Build a man a fire and he is warm for a day.
Set a man on fire and he is warm for the rest of his life. |
|
| Back to top |
|
 |
Al Clark
Guest
|
Posted:
Thu Dec 01, 2005 5:16 pm Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
"giangiammy" <giangiammy@gmail.com> wrote in
news:1133437911.291174.304110@g43g2000cwa.googlegroups.com:
I don't believe there are any GPI tools for the ADSP-21262. There are a
few alternatives to buying a full VDSP license.
1. You can use a kit license with either an ADI EZ-Kit or any of our
dspstak DSP Engines with ICE. The kit license has a program size
restriction and requires that you are connected to an EZ-Kit debugger.
You can generate ldr (bootable code) files for whatever your final target
is. One advantage is that you also have a low cost ICE for debug with
this approach.
2. Beastrider was an assembler and linker for the ADSP-21262. It is more
limited than the ADI tools but it is inexpensive.
--
Al Clark
Danville Signal Processing, Inc.
--------------------------------------------------------------------
Purveyors of Fine DSP Hardware and other Cool Stuff
Available at http://www.danvillesignal.com |
|
| Back to top |
|
 |
Andreas S.
Guest
|
Posted:
Thu Dec 01, 2005 5:16 pm Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
giangiammy wrote:
| Quote: | hi all,
I have googled some time to look for GPl development tool
of ADSP 21262, with no luck: any one have informations
about such tools?
Does exist something?
|
http://www.kvaleberg.com/g21.html
It says 21k, so your DSP should be supported. |
|
| Back to top |
|
 |
Guest
|
Posted:
Thu Dec 01, 2005 11:26 pm Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
Andreas S. wrote:
| Quote: | giangiammy wrote:
hi all,
I have googled some time to look for GPl development tool
of ADSP 21262, with no luck: any one have informations
about such tools?
Does exist something?
http://www.kvaleberg.com/g21.html
It says 21k, so your DSP should be supported.
|
It said so at a time when the only 21k DSPs were the 21060, -61 and
-62. Not even the -65L is supported with that toolset, never mind the
211xx, 212xx and 213xx processors.
Regards,
Andor |
|
| Back to top |
|
 |
Guest
|
Posted:
Fri Dec 02, 2005 12:41 am Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
I wrote:
| Quote: | giangiammy wrote:
if you want it, send me an email. It might take me a couple of days to
unearth it though.
thank you very much for the disponibility, but I found the g21k: the
problem
is exactly its missing support for SIMD :-(
If it is only that, then that is not really a problem. The command to
activate SIMD is
"bit set mode1 PEYEN;" = 0x140200200000
and to disable SIMD you need
"bit clr mode1 PEYEN" = 0x142200200000
Include the following macros into your code:
#define ENABLE_SIMD INSTR1: px = 0x140200200000; pm(INSTR1+2) = px;
nop;
#define DISABLE_SIMD INSTR2: px = 0x142200200000; pm(INSTR2+2) = px;
nop;
Now whenever you want to enable or disable SIMD in your code, call the
respective macro instead.
|
I just thought of three things: First, the above construct doesn't work
(the multiple use of INSTR1 and INSTR2 will generate errors), second
enabling and disabling SIMD can be achieved much simpler (define PEYEN
and you're done), and thirdly, adding SIMD support will be the least of
your problems. The major problem is how you can fool the linker into
generating a memory image of the 212xx instead of the 2106x. There
might be a chance with the "nomemcheck" switch of the linker ...
Regards,
Andor |
|
| Back to top |
|
 |
Al Clark
Guest
|
Posted:
Fri Dec 02, 2005 12:48 am Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
Jim Thomas <jthomas@bittware.com> wrote in news:11ou4tm1eomttb6
@corp.supernews.com:
| Quote: | giangiammy wrote:
hi all,
I have googled some time to look for GPl development tool
of ADSP 21262, with no luck: any one have informations
about such tools?
Does exist something?
ADI used to provide a GPL tool chain, but switched to closed source in
the late 90's. If memory serves, the last processor ADI supported with
gcc was the 21062. The compiler was called g21k, so there's a term for
you to feed to Google.
The 21160 has a lot of features the 2106x family lacks (SIMD in
particular, and the 2126x stuff looks a lot like the 2116x). It is a
NON-trivial task to add 2116x support to g21k. I have the source tree
hanging around on an old not-currently-installed-in-a-PC hard drive, so
if you want it, send me an email. It might take me a couple of days to
unearth it though.
Maybe Al Clark knows something more up-to-date than me.
|
Not much to add, except that for all practical purposes, 2116x, 2126x and
2136x code is all compatible from a language point of view. These DSPs
all support SIMD.
We tend to use serial flash for bootloading these days. You would need to
create an appropriate loader file program that certainly did not exist in
the old g21k.
--
Al Clark
Danville Signal Processing, Inc.
--------------------------------------------------------------------
Purveyors of Fine DSP Hardware and other Cool Stuff
Available at http://www.danvillesignal.com |
|
| Back to top |
|
 |
Richard Owlett
Guest
|
Posted:
Fri Dec 02, 2005 1:17 am Post subject:
[OT - Italian-English cognates] -- was once [Re: ADSP 21262 |
|
|
Donald wrote:
| Quote: | giangiammy wrote:
thank you very much for the disponibility, but I found the g21k: the
^^^^^^^^^^^^^
WHAT !!??
|
To which giangiammy replied:
| Quote: | sorry for my english, I adapted from italian
I just wanted thank Jim for offering his help
(and hope that this is grammatically correct :-)
bye
giammy
|
OK you have me intrigued. I have a hobbyist interest in linguistics.
[ My 9th grade {1st yr secondary school} English teacher had her masters
degree in Indo-European. I've not been same since ;]
~50 yrs ago I had 3 years of Latin and 3 years of French.
I can't figure out the specific word you wanted.
What was the Italian word you were thinking of?
What is its Latin root (if any)?
My intention is to dive into WEB on an etymological search of discovery. |
|
| Back to top |
|
 |
Just Cocky
Guest
|
Posted:
Fri Dec 02, 2005 1:17 am Post subject:
Re: [OT - Italian-English cognates] -- was once [Re: ADSP 21 |
|
|
On Thu, 01 Dec 2005 13:40:00 -0600, Richard Owlett
<rowlett@atlascomm.net> wrote:
| Quote: |
Donald wrote:
giangiammy wrote:
thank you very much for the disponibility, but I found the g21k: the
^^^^^^^^^^^^^
WHAT !!??
|
http://www.google.com/translate_t?text=available&langpair=en%7Cit&hl=en&ie=UTF8 |
|
| Back to top |
|
 |
Jon Harris
Guest
|
Posted:
Fri Dec 02, 2005 7:33 am Post subject:
Re: ADSP 21262 - GPL toolchain |
|
|
<abariska@student.ethz.ch> wrote in message
news:1133456869.280780.11830@g49g2000cwa.googlegroups.com...
| Quote: | giangiammy wrote:
if you want it, send me an email. It might take me a couple of days to
unearth it though.
thank you very much for the disponibility, but I found the g21k: the
problem
is exactly its missing support for SIMD :-(
If it is only that, then that is not really a problem. The command to
activate SIMD is
"bit set mode1 PEYEN;" = 0x140200200000
and to disable SIMD you need
"bit clr mode1 PEYEN" = 0x142200200000
Include the following macros into your code:
#define ENABLE_SIMD INSTR1: px = 0x140200200000; pm(INSTR1+2) = px;
nop;
#define DISABLE_SIMD INSTR2: px = 0x142200200000; pm(INSTR2+2) = px;
nop;
Now whenever you want to enable or disable SIMD in your code, call the
respective macro instead.
|
Self-modifying code. Cool! |
|
| Back to top |
|
 |
giangiammy
Guest
|
Posted:
Fri Dec 02, 2005 9:16 am Post subject:
Re: -- was once [Re: ADSP 21262 - GPL toolchain] |
|
|
Hi,
i was thinking:
Grazie per la tua disponibilità
I do not know the latin root, if I find something
in my dictionary i'll let you know
bye
giammy |
|
| Back to top |
|
 |
|
|
|
|