Forums

Hardware requirements to download the CCS code on DSP

Started by jyot...@yahoo.in March 15, 2009
Hi,i m building a simple board for an audio application using C5509A.There will also be a codec and voltage regulator on the board.I need to know how to download the CCS code on the processor.What additional hardware is needed on the board to download the CCS program onto the DSP?
Jyoti-

> Hi,i m building a simple board for an audio application using C5509A.
> There will also be a codec and voltage regulator on the board.
> I need to know how to download the CCS code on the processor.
> What additional hardware is needed on the board to download the
> CCS program onto the DSP?

You need a JTAG header.

I suggest you locate the DSK 5509 board schematic on TI's website and copy the "external JTAG" circuit (note: you
want the JTAG interface to external emulator, not the "embedded CCS JTAG interface", which is Spectrum
Digital-proprietary and not allowed for your use).

The DSK 5509 board schematic might show other useful features you can implement also.

-Jeff
Hi,

You need to have some kind of Flash memory chip to hold the code on the
board, which serves as a bootup memory location.
And if you need to program the flash memory with your code (may be for
development and debugging), you must have a JTAG emulator port and required
hardware. Otherwise, you can burn the flash chip with your code, and place
it on the board.
With regards,
Sivakanth Telasula
On Sun, Mar 15, 2009 at 3:12 AM, wrote:

> Hi,i m building a simple board for an audio application using
> C5509A.There will also be a codec and voltage regulator on the board.I need
> to know how to download the CCS code on the processor.What additional
> hardware is needed on the board to download the CCS program onto the DSP?
>
>

--
Sivakanth Telasula
R&D Engineer, Sutron Corporation
PhD candidate, University of Utah
US Mobile: +1-801-209-5457
US Office: +1-703-406-2800 Ext. # 335
Hi,
Thanks a lot for the replies.I think the JTAG headers are used when we are using the JTAG emulators.And i cant afford an emulator because it is a final year engg college project.So is using the flash memory option better?Can i flash the code on the DSP C5509A first and then place it on the board?

-Jyoti
Hi,i m building a simple board for an audio application using C5509A.There will also be a codec and voltage regulator on the board.I need to know how to download the CCS code on the processor.What additional hardware is needed on the board to download the CCS program onto the DSP?
Jyoti-

> Thanks a lot for the replies.I think the JTAG headers are used
> when we are using the JTAG emulators.And i cant
> afford an emulator because it is a final year engg college project.
> So is using the flash memory option better?Can
> i flash the code on the DSP C5509A first and then place it on the
> board?

Your Univ should have at least one JTAG emulator + "full" CCS version. If not, your Prof / Dept. chair can get a good
deal from TI.

It's definitely not a good idea to try to bring up a custom DSP board without JTAG. If you get stuck, not only will
you not be able to view memory, single-step code, and otherwise "see" what's going on, but also there will be no peer
help. Everyone will expect you to have JTAG, both peer groups and TI support.

For a serious hardware project, a few $$ is always required. If your Univ doesn't have that, they shouldn't be doing
DSP hardware.

-Jeff
> Hi,i m building a simple board for an audio application using C5509A.There will also be a codec and voltage regulator
> on the board.I need to know how to download the CCS code on the processor.What additional hardware is needed on the
> board to download the CCS program onto the DSP?
>
As you have said it is a class project you are working and I assume that it
is a development project. In that case going for a flash memory burnin
seperately is not a good option. It would be better if you can get the JTAG
emulator, for this purpose.

-Sivakanth

On Tue, Mar 17, 2009 at 10:40 AM, wrote:

>
> Hi,
> Thanks a lot for the replies.I think the JTAG headers are used when we are
> using the JTAG emulators.And i cant afford an emulator because it is a final
> year engg college project.So is using the flash memory option better?Can i
> flash the code on the DSP C5509A first and then place it on the board?
>
> -Jyoti
> Hi,i m building a simple board for an audio application using C5509A.There
> will also be a codec and voltage regulator on the board.I need to know how
> to download the CCS code on the processor.What additional hardware is needed
> on the board to download the CCS program onto the DSP?
> >
> >
Jeff is right, Jyoti. Besides, it doesn't cost anything to put
traces on your board for the JTAG header, and then at least you'll be
prepared in case you have to beg, borrow, or hack your own JTAG
controller.

Brian Willoughby
Sound Consulting
On Mar 18, 2009, at 11:50, Jeff Brower wrote:

Jyoti-

> Thanks a lot for the replies.I think the JTAG headers are used
> when we are using the JTAG emulators.And i cant
> afford an emulator because it is a final year engg college project.
> So is using the flash memory option better?Can
> i flash the code on the DSP C5509A first and then place it on the
> board?

Your Univ should have at least one JTAG emulator + "full" CCS
version. If not, your Prof / Dept. chair can get a good
deal from TI.

It's definitely not a good idea to try to bring up a custom DSP board
without JTAG. If you get stuck, not only will
you not be able to view memory, single-step code, and otherwise "see"
what's going on, but also there will be no peer
help. Everyone will expect you to have JTAG, both peer groups and TI
support.

For a serious hardware project, a few $$ is always required. If your
Univ doesn't have that, they shouldn't be doing
DSP hardware.

-Jeff
There is no Flash on the C5509A. The only non-volatile memory is the
ROM, which you cannot change. If you loaded the code first, you'd
have to find a way to keep the chip powered while placing it on the
board, and I don't think that is possible.

The key is that the C55x series wants to load it's code from an
external source. You can either find a Flash memory chip to add to
your board which has a package compatible with a socket, and program
the external Flash chip before placing it on the board, or you could
research the USB boot. If you implement the USB interface for the
C5509A successfully, then you can set certain pins on the C5509A so
that it boots from USB. You should look at the C5509A spec sheet,
because there are a lot of options for the source of the boot code,
and one of them might work for you. e.g. some of the serial options
might be easier than Flash or USB, depending upon your situation.

Brian Willoughby
Sound Consulting
On Mar 17, 2009, at 07:40, j...@yahoo.in wrote:
Thanks a lot for the replies.I think the JTAG headers are used when
we are using the JTAG emulators.And i cant afford an emulator because
it is a final year engg college project.So is using the flash memory
option better?Can i flash the code on the DSP C5509A first and then
place it on the board?

-Jyoti
Hi Jioty,

TI emulators can be quite expensive for a uni project.... what about these?

http://shop.ebay.co.uk/items/_W0QQ_nkwZJTAGQ20TIQ20DSPQQ_armrsZ1QQ_fromZR40QQ_mdoZ
In our company we use one of them and it works perfectly.... if you need more details on which one we are using I can check it for you,

Kind regards,

Sergio

To: c...; j...@yahoo.in
From: s...@gmail.com
Date: Wed, 18 Mar 2009 11:05:22 -0400
Subject: Re: [c55x] Re: Hardware requirements to download the CCS code on DSP

As you have said it is a class project you are working and I assume that it

is a development project. In that case going for a flash memory burnin

seperately is not a good option. It would be better if you can get the JTAG

emulator, for this purpose.

-Sivakanth

On Tue, Mar 17, 2009 at 10:40 AM, wrote:

>

> Hi,

> Thanks a lot for the replies.I think the JTAG headers are used when we are

> using the JTAG emulators.And i cant afford an emulator because it is a final

> year engg college project.So is using the flash memory option better?Can i

> flash the code on the DSP C5509A first and then place it on the board?

>

> -Jyoti

>

>

> Hi,i m building a simple board for an audio application using C5509A.There

> will also be a codec and voltage regulator on the board.I need to know how

> to download the CCS code on the processor.What additional hardware is needed

> on the board to download the CCS program onto the DSP?

> >

> >

>

>
Hello,

In a project we finished 2 years ago, we slightly modified two of our
C5510 DSK to use only the JTAG part to communicate with the PC, and our
own DSP HW board.
Everybody was happy with this solution. The industrial partner had
bought a JTAG emulator but at the end he preferred to use a modified DSK
as well.
Unfortunately I cannot give your more details as the modification was
done by a young colleague that is not here anymore and the industrial
partner. It was a minor modification (cutting a couple of lines and
soldering a cable) and at the end of the project they reverse it in few
minutes.

I hope this help,

Sara

Jeff Brower wrote:
> Jyoti-
>
>
>> Thanks a lot for the replies.I think the JTAG headers are used
>> when we are using the JTAG emulators.And i cant
>> afford an emulator because it is a final year engg college project.
>> So is using the flash memory option better?Can
>> i flash the code on the DSP C5509A first and then place it on the
>> board?
>>
>
> Your Univ should have at least one JTAG emulator + "full" CCS version. If not, your Prof / Dept. chair can get a good
> deal from TI.
>
> It's definitely not a good idea to try to bring up a custom DSP board without JTAG. If you get stuck, not only will
> you not be able to view memory, single-step code, and otherwise "see" what's going on, but also there will be no peer
> help. Everyone will expect you to have JTAG, both peer groups and TI support.
>
> For a serious hardware project, a few $$ is always required. If your Univ doesn't have that, they shouldn't be doing
> DSP hardware.
>
> -Jeff
>
>> Hi,i m building a simple board for an audio application using C5509A.There will also be a codec and voltage regulator
>> on the board.I need to know how to download the CCS code on the processor.What additional hardware is needed on the
>> board to download the CCS program onto the DSP?
>>