DVSDK Overo and JTAG programming

View: New views
14 Messages — Rating Filter:   Alert me  

DVSDK Overo and JTAG programming

by Stefano Cappello-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hi guys! I would like to ask you some question because i never used linux
with embedded system.

Can i use TI DVSDK for programming Overo module?? Or mandatory OpenEmbedded?
 Can i program overo with only JTAG connector? Or i need USB too?
And if i want use camera port for connect a video decoder, i need to changes
camera driver?

Thanks to all!!


--
View this message in context: http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Jonathan Kunkee :: Rate this Message:

| View Threaded | Show Only this Message

> Hi guys! I would like to ask you some question because i never used linux
> with embedded system.

Welcome to the crazy world of embedded development. :)

>
> Can i use TI DVSDK for programming Overo module?? Or mandatory OpenEmbedded?

The Overo module contains several components. It seems that
the DSP and the ARM processor are most important to you at the
moment, so I'll start with just those.

Compiling and installing programs on the main processor is
easiest (to me) using three approaches: cross-compilation using
OpenEmbedded, native-compilation after installation, and using
opkg (the package manager) after installation.

Writing and compiling code to run on the DSP is done using TI's
DVSDK, which can be integrated into the OpenEmbedded build
system. Others know more about this and have explained it on
this mailing list before, so I will refer you to Google on that one.
Good luck.

>  Can i program overo with only JTAG connector? Or i need USB too?

Getting your compiled code onto the Gumstix is done by either
flashing an SD card (well documented on the Gumstix site) or by
using the serial line to manipulate the built-in flash memory (if
available). IIRC, JTAG is not exposed on the CoM, so it isn't
possible. (If you have managed to get access to JTAG on the CoM
otherwise I'd absolutely LOVE to hear about it off-list.)

> And if i want use camera port for connect a video decoder,
> i need to changes camera driver?

I understood this as "if I want to read encoded video in on the
camera port so that I can decode it, do I need to change the
camera driver?"

Maybe. It depends on what you're connecting to the camera port.
The current kernel driver is exceptionally good at reading raw
data off the port at specific rates and in specific formats; if one of
those will work, then no. Otherwise, yes.

Best of luck,
Jon Kunkee


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Stefano Cappello-2 :: Rate this Message:

| View Threaded | Show Only this Message

Thanks!! I explain better:
My intention is develop a system for the university and i need MPEG compression,then Overo is perfect,right?
I want connect to camera port the video decoder TVP5146 and not a camera directly.Then i would know if i need to change the camera driver.
The decoder and the camera have almost the same signals.
I know JTAG is another interface, but i thought i could program through JTAG too.



2012/6/9 Jonathan Kunkee <jonathan.kunkee@...>

> Hi guys! I would like to ask you some question because i never used linux
> with embedded system.

Welcome to the crazy world of embedded development. :)

>
> Can i use TI DVSDK for programming Overo module?? Or mandatory OpenEmbedded?

The Overo module contains several components. It seems that
the DSP and the ARM processor are most important to you at the
moment, so I'll start with just those.

Compiling and installing programs on the main processor is
easiest (to me) using three approaches: cross-compilation using
OpenEmbedded, native-compilation after installation, and using
opkg (the package manager) after installation.

Writing and compiling code to run on the DSP is done using TI's
DVSDK, which can be integrated into the OpenEmbedded build
system. Others know more about this and have explained it on
this mailing list before, so I will refer you to Google on that one.
Good luck.

>  Can i program overo with only JTAG connector? Or i need USB too?

Getting your compiled code onto the Gumstix is done by either
flashing an SD card (well documented on the Gumstix site) or by
using the serial line to manipulate the built-in flash memory (if
available). IIRC, JTAG is not exposed on the CoM, so it isn't
possible. (If you have managed to get access to JTAG on the CoM
otherwise I'd absolutely LOVE to hear about it off-list.)

> And if i want use camera port for connect a video decoder,
> i need to changes camera driver?

I understood this as "if I want to read encoded video in on the
camera port so that I can decode it, do I need to change the
camera driver?"

Maybe. It depends on what you're connecting to the camera port.
The current kernel driver is exceptionally good at reading raw
data off the port at specific rates and in specific formats; if one of
those will work, then no. Otherwise, yes.

Best of luck,
Jon Kunkee


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Jonathan Kunkee :: Rate this Message:

| View Threaded | Show Only this Message

> Thanks!! I explain better:
> My intention is develop a system for the university and i need MPEG
> compression,then Overo is perfect,right?

If you don't want to use a dedicated MPEG encoder chip (possibly
cheaper, pinouts might not match) nor do you have an FPGA with
good component libraries and you want the power of a DSP to
work with, I'd say yes, the Overo fits the bill.

> I want connect to camera port the video decoder TVP5146 and not a camera
> directly.Then i would know if i need to change the camera driver.
> The decoder and the camera have almost the same signals.

This TVP5146 is not something I'm familiar with; "almost" is an
interesting word. :) If you can make the decoder pin-compatible
(or nearly so) with the Caspa camera, I would say the Caspa driver
could be used as-is or modified slightly to work. I think the
camera connect to pins on the CPU that are fairly easy to work
with, so even a few pins being different would work. You already
have the decoder picked out and are apparently doing a bit of
board design, so the hardware part won't be too bad. Even
writing a simple I2C driver for the video data component isn't out
of reach.

Looks like you'll have a 20 bit incoming signal. I don't really know
what the Caspa provides, but it's not that different I don't think.
Best of luck!

> I know JTAG is another interface, but i thought i could program through
> JTAG too.

No worries; on Xilinx FPGAs and a lot of other embedded systems you can
actually transfer the binary to the chip over the JTAG debugging buss. It's just not an option
on Gumstix.

73's,
Jon


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Steve Haviland :: Rate this Message:

| View Threaded | Show Only this Message

I've been able to use build DVSDK by linking it to a build in OE. If you are
interested in encoding/decoding I'd look into TI-DMAI. There are some
built-in examples for encoding and decoding that i've been able to run on my
overo with pretty good success.

Once you get the TI components built for your system I'd look more at the
info on the TI e2e forums and wiki. There is a ton of info on their websites
about how to get their stuff working.

good luck!

--
View this message in context: http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577p4964588.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Stefano Cappello-2 :: Rate this Message:

| View Threaded | Show Only this Message

Thanks to all!! i will update you about this! :)

2012/6/11 zoso1234 <havi0019@...>
I've been able to use build DVSDK by linking it to a build in OE. If you are
interested in encoding/decoding I'd look into TI-DMAI. There are some
built-in examples for encoding and decoding that i've been able to run on my
overo with pretty good success.

Once you get the TI components built for your system I'd look more at the
info on the TI e2e forums and wiki. There is a ton of info on their websites
about how to get their stuff working.

good luck!

--
View this message in context: http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577p4964588.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Gutembert :: Rate this Message:

| View Threaded | Show Only this Message

Hi zoso1234,

I am looking into Image Filtering and Compression using the Overo Water COM.
Will this hardware bee sufficient or do I need an extra as "DVSDK tool kit"?

You mentioned: "There are some built-in examples for encoding and decoding
that i've been able to run on my overo with pretty good success"; can you
please point me on where to get access to those?

I have managed to run a native compiler (gcc, g++, and python) on Gumstix;
please any clue on how to get the Cross Compiler running on the Gumstix?

Thank you in advance,
Gutembert.

--
View this message in context: http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577p4964642.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Steve Haviland :: Rate this Message:

| View Threaded | Show Only this Message

Go onto the TI website for more info on DVSDK. TI makes development boards
for different things like DM3730. You can download dvsdk software packages
which come with all the different TI modules like dsplink, c6accel, codec
engine etc...most if not all can be built with OE but I choose to build them
without it. DMAI is one of the modules which I believe you can build using
OE and inside it there are examples for decoding/encoding images, video and
audio. here is link to some demo of it
http://processors.wiki.ti.com/index.php/GSG:_OMAP35x_DVEVM_Running_the_Demos
You need to start using TI's wiki if you really want to do imaging stuff

--
View this message in context: http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577p4964654.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Gutembert :: Rate this Message:

| View Threaded | Show Only this Message

Yhank you Zoso1234,

I have been able to successfully test the "./app_remote.xv5T", "./image_encode_io1_omap3530.x470MV -c jpegenc -e encode -i DSC04946.JPG -o Output.jpeg -r 720x576 --iColorSpace 3 --oColorSpace 1" on my Gumstix OveroBoard; Now, I want to write my own script/algorithm that will run on the OMAP3530 DSP (NOT the GPP/ARM/CPU!!) since I am only targeting the DSP.Any pointer to a tutorial on how to run my script on the DSP?

Thank you,
Gutembert.

On Sun, Jun 17, 2012 at 5:15 AM, zoso1234 [via Gumstix] <[hidden email]> wrote:
Go onto the TI website for more info on DVSDK. TI makes development boards for different things like DM3730. You can download dvsdk software packages which come with all the different TI modules like dsplink, c6accel, codec engine etc...most if not all can be built with OE but I choose to build them without it. DMAI is one of the modules which I believe you can build using OE and inside it there are examples for decoding/encoding images, video and audio. here is link to some demo of it http://processors.wiki.ti.com/index.php/GSG:_OMAP35x_DVEVM_Running_the_Demos
You need to start using TI's wiki if you really want to do imaging stuff


If you reply to this email, your message will be added to the discussion below:
http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577p4964654.html
To unsubscribe from DVSDK Overo and JTAG programming, click here.
NAML



View this message in context: Re: DVSDK Overo and JTAG programming
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Steve Haviland :: Rate this Message:

| View Threaded | Show Only this Message

Samples for C6accel, dmai, dsplink run on both gpp/dsp not just on one. From
my understanding is that you only want to use the dsp for certain types of
processes like image processing, large matrix multiplications because it is
more efficient than the arm.  Those encode/decode that you ran were done
with from arm application accessing and running the dsp. If you do:
"CE_DEBUG=2" ./application_name you will be able to see everything that goes
on behind the scenes for codec engine applications like dmai, c6accel. Use
the examples given in dmai, codec engine etc to make your own and use texas
instruments e2e forums for more info. The example code is your best bet to
write your own applications.

good luck

--
View this message in context: http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577p4964664.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Gutembert :: Rate this Message:

| View Threaded | Show Only this Message

Thank you zoso1234,

Yes, I only want to use the dsp for certain types of processes like image processing, large matrix multiplications because it is more efficient than the arm.
You said: "Use the examples given in dmai, codec engine etc to make your own"; this is exactly what I want to achieve for my Image Filtering and Compression using Gumstix DSP!

I would like to have a clarity on how to "Use the examples given in dmai, codec engine etc to make your own"; any tip will greatly be appreciated.

Kind regards,
Gutembert.

On Mon, Jun 18, 2012 at 10:36 PM, zoso1234 [via Gumstix] <[hidden email]> wrote:
Samples for C6accel, dmai, dsplink run on both gpp/dsp not just on one. >From my understanding is that you only want to use the dsp for certain types of processes like image processing, large matrix multiplications because it is more efficient than the arm.  Those encode/decode that you ran were done with from arm application accessing and running the dsp. If you do: "CE_DEBUG=2" ./application_name you will be able to see everything that goes on behind the scenes for codec engine applications like dmai, c6accel. Use the examples given in dmai, codec engine etc to make your own and use texas instruments e2e forums for more info. The example code is your best bet to write your own applications.

good luck


If you reply to this email, your message will be added to the discussion below:
http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577p4964664.html
To unsubscribe from DVSDK Overo and JTAG programming, click here.
NAML



View this message in context: Re: DVSDK Overo and JTAG programming
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Steve Haviland :: Rate this Message:

| View Threaded | Show Only this Message

1) Use the TI Wiki for which ever module/product you are using..most the time
there are pretty good documents about different functions within it.
2) Open up the appMain.c or Main.c's for which ever sample code you are
interested in and see what is going on in it and mold it into your own
thing.That is why they give you sample code anyway to learn from it. Don't
just run it to run it. take it and apply it to your own stuff.
3) as i said before a couple times get a TI account and use e2e forums.
there is quite a bit of info on it that might help you along the way

--
View this message in context: http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577p4964666.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Gutembert :: Rate this Message:

| View Threaded | Show Only this Message

Thanks a lot,

Now I am on the right track and at least have an idea on where to get started.

Appreciated,
Gutembert.

On Mon, Jun 18, 2012 at 11:54 PM, zoso1234 [via Gumstix] <[hidden email]> wrote:
1) Use the TI Wiki for which ever module/product you are using..most the time there are pretty good documents about different functions within it.
2) Open up the appMain.c or Main.c's for which ever sample code you are interested in and see what is going on in it and mold it into your own thing.That is why they give you sample code anyway to learn from it. Don't just run it to run it. take it and apply it to your own stuff.
3) as i said before a couple times get a TI account and use e2e forums. there is quite a bit of info on it that might help you along the way


If you reply to this email, your message will be added to the discussion below:
http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577p4964666.html
To unsubscribe from DVSDK Overo and JTAG programming, click here.
NAML



View this message in context: Re: DVSDK Overo and JTAG programming
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: DVSDK Overo and JTAG programming

by Jonathan Kunkee :: Rate this Message:

| View Threaded | Show Only this Message

Well, it's pretty simple conceptually, but the actual feat is the challenge. I'll explain what little I know, hoping that someoone else will be able and willing to elaborate.

Pick one of the examples whose inputs and outputs seem to be like what you want. Find the deepest place in the source file tree where you can still run 'make'. Copy that directory somewhere else and get it to build successfully. Start modifying the code to your meet your needs. If I recall correctly, each example is designed to be transplanted like this and is intended by TI to be used as a base for new, similar projects.

My 2c,
Jon Kunkee

On Jun 18, 2012 3:24 PM, "Gutembert" <nganpet2007@...> wrote:
Thank you zoso1234,

Yes, I only want to use the dsp for certain types of processes like image processing, large matrix multiplications because it is more efficient than the arm.
You said: "Use the examples given in dmai, codec engine etc to make your own"; this is exactly what I want to achieve for my Image Filtering and Compression using Gumstix DSP!

I would like to have a clarity on how to "Use the examples given in dmai, codec engine etc to make your own"; any tip will greatly be appreciated.

Kind regards,
Gutembert.

On Mon, Jun 18, 2012 at 10:36 PM, zoso1234 [via Gumstix] <[hidden email]> wrote:
Samples for C6accel, dmai, dsplink run on both gpp/dsp not just on one. >From my understanding is that you only want to use the dsp for certain types of processes like image processing, large matrix multiplications because it is more efficient than the arm.  Those encode/decode that you ran were done with from arm application accessing and running the dsp. If you do: "CE_DEBUG=2" ./application_name you will be able to see everything that goes on behind the scenes for codec engine applications like dmai, c6accel. Use the examples given in dmai, codec engine etc to make your own and use texas instruments e2e forums for more info. The example code is your best bet to write your own applications.

good luck


If you reply to this email, your message will be added to the discussion below:
http://gumstix.8.n6.nabble.com/DVSDK-Overo-and-JTAG-programming-tp4964577p4964664.html
To unsubscribe from DVSDK Overo and JTAG programming, click here.
NAML



View this message in context: Re: DVSDK Overo and JTAG programming
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users