Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: DS-5: Remote gdbserver returned error code 0x01 - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

DS-5: Remote gdbserver returned error code 0x01 Rate Topic: -----

#1 User is offline   SeanFitzgibbon 

  • Member
  • Pip
  • Group: Members.
  • Posts: 1
  • Joined: 28-November 11

Posted 29 November 2011 - 09:12 AM

We occasionally see a problem where errors like this are seen in the DS-5 Debugger command window immediately after connection:

ERROR(LUX48-TAD10-NAL79):
! Failed to set up shared library support
! Failed to read 1 bytes from address 0xB000C260
! Remote gdbserver returned error code 0x01

After this, any debug operation fails with an error 'Remote gdbserver returned error code 0x01'. This can happen if the gdbserver process attaches too soon to the application under debug. To fix it, locate the file 'run.py' in your DS-5 installation. This will be in a directory named something like
'eclipse/plugins/com.arm.debug.configdatabase.data.community_5.8.0.NNNNNNNN_NNNNNN/Boards/Android/Generic'. Open it in a text editor and increase the value of the SLEEP variable (initially 0.0 seconds) by a second or two. Retry the connection, and repeat until connection becomes reliable.

1

#2 User is offline   DarkEnginE 

  • Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 19-December 11

Posted 20 December 2011 - 09:32 AM

thanks a lot!

it works when I change 0.0 to 1.0 while using a real Android device.

0.0 works well with emulator.
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic