Hi all, I have a problem with write to TMS320C5509 emif. I write to a typical addresse in ce spaces: (IO_PORT = 0x400000) like this: *(volatile unsigned int*) IO_PORT = 0xAAAA but CE signals and data signals are not seen. my CE signals does not changes. I guess that i have some emif initialization problem. Who knows what is the problem? |
Write to 5509 emif
Started by ●January 26, 2005
Reply by ●January 27, 20052005-01-27
hi, hope you know the fact that the addresses given in the data sheet for memory map are in bytes. suppose you want to write to CE0 which is starting at byte address 0x40000, you need to do a *(int*) 0x20000=0xFFFF; once you execute this line in the emulator, you should see the CE0 line going low. similar logic applies to other CE spaces as well. you can put the above statement in an infinite while loop and observe the CE0 signal as a pulse waveform. the default emif settings should be ok to allow you to just observe the CE signal. leave them at their reset state itself. but, you need to program the emif registers correctly if you want to actulally write to an external memory. regards, Dileepan. --- In , "jalal_habibi" <jalal_habibi@y...> wrote: > > > Hi all, > I have a problem with write to TMS320C5509 emif. > I write to a typical addresse in ce spaces: (IO_PORT = 0x400000) like > this: > *(volatile unsigned int*) IO_PORT = 0xAAAA > > but CE signals and data signals are not seen. my CE signals does not > changes. > > I guess that i have some emif initialization problem. > Who knows what is the problem? |