| Author |
Message |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
30 Apr 2004 18:03 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.
|
|
| Back to top |
|
 |
Gunship
Joined: 31 Dec 2001 Posts: 52 Helped: 3
|
30 Apr 2004 18:12 Re: how do you program ti dsps? |
|
|
|
|
| seyyah wrote: |
| 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
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
01 May 2004 7:31 Re: how do you program ti dsps? |
|
|
|
|
| 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?
|
|
| Back to top |
|
 |
davorin
Joined: 07 Jun 2003 Posts: 1396 Helped: 8
|
01 May 2004 8:05 Re: how do you program ti dsps? |
|
|
|
|
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?
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
05 May 2004 12:21 Re: how do you program ti dsps? |
|
|
|
|
| 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?
|
|
| Back to top |
|
 |
atmaca
Joined: 13 Jan 2004 Posts: 355 Helped: 1
|
05 May 2004 12:31 Re: how do you program ti dsps? |
|
|
|
|
| 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
|
|
| Back to top |
|
 |
revolt
Joined: 03 Feb 2002 Posts: 121 Helped: 2
|
06 May 2004 17:19 how do you program ti dsps? |
|
|
|
|
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
|
|
| Back to top |
|
 |
mami_hacky
Joined: 28 Mar 2002 Posts: 724 Helped: 4 Location: Some where
|
06 May 2004 19:41 how do you program ti dsps? |
|
|
|
|
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.
|
|
| Back to top |
|
 |
Google AdSense

|
06 May 2004 19:41 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
06 May 2004 20:58 Re: how do you program ti dsps? |
|
|
|
|
| revolt wrote: |
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?
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
06 May 2004 21:03 Re: how do you program ti dsps? |
|
|
|
|
| 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?
|
|
| Back to top |
|
 |
revolt
Joined: 03 Feb 2002 Posts: 121 Helped: 2
|
06 May 2004 22:57 Re: how do you program ti dsps? |
|
|
|
|
| Quote: |
| 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 :
http://www.edaboard.com/viewtopic.php?t=70988&highlight=
I posted a document that shows a 2401A board that uses the serial port for programming
regards
revolt
|
|
| Back to top |
|
 |
revolt
Joined: 03 Feb 2002 Posts: 121 Helped: 2
|
07 May 2004 8:31 how do you program ti dsps? |
|
|
|
|
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.
|
|
| Back to top |
|
 |
divan
Joined: 01 Mar 2002 Posts: 91 Helped: 2
|
07 May 2004 11:36 how do you program ti dsps? |
|
|
|
|
| program thru JTAG is common now , TI developing suit use JTAG, so i think the only offer is RTFM.
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
07 May 2004 21:39 Re: how do you program ti dsps? |
|
|
|
|
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.
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
07 May 2004 21:42 Re: how do you program ti dsps? |
|
|
|
|
| divan wrote: |
| program thru JTAG is common now , TI developing suit use JTAG, so i think the only offer is RTFM. |
What is RTFM?
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
07 May 2004 21:47 Re: how do you program ti dsps? |
|
|
|
|
| revolt wrote: |
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?
|
|
| Back to top |
|
 |
revolt
Joined: 03 Feb 2002 Posts: 121 Helped: 2
|
08 May 2004 12:17 Re: how do you program ti dsps? |
|
|
|
|
Hi,
okay I think I understand...
If you want to start to get familiar with 2407A programming I would recommend a evaluationboard like:
http://focus.ti.com/docs/toolsw/folders/print/tmdsezd2407.html
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
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
09 May 2004 8:48 Re: how do you program ti dsps? |
|
|
|
|
I was mentioning about this.
http://focus.ti.com/docs/toolsw/folders/print/tmds3p701016a.html
What is the difference between the one you've suggested?
|
|
| Back to top |
|
 |
revolt
Joined: 03 Feb 2002 Posts: 121 Helped: 2
|
09 May 2004 10:15 Re: how do you program ti dsps? |
|
|
|
|
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
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
13 May 2004 21:10 Re: how do you program ti dsps? |
|
|
|
|
Kit has the followings:
F2407 EVM, XDS510PP+ Emulator, Full CCStudio v2.2
I wonder can i use XDS510PP+ Emulator for other dsp chips?
|
|
| Back to top |
|
 |
revolt
Joined: 03 Feb 2002 Posts: 121 Helped: 2
|
13 May 2004 22:37 how do you program ti dsps? |
|
|
|
|
I found the answer on the Spectrum Digital homepage
http://www.spectrumdigital.com/cgi/catalog.cgi?show_product=701014
"Supports Texas Instruments Digital Signal Processors and Microcontrollers with JTAG interface (C2xx, C24x, F240x, F2812, VC33, C4x, C5x, C54xx, C55xx, C6xxx, C64xx, TMS470, OMAP) "
revolt
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
14 May 2004 20:44 Re: how do you program ti dsps? |
|
|
|
|
| So you say that it supports. The price difference between the xds510pp+ and the 2407 evaluation kit is due to the f2407 evm i think.
|
|
| Back to top |
|
 |
dacadc
Joined: 22 Apr 2001 Posts: 243 Location: Ukraine
|
15 May 2004 8:02 how do you program ti dsps? |
|
|
|
|
| I saw selfwade emulator for TI DSP, if you interested I will try find code + schematics + boards. It can be made < $200
|
|
| Back to top |
|
 |
revolt
Joined: 03 Feb 2002 Posts: 121 Helped: 2
|
16 May 2004 9:42 how do you program ti dsps? |
|
|
|
|
@seyyah:
Yes, I also used a xds510pp+ with a TMS470. Its an ARM µC.
@dacadc:
Can you please try to find the stuff about the selfmade emu?
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
16 May 2004 13:23 Re: how do you program ti dsps? |
|
|
|
|
| dacadc wrote: |
| I saw selfwade emulator for TI DSP, if you interested I will try find code + schematics + boards. It can be made < $200 |
Yeah for sure i interested in.
|
|
| Back to top |
|
 |
dacadc
Joined: 22 Apr 2001 Posts: 243 Location: Ukraine
|
18 May 2004 8:37 Re: how do you program ti dsps? |
|
|
|
|
caxapa.ru / mcu / sm_pci.html
please remove spaces
|
|
| Back to top |
|
 |
seyyah
Joined: 07 Oct 2001 Posts: 578 Helped: 1
|
18 May 2004 17:13 Re: how do you program ti dsps? |
|
|
|
|
| How can i open these files? (pcb and sch?)
|
|
| Back to top |
|
 |
davorin
Joined: 07 Jun 2003 Posts: 1396 Helped: 8
|
18 May 2004 17:28 Re: how do you program ti dsps? |
|
|
|
|
If you had opened one of those you would have seen:
| Code: |
P-CAD 2002 Schematic Binary (Rev 5)
P-CAD 2002 PCB Binary (Rev 6)
|
|
|
| Back to top |
|
 |
dacadc
Joined: 22 Apr 2001 Posts: 243 Location: Ukraine
|
18 May 2004 18:09 Re: how do you program ti dsps? |
|
|
|
|
| You should to install PCAD or free viewer to see schematic and PCB files.
|
|
| Back to top |
|
 |
itabhiyanta
Joined: 10 Feb 2005 Posts: 1
|
10 Feb 2005 11:27 Re: how do you program ti dsps? |
|
|
|
|
Hello dacdac seyyah
i visited the link that u specified but it is in russian and i can't get to know from where should i download the files
can u help me with thge schematics somehow
i need them urgently i am building a portable solution using the ti dsp and will be porting the tcp/ip stack on to it will use this with a gsm modem
kindly help me out
thank you
rohit
virtualwiretech
|
|
| Back to top |
|
 |