Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Discussion Groups

Discussion Groups | TMS320C55x | TMS5509A und External Flash on EMIF

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

TMS5509A und External Flash on EMIF - gabr...@iis.fraunhofer.de - Feb 1 8:45:54 2007



Hello,
i have spent several hours trying to get my Flash Memory (AT49LV1024, 1Mbit) running
on EMIF.

My Configuration is:

EMIF_FSET(EGCR,MEMFREQ,4); //MEMFREQ 1/16 CPU
EMIF_FSET(EGCR,MEMCEN,1); //MEMClock on CLKMEM
EMIF_FSET(EGCR,NOHOLD,0); //MEMClock on CLKMEM

EMIF_FSET(CE21,MTYPE,1); //16 bit async
EMIF_FSET(CE21,RDSETUP,1); //RD Setup Clock Time	
EMIF_FSET(CE21,RDSTROBE,17); //RD Setup Clock Time	
EMIF_FSET(CE21,RDHOLD,3); //RD Setup Clock Time	

EMIF_FSET(CE22,WRSETUP,1); //RD Setup Clock Time	
EMIF_FSET(CE22,WRSTROBE,17); //RD Setup Clock Time	
EMIF_FSET(CE22,WRHOLD,3); 

To write to Flash i do that in a loop:

*(Uint16*) 0x80FF00=0xFF00;

but canīt neither see the CE2 signal going down nor
the 0xFF00 on the adress bus and the data bus.
Unfortunately i cannot find any useful documentation
about my problem.

I would be very glad if anybody could help me.

Thanks,
Christoph



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: TMS5509A und External Flash on EMIF - Jeff Brower - Feb 1 13:15:07 2007

Christoph-

> i have spent several hours trying to get my Flash Memory (AT49LV1024, 1Mbit) running
> on EMIF.
> 
> My Configuration is:
> 
> EMIF_FSET(EGCR,MEMFREQ,4); //MEMFREQ 1/16 CPU
> EMIF_FSET(EGCR,MEMCEN,1); //MEMClock on CLKMEM
> EMIF_FSET(EGCR,NOHOLD,0); //MEMClock on CLKMEM
> 
> EMIF_FSET(CE21,MTYPE,1); //16 bit async
> EMIF_FSET(CE21,RDSETUP,1); //RD Setup Clock Time
> EMIF_FSET(CE21,RDSTROBE,17); //RD Setup Clock Time
> EMIF_FSET(CE21,RDHOLD,3); //RD Setup Clock Time
> 
> EMIF_FSET(CE22,WRSETUP,1); //RD Setup Clock Time
> EMIF_FSET(CE22,WRSTROBE,17); //RD Setup Clock Time
> EMIF_FSET(CE22,WRHOLD,3);
> 
> To write to Flash i do that in a loop:
> 
> *(Uint16*) 0x80FF00=0xFF00;
> 
> but canīt neither see the CE2 signal going down nor
> the 0xFF00 on the adress bus and the data bus.
> Unfortunately i cannot find any useful documentation
> about my problem.
> 
> I would be very glad if anybody could help me.

Aren't you supposed to have Flash on CE1?  This is the recommended TI solution -- for
sure it has to be there if you expect to boot from Flash.  I wouldn't try it any
other way, given the strangenesses in connecting SRAM and SDRAM to CE2.

-Jeff



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )