This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debugging nRF51 with Eclipse - Console shows binary garbage

Hi,

i am using Eclipse 'Mars' and Segger V5.10c to debug some of the SDK examples. The Eclipse command line shows only binary garbage. How can I get the garbage readable?

I used this guide to setup my working environment. Afterwards I able to compile the examples and run them. But whenever the console switches to 'SEGGER J-Link GDB Server V5.10c - Terminal output channel' there is only binary stuff on the command line: image description

My debug configuration:

image description

I have shortened the application to

int main(void)
{
    for (;;)
    {
    	int i = 1;
    	i += 1;
    }
}

but Eclipse still shows output on it's internal Terminal.

If I launch

JLinkGDBServer -device nrf51422 -if swd -speed 1000 -port 2331

and

arm-none-eabi-gdb nrf51422_xxac_s130.out
target remote localhost:2331
monitor reset
monitor device = nrf51422_xxac
continue

in the Terminal I am able to debug and there is no output in both Terminals.

Parents Reply Children
No Data
Related