[beagleboard] Debugging through Eclipse using remote GDB

2014-09-13 Thread Zachary Wilcox


I'm currently trying to set up cross-compiling for the Beaglebone Black. I 
am running Eclipse on my windows machine and Linaro-arm cross compiler. I 
can compile on Windows and run the program just fine on the BBB. My problem 
is trying to get the remote GDB to work. I'm run gdbserver on the BBB: 
gdbserver 192.168.7.2:12345 TestLED.elf

Process TestLED.elf created; pid = 2415 Listening on port 12345 Remote 
debugging from host 192.168.7.1

I've set up remote debugging in Eclipse using the GDB in the Linaro 
toolchain. I get the following in the console when I start up GDB in 
Eclipse:

$1 = 0xff Cannot access memory at address 0x0 Cannot access memory at 
address 0x0 The target endianness is set automatically (currently little 
endian) No source file named C:\Path\To\source\file\src\main.cpp.

I've built it using the debug option. So I'm assuming it compiled it with 
the -g flag.
I added the flag just in case and get the same error :(

EDIT: It appears I can step through it just fine in GDB on the bbb. So the 
problem seems to something in Eclipse.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re-install Debian on Rev C

2014-06-15 Thread Zachary Wilcox
So I've done some weird stuff on my BBB rev C.
I'm now unable to access 192.168.7.2 in my browser though I can still 
connect via usb.
I'm also not able able to access the internet through my USB any more.

I figured the best thing to do is reinstall debian so it's just like right 
before I bought it.
If I flash it with the eMMC image found 
here:http://beagleboard.org/latest-images/
will it restore it to just like how it was when I bought it?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.