> I am using tms320c642x dsp on my baord and when power
on reset it is said that device configuaration pins are latched
> into boot configuaration register. Initially(when power on reset) i am
selecting no boot mode (emulation mode), so dsp
> goes into wait state. I want to read the code through JTAG into the dsp and
write that code into FLASH. My code is a
> C-code. How to read that code trough JTAG. Can i read the C-code directly
trough JTAG into DSP and write into FLASH.
> Can anyone please help me in this regard. Any example of reading through JTAG
is great hlepful.
You are trying to jump ahead. The first thing you want to do with JTAG is
verify a few basics:
-do you see register values that make sense? for
example, if you program Timer0, does it count
down at a rate that matches your external clock
and internal PLL setting?
-can you correctly view internal mem?
-can you download and run a very simple "hello world" program?
Then you can worry about "writing to Flash".