DSPRelated.com
Forums

GEL file is Working, .cmd file + vector.asm working but no chip select

Started by Arun Kumar September 19, 2006
Hi,
I am using the processor 6211 on my customized board. Using the emulator
XDS510PP Plus at JTAG. I want to get the Chip Select Pulses at the CE2.
Using the Host port Interfacing by putting HD3:HD4 pins at 0,0 (HD:4 through
the pull down resister, 0.3V). No external memory is mounted yet now, Memory
presented on board is On-Chip memory

Step: 1
I prepared the .cmd file, that is working fine.

Step: 2
I prepared the vector.asm, that for software reset, it is also working fine.

Step: 3
I modified the GEL file, that I obtained for C:\ti\cc\gel folder. The
original file's name was, 6211_6711DSK.gel. That is used to invoke the
standard DSP Kit.

I modified it by removing all the EMIF spaces beside EMIF_CE1, Now, the GEL
file is loading and when I observed the HPIC field of the peripheral
registers, in view-->Registers-->peripheral registers in CCS, I seen the
exact figure that I was getting with the standard DSP Kit, also after giving
the Software Reset + Hardware reset, the CE1 space in the same window giving
the similar result, ie the contents of the EMIFCNTL1 space are 0xFFFFFF3F;

My approach to get the chip select is as follows; -
a.) Clearing all the Interrupts in IER, ICR, CSR
b.) Writing 0x1 in to MAR-8 (Memory attribute register-8, CE2 space)
c.) Writing 0x1 in the ER (Event register of EDMA)
c.) Writing to the address 0xA0000000

Result: - No activity at the CE2 Pin.
Should I write any thing in PaRAM of EDMA?
I have no address of HPIA & HPID registers of HPI, from where I will get
these addresses, & if I get then should I write something there too?

I can post my .cmd file, Modified GEL file, Vector.asm, and source code if
desired.

Help
--
World Belongs to few enthusiasts who keeps kool