Hi to All again,
I want to thank everyone who tried to help me to solve my problem.
I've found solution with using phram (rewritten and improved slram) MTD driver.
(located in drivers/mtd/devices)
This driver makes of FPGA's SDRAM block device, in mu case /dev/mtdblock/6,
which I can give to g_file_storage as the backing storage. When connected to host,
host sees it as /dev/sda and which gives me possibility to read and write contents of
FPGA's SDRAM through this device over USB. The only thing is that there is no file system
(but I don't need it anyway).
I've tried this with pfa2xx_udc.For the final solution I need to use NET2272 chip as usb device.
Does anyone know or have driver for that chip or NET2270 (I guess drivers are similar)?
In any case, thanks again. If anybody needs details about this feel free to ask.
Kind Regards,
Manja
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
