UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 31966

10.1 EDK - Why is the GDB GUI slow to download my software application?

Description

Keywords: debug, download, d/l, insight, XMD, JTAG

Why is the GDB GUI slow to download my software application?

Solution

There are settings that can be enabled to speed up the download process:

When in GDB:

1. Open the console (View > Console).

2. At the GDB prompt, type the following:
(gdb) set download-write-size 4096
(gdb) set remote memory-write-packet-size 16384
(gdb) set remote memory-write-packet-size fixed

To keep these commands persistent, or if you are using SDK, create a .gdbinit file in your home directory:

1. Open a DOS prompt and type:
C:\>echo %HOMEPATH%
or open a bash shell and type:

Bash> echo $HOME

The result is the location of your home directory

2. Create a .gdbinit file consisting of the following:
set download-write-size 4096
set remote memory-write-packet-size 16384
set remote memory-write-packet-size fixed

3. Save the file and put it in your home directory.

The problem of the slow GDB download will be fixed in 11.1.
AR# 31966
Date Created 12/04/2008
Last Updated 12/03/2008
Status Active
Type General Article