DSPRelated.com
Forums

Problems with VisualDSP++ and fread function

Started by giovanniparodi79 January 13, 2005


Hello everybody, I have two problems:
I bought a EZ-KLite Blackfin 533 and I want to use it with a version
of VisualDSP++ that I bought for a Shark processor.
However I don't know if it is possible to use the 32 bit version of
Visual DSP++ for Blackfin, I think that it's impossible :-(.
My second problem is that with the lite version of Visual DSP++ I
tried to read a file from hard disk using fread function (it is a bmp
image), but it is very slow. What's the correct way to read an image
file from hard disk?.
The image is about 74 Kb..... and after 10 minutes it wasn't yet finished.
Please helps. Thanks a lot Giovanni




Shark liense wont work on Blackfin for sure. They have different
license for different products. One thing you can do is download a
testdrive license for 90 days to evaluate Blackfin and then you can
decide whether you want full license or not.

I dont know about the bmp file. I generally use this format to load my
ascii file that has int values in hex format. If you want to do
something similar then you may want to format that bmp file
accordingly..

int input[N] = { #include "yHexData_512.dat" };
Hope this helps.
Tarang On Thu, 13 Jan 2005 15:20:18 -0000, giovanniparodi79
<> wrote:
>
>
> Hello everybody, I have two problems:
> I bought a EZ-KLite Blackfin 533 and I want to use it with a version
> of VisualDSP++ that I bought for a Shark processor.
> However I don't know if it is possible to use the 32 bit version of
> Visual DSP++ for Blackfin, I think that it's impossible :-(.
> My second problem is that with the lite version of Visual DSP++ I
> tried to read a file from hard disk using fread function (it is a bmp
> image), but it is very slow. What's the correct way to read an image
> file from hard disk?.
> The image is about 74 Kb..... and after 10 minutes it wasn't yet finished.
> Please helps. Thanks a lot Giovanni >
>



Hello Giovanni,

--- giovanniparodi79 <>
wrote:

> I bought a EZ-KLite Blackfin 533 and I want to use
> it with a version
> of VisualDSP++ that I bought for a Shark processor.
> However I don't know if it is possible to use the 32
> bit version of
> Visual DSP++ for Blackfin, I think that it's
> impossible :-(.

You are right.... impossible!

> My second problem is that with the lite version of
> Visual DSP++ I
> tried to read a file from hard disk using fread
> function (it is a bmp
> image), but it is very slow. What's the correct way
> to read an image
> file from hard disk?.
> The image is about 74 Kb..... and after 10 minutes
> it wasn't yet finished.
> Please helps. Thanks a lot Giovanni

For moving those amounts of data, could you use an
emulator instead? The USB interface is very slow. I
remember: for loading some 120000 floating point
values in the SDRAM on my 21161N EZLITE I had to split
the .dat files into 4 files, each 30000 values long. =====

Jaime Andr Aranguren Cardona
__________________________________



Hello Laurent,

I am talking about the USB interface in the EzKits,
not about USB emulator.

That interface is said to be property of ADI, they
don't disclose it even in their schematic form. It is
based on the Cypress' Ez-USB microcontroller, 8051
derivative. Within it they implement the JTAG scanning
protocol. So, besides being an 8051 derivative running
at 12MHz, it is possible that they (ADI) also
implements some sort of delay to make transfers not
too fast, or at least, not blazing fast.

Some marketing way to promote the use of their
emulators for professional work, I guess.

This is in summary what I've read so far from
newsgroups, and what I think myself.

Regards,

JaaC

--- Laurent Ovaert <> wrote:

> Hi Jaime,
>
> ----- Original Message -----
> From: "Jaime Andres Aranguren Cardona"
> <>
>
> Do you have any explanation on why the USB interface
> it is that slow ?
> What's the difference with an emulator that would
> explain a difference in
> speed ?
>
> Thanks,
> Laurent

=====

Jaime Andr Aranguren Cardona

__________________________________




I'm surprised no one has clean-roomed that design yet.

At 02:51 PM 1/13/2005, Jaime Andres Aranguren Cardona wrote:

>Hello Laurent,
>
>I am talking about the USB interface in the EzKits,
>not about USB emulator.
>
>That interface is said to be property of ADI, they
>don't disclose it even in their schematic form. It is
>based on the Cypress' Ez-USB microcontroller, 8051
>derivative. Within it they implement the JTAG scanning
>protocol. So, besides being an 8051 derivative running
>at 12MHz, it is possible that they (ADI) also
>implements some sort of delay to make transfers not
>too fast, or at least, not blazing fast.
>
>Some marketing way to promote the use of their
>emulators for professional work, I guess.
>
>This is in summary what I've read so far from
>newsgroups, and what I think myself.
>
>Regards,
>
>JaaC
>
>--- Laurent Ovaert <> wrote:
>
> > Hi Jaime,
> >
> > ----- Original Message -----
> > From: "Jaime Andres Aranguren Cardona"
> > <>
> >
> > Do you have any explanation on why the USB interface
> > it is that slow ?
> > What's the difference with an emulator that would
> > explain a difference in
> > speed ?
> >
> > Thanks,
> > Laurent
>
>=====
>
>Jaime Andr Aranguren Cardona >
>
>__________________________________ >
>

Steve Holle
Link Communications, Inc.
1035 Cerise Rd.
Billings, MT 59101


On Thu, 13 Jan 2005, Steve Holle wrote:

> I'm surprised no one has clean-roomed that design yet.

No reason to. At $400 for an EZ-kit you just lift a couple of wires and
get a jtag interface to any board you want. If ADI was smart, they would
sell that chunk of hardware for $400 along with a stripped down VDSP for
another $400 and make thinking about reverse engineering pointless. Don't
hold your breath waitng :-)

Patience, persistence, truth,
Dr. mike



True. You can't spend much time for $400.

At 07:20 AM 1/14/2005, Mike Rosing wrote:
>On Thu, 13 Jan 2005, Steve Holle wrote:
>
> > I'm surprised no one has clean-roomed that design yet.
>
>No reason to. At $400 for an EZ-kit you just lift a couple of wires and
>get a jtag interface to any board you want. If ADI was smart, they would
>sell that chunk of hardware for $400 along with a stripped down VDSP for
>another $400 and make thinking about reverse engineering pointless. Don't
>hold your breath waitng :-)
>
>Patience, persistence, truth,
>Dr. mike

Steve Holle
Link Communications, Inc.
1035 Cerise Rd.
Billings, MT 59101


The EZ-Kit debugger is considered proprietary by ADI. You could certainly
do what you have suggested (and others have). You cannot sell this product
however without ADI's permission.

We are getting ready to release our new dspstak zx platform. It is the only
third party board for the SHARC that has the ADI debugger built in. It
looks like an EZ-Kit to Visual DSP and it is built with ADI's permission.
The platform is more powerful and more flexible that the EZ-Kit. It
supports the 2126x and 2136x DSPs. It includes SDRAM and a user
reprogrammable FPGA.

We do not have info on this platform on our web site yet. This would show
up in the next two weeks. You can add your name to our mail list if interested.

Al Clark
Danville Signal Processing, Inc.

At 09:11 AM 1/14/2005, Steve Holle wrote: >True. You can't spend much time for $400.
>
>At 07:20 AM 1/14/2005, Mike Rosing wrote:
> >On Thu, 13 Jan 2005, Steve Holle wrote:
> >
> > > I'm surprised no one has clean-roomed that design yet.
> >
> >No reason to. At $400 for an EZ-kit you just lift a couple of wires and
> >get a jtag interface to any board you want. If ADI was smart, they would
> >sell that chunk of hardware for $400 along with a stripped down VDSP for
> >another $400 and make thinking about reverse engineering pointless. Don't
> >hold your breath waitng :-)
> >
> >Patience, persistence, truth,
> >Dr. mike
>
>Steve Holle
>Link Communications, Inc.
>1035 Cerise Rd.
>Billings, MT 59101 >
Al Clark
Danville Signal Processing, Inc.
--------------------------------
Purveyors of Fine DSP Hardware and other Cool Stuff
Available at http://www.danvillesignal.com


Hello,

--- Mike Rosing <> wrote:

>
> On Thu, 13 Jan 2005, Steve Holle wrote:
>
> > I'm surprised no one has clean-roomed that design
> yet.
>
> No reason to. At $400 for an EZ-kit you just lift a
> couple of wires and
> get a jtag interface to any board you want.

Even worse: some time ago (one year maybe?) there was
a great promo on which you could get your
ADSP-BF533-EZLITE for something around US$100, plus
the VDSP++ EzLite version. It seems that many people
has managed to make this one a US$100 low-speed JTAG
emulator. Many bought more than one of these kits, one
as emulator fake, the other(s) as hardware development
platform. Some information about this can be found at
the Forums www.blackfin.org

Regards,

=====

Jaime Andr Aranguren Cardona
__________________________________



Thanks to everybody, I resolved my problem using the
Image viewer tool of VisualDSP++..... not the better
way but it works.
However I'm very interested about the possibility to
use a EZlite kit as JTAG emulator.... can you say me
something more?
Thanks Giovanni

--- Jaime Andres Aranguren Cardona
<> ha scritto:
>
> Hello,
>
> --- Mike Rosing <> wrote:
>
> >
> > On Thu, 13 Jan 2005, Steve Holle wrote:
> >
> > > I'm surprised no one has clean-roomed that
> design
> > yet.
> >
> > No reason to. At $400 for an EZ-kit you just lift
> a
> > couple of wires and
> > get a jtag interface to any board you want.
>
> Even worse: some time ago (one year maybe?) there
> was
> a great promo on which you could get your
> ADSP-BF533-EZLITE for something around US$100, plus
> the VDSP++ EzLite version. It seems that many people
> has managed to make this one a US$100 low-speed JTAG
> emulator. Many bought more than one of these kits,
> one
> as emulator fake, the other(s) as hardware
> development
> platform. Some information about this can be found
> at
> the Forums www.blackfin.org
>
> Regards,
>
> =====
>
> Jaime Andr Aranguren Cardona >
> __________________________________
___________________________________
Nuovo Yahoo! Messenger: E' molto pidivertente: Audibles, Avatar, Webcam, Giochi, Rubrica Scaricalo ora!
http://it.messenger.yahoo.it