cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
3008202060
Participant
Participant
906 Views
Registered: ‎06-15-2016

File directory when using linux application debug

Jump to solution

Hi all,

 

Where should I put the file when I try to read the file as a argv? For example, if I want to read file XXX.cfg, where should I put the file? The same directory as the elf file?

 
Thanks a lot.
0 Kudos
1 Solution

Accepted Solutions
sadanan
Xilinx Employee
Xilinx Employee
956 Views
Registered: ‎10-21-2010

Hi,

You can either specify the full paths, or in the application tab, change the working directory to any path, and put the files in that directory

View solution in original post

0 Kudos
3 Replies
stephenm
Moderator
Moderator
860 Views
Registered: ‎09-12-2007
In the debug configuration, there is an arguments tab. You can use that
0 Kudos
3008202060
Participant
Participant
848 Views
Registered: ‎06-15-2016

Hi,

 

Suppose the screenshot is my arguments, I want to read the cifar.data file. Where should I put that file on the sd card(since I tried to run liunx application that boot from sd card)?

6.jpg
0 Kudos
sadanan
Xilinx Employee
Xilinx Employee
957 Views
Registered: ‎10-21-2010

Hi,

You can either specify the full paths, or in the application tab, change the working directory to any path, and put the files in that directory

View solution in original post

0 Kudos