DS-5: Remote gdbserver returned error code 0x01
Posted 29 November 2011 - 09:12 AM
! 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.