Frequently asked questions about debugging and target connection
How can I set the register display format so that it defaults to "Hexadecimal"?
Can I debug more than one application at the same time?
I have a large ELF application file to debug, and SDK seems to time out when I
am downloading the ELF file. How can I increase the time-out period?
I have my board connected on one machine, and I would like to debug my application using SDK running on another machine. How to I set up the Launch Configuration to perform this operation?
During Debugging (or Running) the application, I would like to download my data files along with my application's ELF file. How do I do this?
How do I specify the Reset options to be used when a Debug (or Run) session is launched?
Why are program section sizes reported by Linker Script Generator IDE different from one's reported after program build?
How can I set the register display format so that it defaults to "Hexadecimal"?
To change the default register format:
- Select Window > Preferences.
- Open the tree for C/C++ in the list on the left-hand side.
- Click Debug in the expanded tree.
- In the Default Register Format drop-down list, select Hexadecimal.
Can I debug more than one application at the
same time?
The SDK Target Manager supports debugging of multiple independent targets. For example, you can debug a processor debug session and a simulation session simultaneously. However, sessions with potential conflicts are not allowed, such as when a similar session is already active.
I have a large ELF application file to debug, and
SDK seems to time out when I am downloading the ELF file. How can I increase
the time-out period?
For information about this, refer to Xilinx Answer Record #20653.
I have my board connected on one machine, and I would like to debug my application using SDK running on another machine. How do I set up the Launch Configuration to perform this remote debug operation?
You can do this by specifying the remote machine's access information in the Debug Launch Configuration dialog box. Note that this requires that the XMD Agent is already running on the remote machine.
Note This option is only supported when debugging an application on a remote machine. This does not support running applications on the remote machine.
Do the following:
- Start XMD on the remote machine using the xmd -ipcport <port_number> option.
- Click the Remote Debug tab and select Remote Machine.
- Specify the the remote machine's IP address and the port number where the XMD process is running.
- Click Debug to start the Remote Debug session.
During Debugging (or Running) the application, I would like to download my data files along with my application's ELF file. How do I do this?
To do this, specify the data file information in the Initialization tab of the Debug Launch Configuration dialog box.
How do I specify the Reset options to be used when a Debug (or Run) session is launched?
You can specify the Reset options in the Initialization tab of the Debug Launch Configuration dialog box. The following options can be specified:
- System reset: To reset the entire system
- Processor reset: To reset a specific processor
- No Reset: To not reset anything
Why are program section sizes reported by Linker Script Generator IDE different from those reported after program build?
The linker script generator IDE displays info about each program section. So when it says .text is XX bytes long, the contents of that specific section are XX bytes long. The program section size reported after program build uses the (processor_arch)-size utility which uses the Berkeley style of reporting program statistics. So "text" in the -size report includes not only .text, but other program instructions. Similarly "data" includes.data, .rodata, and .sdata.
The linker script size report should be used when looking at things at more fine-grained level. The program size report is more coarse-grained and should be used to get high level statistics about the program
Copyright
© 1995-2010 Xilinx, Inc. All rights
reserved.