Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how do you program ti dsps?

Status
Not open for further replies.

seyyah

Advanced Member level 2
Joined
Oct 7, 2001
Messages
646
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,298
Activity points
6,233
f2407 xds510 howto

I think programming dsp is somehow different from pic. The tools sold by TI has no option to program dsp chips as pics. I mean; we can't insert dsp chip onto the emulation board, program it, take out and insert where it will work. Then insert another chip then program it and take out and so on... I don't know about jtag. I think i will buy xds510 emulator. I will develop my projects using this emulator. But in production how will i program the dsps and insert them into the product and send them to field where they will work.
 

seyyah said:
I think programming dsp is somehow different from pic. The tools sold by TI has no option to program dsp chips as pics. I mean; we can't insert dsp chip onto the emulation board, program it, take out and insert where it will work. Then insert another chip then program it and take out and so on... I don't know about jtag. I think i will buy xds510 emulator. I will develop my projects using this emulator. But in production how will i program the dsps and insert them into the product and send them to field where they will work.

Yes, TI DSP is different from PIC. You should look at them as
embeded processor such as coldfire etc. It has no internal
ROM storage. Program has to be loaded in or executed from
external memory, such as flash, eprom, another uC, etc.

So in production, if you use eprom, you will just program one
and insert it into your board and ship it.

Emulator is nice if you can afford it. But that does not tell you
how to design. You can take a look at some reference design
and try to understand how to design a DSP system. Buying
an emulator will help you debug your code.

Hope that help

Gunship
 

Ok i understand a bit much now. But i didn't understand how will the program in the external eprom run? There must be some special connection or design to use dsp and eprom together. I mean how will dsp execute the code in the eprom? Can you please explain a bit more?
 

What you mean by "how can it execute from eprom" ?

It just has address/data lines connected to it as also read/chip select control signals...just like as in ordinary CPU systems with external ROM/RAM...

Maybe TI is similar to ADI where there is one mode to copy EPROM to internal SRAM and execute from this faster memory then...


Do you have any TI DSP board/processor in mind?
 

I think gunship is wrong. I checked the features and all ti dsp chips have internal program memory either flash or something else. so we can program it without any need to an external memory component. I think to buy xds510 emulator. But i also looked at evaluation module for 2407. Both of them have no place or module to insert the chip and program it. They have fixed chips on them. So If i bought a single chip not a board how will i program it?
 

have you examined datasheet of the dsp chip that you want to programme. Im sure that programming details are explained in the datasheet. I suggest you look at www.ti.com for dataheets
 

I think the 2407A has a bootloader inside. On the TI HP you can download tools to programm the chip via
RS232/SPI.

Take a look at :

hxxp://focus.ti.com/docs/toolsw/folders/print/c24xflashtools.html
 

Which family of DSPs you are using?
All of TI dsps ( as mentioned above ) have boot loader programs inside. This means that they have some special program which helps you to make the DSP ready for executing your code.
Basically this boot loader is responsible for moving your program from an external EPROM to a fast SRAM memory. this memory can be connected to DSP or it can be a memory inside the chip. This is the simplest operation of a boot loader, however it can do much much more.
Example: you can design a very simple circuit , so that you can load any required program to your DSP by using just a simple parallel port. For those DSPs capable of making a USB connection ( such as C5x family ) the boot loader is even capable to load the program from USB port.
On C2xx family of TI dsps there is usually internal FLASH ROM, which you can put your code inside of it. the FLASH ROM I think can be programmed using JTAG, or a simpler connection such as the one revolt mentioned. however, as far as I know, Flash rom is only available for this family and not for others.
When programmed the internal flash memory, I think there should be a special pin, or configuration which you should set to indicate that the bootloader should jump to the first location of internel flash rom for code execution.
 

revolt said:
I think the 2407A has a bootloader inside. On the TI HP you can download tools to programm the chip via
RS232/SPI.

Take a look at :

hxxp://focus.ti.com/docs/toolsw/folders/print/c24xflashtools.html

Ok. But which hardware will i use to program? I mean i can't plug the chip directly to computer. I need a hardware. If i am true there is no hardware avalaible from TI. For example microchip has picstart+ that can program pics. But TI tools has no option like this. Am i wrong? May be required hardware is simple or may be only a connector. But what is it? What is the logic of programming TI's C2000 series dsp? I'm not familiar with dsps. But i must use it for a project. So i try to decide what i will use or buy?
 

May be desoldering the chip on the emulator(xds510) and soldering a suitable socket instead of it may solve the problem. By this way i can insert a chip and program it, then take it out and insert another one and program that one and so on... Is this possible?
 

Ok. But which hardware will i use to program?

You need a level shifter between the DSP and PC. The pins of the DSP tolerate 3.3V. The PC uses +/- 15V for communication via the RS232.

Take a look at :


I posted a document that shows a 2401A board that uses the serial port for programming

regards
revolt
 

Why do you want to desolder the chip? If you have a emulator build a JTAG Interface on your hardware.
Then you can program the DSP with the emu and you can use it for debugging purposes.

The Jtag-Interface consists of a 2x7 header and some pullup resistors.
 

program thru JTAG is common now , TI developing suit use JTAG, so i think the only offer is RTFM.
 

Ok i think i am confusing something or you didn't understand what i don't understand :)

To revolt: I'm looking at your board for 2401 now. I see there that 2401 is soldered on the board. So this means that i must embed this whole board to my design to program dsp chip at any time. But i wonder that, can't i program chip only one time and insert it on my board where dsp chip only runs. I mean i don't want to program the chip second time so i don't want to embed the needed hardware for programming on my board. I want to insert only needed components to run the dsp chip.
 

divan said:
program thru JTAG is common now , TI developing suit use JTAG, so i think the only offer is RTFM.

What is RTFM?
 

revolt said:
Why do you want to desolder the chip? If you have a emulator build a JTAG Interface on your hardware.
Then you can program the DSP with the emu and you can use it for debugging purposes.

The Jtag-Interface consists of a 2x7 header and some pullup resistors.

Ok i think this is the answer. So do you suggest xds510 emulator or an evaluation board (e.g evaluation board for 2407). Think that i am a beginner and think that i may want to use other chips than 2407?
 

Hi,

okay I think I understand...

If you want to start to get familiar with 2407A programming I would recommend a evaluationboard like:
**broken link removed**

On the board is a 2407A with external RAM. All pins are accessable on headers. It has a 510PP-Plus emulation via FPGA. That means you can plug it at the parallel port and programm/debug with the
Code Composer Studio (CCS).

If you want to programm/debug the DSP in your own system then take the XDS510PP PLUS or similiar. This is usable if you have small quantities.

When you are designing your project be carefull with the reset circuit. We had big problems with it. The solution was to use a TPS7301 . It's an 3.3 lowdrop voltage regulator with integrated reset. Also take a look in the
board schematics from Spectrum Digital (they make the ezd2407 board). The schematics are availiable on their homepage.

regards revolt
 

I was mentioning about this.
**broken link removed**

What is the difference between the one you've suggested?
 

The ezd2407 is a very simple board. It has a the JTAG on board, the DSP,
external RAM. The main reason for this board is the price ;) It costs about 300 USD. One disadvantage is that you get a special version of the CCS
which is not eligible for upgrades.

The TMS320LF2407 EVM Bundle has more peripherals (DAC,CAN) and more memory. You get a PP-Emulator and a CCS version thats can be updated.

That are the main differences a found.

After a price comparision ( ezd2407 + Emulator = 1800UDS vs
EVM Bundle=2000USD) I would take the bundle because of the CCS version.

regards revolt
 

Kit has the followings:
F2407 EVM, XDS510PP+ Emulator, Full CCStudio v2.2

I wonder can i use XDS510PP+ Emulator for other dsp chips?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top