Hi!, We are trying to download a small sample program to internal memory of ADSP-21060 through JTAG (White Mountain DSP). The code is getting downloaded in the internal memory but "seg_rth" segment of Internal Memory are NOPS, hence the program counter doesn't jump to the main program. The program counter remains at location "20005" and goes to infinite loop. I am able to write to the other segments of Internal Memory. There is no Flash and only the Processor along with power circuit is present on the Board. Regs, Anshuman Sethi __________________________________________________ |
|
ADSP21060 Internal Memory Segment
Started by ●January 23, 2003
Reply by ●January 23, 20032003-01-23
You need one of these 060_hdr<_XXX>.doj files in your executable
(.dxe). This code, which resides in the first 256 48-bit locations (in seg_rth) in internal SRAM starting at 0x20000, does some initialization (initializes some processor registers, initializes the stack and heap) and then executes a jump to _main. I'd start by reviewing the LDF file. It should link in one of the following: 060_hdr.doj (if you are using C) 060_cpp_hdr.doj (if you are using C++) 060_cpp_hdr_mt.doj (if you are using C++ with threads) See the default ADSP-21060.ldf file (under .\VisualDSP\21k\ldf\). This does link in one of these files. Look at the linker output and the resulting map file. I suspect this 060_hdr<_XXX>.doj file is not being linked in. Regards, Don Waldron > -----Original Message----- > From: anshuman sethi [SMTP:] > Sent: Wednesday, January 22, 2003 11:54 PM > To: > Subject: [adsp] ADSP21060 Internal Memory Segment > > Hi!, > > We are trying to download a small sample program to > internal memory of ADSP-21060 through JTAG (White > Mountain DSP). The code is getting downloaded in the > internal memory but "seg_rth" segment of Internal > Memory are NOPS, hence the program counter doesn't > jump to the main program. The program counter remains > at location "20005" and goes to infinite loop. I am > able to write to the other segments of Internal > Memory. There is no Flash and only the Processor along > with power circuit is present on the Board. > > Regs, > Anshuman Sethi > > __________________________________________________ > > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author > of this message will receive your answer. You need to do a "reply all" if > you want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://groups.yahoo.com/group/adsp > > Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/ > |