Hi Steve, On Mon, Apr 26, 2010 at 15:35:37, Steve Chen wrote: > 2010/4/25 liuyue18301 <[email protected]>: > > > > hello Guys: > > this is second time to turn to help on the same problem. > > i want to know is there EMIF driver in the linux? and if i want to > > There is no EMIF driver. > > > send/recv data to the uarts which are expanded by FPGA ,how can i do it? > > The dm9000 driver on dm365 is on EMIF. Perhaps you can take a look.
s/dm365/dm355 > > > which driver should i create or modify EMIF driver or UART driver?i want to > > write data to the EMIF in the application code,but i can't find the EMIF > > driver in the linux. confused > > If I remember correctly (it has been over a year since I worked on > DaVinci), devices on EMIF are accessed with 2 registers. First you > configure the address you want to access in one registers, then you > read/write the value in another. Again, take a look at the dm9000. > It will probably give you some ideas what you need to do to get UART > working on EMIF. Actually, there is just one access. You just choose the address to be accessed based on which chip select you need asserted. This information is present in the device memory map. I can see some signs of a fading memory :) Thanks, Sekhar _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
