Forum Discussion
Hi, Yogesh
During debug mode, your target host can actually read write files in your software project directory in your PC host via a Intel FPGA download cable. However, you can try to read write files in your project directory during run mode, but you need a Intel FPGA download cable like a USB blaster between your target host and PC host. Alternatively, there is a read-only zip file subsystem where you can pre-program a zip file subsystem into an external flash, and then you can read file from this zip file subsystem in run mode.
For more details on debug, you may refer to https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/edh_ed51003.pdf
During run mode, your can run your program directly from flash device or external RAM or on-chip RAM internal to the FPGA.
Thanks.
Eric
- Yogesh5 years ago
Occasional Contributor
Hi ,
I am doing TCP IP NIOS example design. In the same project I am trying to read data from files in run mode . But I am not able to establish the link . The same code runs in debug mode . I am able to read data in debug mode and link is also established here. But I am not able to do the same in run mode.
I am referring NIOS II software developer handbook .It says,
7.8.1. Host-Based File System
• The host-based file system only operates while debugging a project. It cannot be
used for run sessions.So according to this I can't mount files and I can't do file operations in run mode.
Am I wrong somewhere ?
Regards
Yogesh