My environment for this is
- Ubuntu 14.04
- ecipse Mars2
- ble_app_uart project of Nordic SDK11(makefile project)
- armgcc
- nRF52 PCA10040 Nordic board
ERROR : GDB closed TCP/IP connection
what should i do to solve this?
My environment for this is
ERROR : GDB closed TCP/IP connection
what should i do to solve this?
were you able to solve this ? can you add some screenshots?
Hi Aryan,
Thanks for your reply, I am not yet able to solve this. I have attached the screenshot of my debug window.
Screenshot from 2016-08-09 12:50:34.png
Debug window screenshots.
this does not show much, can you please show the GDB launch configuration ...other settings that you have done for configuring the GDB.
I have added "JLinkGDBServer" Path into window->preferences->Run/Debug->SEGGER J-Link.
I am adding debug window screenshots into previous message.
Hi you are using normal gdb that wont work with embedded devices. It just works when you debugging code running on your PC.
you should use arm-none-eabi-gdb.
Please go through this blogpost. Also you need to change one more thing. you need to change the executable to arm-none-eabi-gdb as below