In-circuit flashing via JTAG

Started by IvanC March 2, 2008
Hi,

Our embedded system has several devices which are programmed directly via
JTAG (CPLD, XPLD, AVR).

We need also to program the flash memory of a TI DSP TMS320C4616 via JTAG,
but cannot find any information how to do that.
What we can do is to run a DSP application in debug mode using the Code
Composer Studio with a JTAG debugger. This application is developed to
program the flash of the DSP by reading the flash image from a file.

TI doesn’t support this mode and provides no information how to access
the IO pins of the chip via JTAG. The debugger does it, therefore it's
possible to program the DSP by direct control of the JTAG pins.
Does anybody know where such information could be found?

Thanks,
Ivan


"IvanC" <nimble@abv.bg> wrote in
news:sP6dnQMyI5OE91banZ2dnUVZ_oKhnZ2d@giganews.com: 

> Hi, > > Our embedded system has several devices which are programmed directly > via JTAG (CPLD, XPLD, AVR). > > We need also to program the flash memory of a TI DSP TMS320C4616 via > JTAG, but cannot find any information how to do that. > What we can do is to run a DSP application in debug mode using the > Code Composer Studio with a JTAG debugger. This application is > developed to program the flash of the DSP by reading the flash image > from a file. > > TI doesn&rsquo;t support this mode and provides no information how to > access the IO pins of the chip via JTAG. The debugger does it, > therefore it's possible to program the DSP by direct control of the > JTAG pins. Does anybody know where such information could be found? > > Thanks, > Ivan > > >
So nice to see tht this is a problem for TI.... We can't help you here but we have just released a SHARC & Blackfin Flash Programmer for the ADI DSPs. You can find details on our web site. http://www.danvillesignal.com/analog-devices-development-tools/sharc- blackfin-programmer.html Al Clark Danville Signal
Al Clark wrote:
> "IvanC" <nimble@abv.bg> wrote in > news:sP6dnQMyI5OE91banZ2dnUVZ_oKhnZ2d@giganews.com: > >> Hi, >> >> Our embedded system has several devices which are programmed directly >> via JTAG (CPLD, XPLD, AVR). >> >> We need also to program the flash memory of a TI DSP TMS320C4616 via >> JTAG, but cannot find any information how to do that. >> What we can do is to run a DSP application in debug mode using the >> Code Composer Studio with a JTAG debugger. This application is >> developed to program the flash of the DSP by reading the flash image >> from a file. >> >> TI doesn&#2013265922;?Tt support this mode and provides no information how to >> access the IO pins of the chip via JTAG. The debugger does it, >> therefore it's possible to program the DSP by direct control of the >> JTAG pins. Does anybody know where such information could be found? >> >> Thanks, >> Ivan >> >> >> > > So nice to see tht this is a problem for TI.... > > We can't help you here but we have just released a SHARC & Blackfin > Flash Programmer for the ADI DSPs. You can find details on our web > site. > > http://www.danvillesignal.com/analog-devices-development-tools/sharc- > blackfin-programmer.html
That look neat! Is it non-intrusive? i.e. can you re-program the flash while the DSP still executes code?
"Grumps" <grummps@hotmail.com> wrote in
news:632mtkF25grdbU1@mid.individual.net: 

> Al Clark wrote: >> "IvanC" <nimble@abv.bg> wrote in >> news:sP6dnQMyI5OE91banZ2dnUVZ_oKhnZ2d@giganews.com: >> >>> Hi, >>> >>> Our embedded system has several devices which are programmed >>> directly via JTAG (CPLD, XPLD, AVR). >>> >>> We need also to program the flash memory of a TI DSP TMS320C4616 via >>> JTAG, but cannot find any information how to do that. >>> What we can do is to run a DSP application in debug mode using the >>> Code Composer Studio with a JTAG debugger. This application is >>> developed to program the flash of the DSP by reading the flash image >>> from a file. >>> >>> TI doesn&#2013265922;?Tt support this mode and provides no information how to >>> access the IO pins of the chip via JTAG. The debugger does it, >>> therefore it's possible to program the DSP by direct control of the >>> JTAG pins. Does anybody know where such information could be found? >>> >>> Thanks, >>> Ivan >>> >>> >>> >> >> So nice to see tht this is a problem for TI.... >> >> We can't help you here but we have just released a SHARC & Blackfin >> Flash Programmer for the ADI DSPs. You can find details on our web >> site. >> >> http://www.danvillesignal.com/analog-devices-development-tools/sharc- >> blackfin-programmer.html > > That look neat! > Is it non-intrusive? i.e. can you re-program the flash while the DSP > still executes code? > > >
No, the target DSP is actually doing the programming. This is much faster than some kind of boundary scan method. We load a program that knows how to write the specific flash on the target. Al Clark Danville Signal Processing, Inc.
IvanC wrote:
> Hi, > > Our embedded system has several devices which are programmed directly via > JTAG (CPLD, XPLD, AVR). > > We need also to program the flash memory of a TI DSP TMS320C4616 via JTAG, > but cannot find any information how to do that. > What we can do is to run a DSP application in debug mode using the Code > Composer Studio with a JTAG debugger. This application is developed to > program the flash of the DSP by reading the flash image from a file. > > TI doesn&acirc;&euro;&trade;t support this mode and provides no information how to
access
> the IO pins of the chip via JTAG. The debugger does it, therefore it's > possible to program the DSP by direct control of the JTAG pins. > Does anybody know where such information could be found? > > Thanks, > Ivan > >
Ivan, I'm pretty sure that there is no on-board flash on the C6414 DSP. IIRC, non-volatile storage is off chip, and typically accessed via the EMIF or PCI peripherals. Best, Brian
>IvanC wrote: >> Hi, >> >> Our embedded system has several devices which are programmed directly
via
>> JTAG (CPLD, XPLD, AVR). >> >> We need also to program the flash memory of a TI DSP TMS320C4616 via
JTAG,
>> but cannot find any information how to do that. >> What we can do is to run a DSP application in debug mode using the
Code
>> Composer Studio with a JTAG debugger. This application is developed to >> program the flash of the DSP by reading the flash image from a file. >> >> TI doesn&acirc;&euro;&trade;t support this mode and provides no information how
to access
>> the IO pins of the chip via JTAG. The debugger does it, therefore it's >> possible to program the DSP by direct control of the JTAG pins. >> Does anybody know where such information could be found? >> >> Thanks, >> Ivan >> >> >Ivan, > >I'm pretty sure that there is no on-board flash on the C6414 DSP. IIRC,
>non-volatile storage is off chip, and typically accessed via the EMIF >or PCI peripherals. > >Best, > > >Brian
Brian, You are correct. There is no on-board flash on the C6414 DSP. We use external flash AM29LV160B. In "Firmware Update Mode" an "Updator" application is going to be uploaded into SDRAM of the DSP via JTAG. It will program the flash. Ivan