DSPRelated.com
Forums

EMIF(parallel 16) boot from flash on5502 giving problems

Started by itabhiyanta June 28, 2006
Hi


I have a custom 5502 board. I have been able to write code to it's
SDRAM and execute form there. My problems (unexpectedly) are coming
from flash.

i can access it's flash when i burn my code in it and using flashburn i
also compared the flash contents of my board versus the EVM5502 board
and i found that they were the same.

My GPIOs are always(before reset adn after reset i have hardwired them)
in the following configuration
GPIO[2..0]= 011
GPIO4,6,7 are all high

So i am booting EMIF(parallel 16) from external clock and i am also
going to use serial port 2 as Mcbsp only.

The thing is even when i configure for BOOT mode from external 16 bit
parallel EMIF i don't see my code running and the DSP does not draw any
power like it does whne the same code i run in the internal memory from
CCS.

I wonder and i have no clue as to why a standalone program does not
work even when the flash i can read and write to without any errors
with  flashburn.

Is there anythign special that one has to be take care of when bringing
up a board form external flash?? (I have the hold pin and teh rdy pin
pulled high)
Could the RESET for flash(that i have linked with the reste of the DSP,
so that both DSP and FLASH come out of reset at the same time) be
creating a problem does it have to be delayed or has to be faster than
the DSP reset??


Another interesting thing about this problem. Once i have burnt code
into the flash and i power cycle the board and try connecting with CCS
I CAN NO LONGER connect to it. I get a error like Error Initialization
OCS. RSET EMULATOR and all that.

This error i understand comes when the XDS cannot reset the target
board.

To recover my board i have to change my jumper config
GPIO[2...0]  to 000 and the only can i connect and then i have to erase
the flash and then only can i see my board doing everything else that
it can do.


Can someone suggest something? If there might be some things i must
check to make sure the things are as what XDS expects when it is
connected to a board on whcih the flash is running.....

Thanks for reading.

Rohit
Does someone has any ideas on how this problem can be solved???

Rohit