07-06-2011 09:05 AM
hello, i am working with virtex 5 on a robotic application. for that i hav to store a map on board ram. i cannot declare a 200*200 array in sdk. so i thought of using a fgetc,fputc i.e accessing a text file in the system.is it possible?????
08-13-2011 07:37 AM
08-14-2011 07:53 PM
When using FPGA to process data, it depends on how the PC and FPGA is connected to get the file.
Your file needs to be transfered or stored to the memory, for example, CF Card, Nor Flash or DDR Memory via PCIe, Ethernet, UART, or stored in CF card directly.
File system is supported in CF Card by FATFS and DDR Memory by MFS library. Refer to oslib_rm.pdf in EDK doc direcotory.
Raw data format can also be used.
08-17-2011 01:21 AM
Thank you for your answer. I tried to configure using the compact flash. The fpga configured,but rs232 on my board is not working,so I am using jatag uart.hence I cannot use the hyperterminal,and I cannot have interface with my pc.could u suggest some way for the interface with my PC so that I can debug
08-18-2011 07:49 PM - edited 08-18-2011 07:51 PM
JTAG UART can work as a terminal server by
terminal -jtag_uart_server [<port_number>] [<baudrate>]
Then you can use HypterTerminal or Putty to connect to this socket port. Thus, you can send your data.
EDK/doc/est_rm.pdf provides more details of terminal command of XMD.
11-07-2011 01:35 AM
alright guys ... it works .... partitioning of compact flash is not necessary ... the root directory is A:\\ ... use respective commands for open,close, read and write (see header files .... ) ... also only read "r" and write "w" modes are supported (double quotes not single ... ) ... enable write mode in board support package settings under xilfatfs to support file creation and writing...