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
In-circuit flashing via JTAG
Started by ●March 2, 2008
Reply by ●March 3, 20082008-03-03
"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’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
Reply by ●March 3, 20082008-03-03
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�?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.htmlThat look neat! Is it non-intrusive? i.e. can you re-program the flash while the DSP still executes code?
Reply by ●March 3, 20082008-03-03
"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�?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.
Reply by ●March 6, 20082008-03-06
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’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
Reply by ●March 10, 20082008-03-10
>IvanC wrote: >> Hi, >> >> Our embedded system has several devices which are programmed directlyvia>> JTAG (CPLD, XPLD, AVR). >> >> We need also to program the flash memory of a TI DSP TMS320C4616 viaJTAG,>> but cannot find any information how to do that. >> What we can do is to run a DSP application in debug mode using theCode>> 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 toaccess>> 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, > > >BrianBrian, 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