DSPRelated.com
Forums

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

Started by Jeff Brower September 21, 2006
Arun-
> 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

Well your .gel file is working now, so that's some progress.

Have you tried supplying an ECLKIN signal? Regardless of whether you are making sync
or async memory access, I wouldn't count on any successful EMIF behavior without a
valid ECLKIN signal.

Also, don't worry about DMA and HPI at this point. Your test C code should just make
repetitive access to CE2 so you can see it on the dig scope, and don't forget to use
volatile keyword.

-Jeff
> 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