look back there is a working program that I posted; blinks the user LEDS the way i have it working 1. cross compile the GCC(eclipse) program from windows -> bbb 2. PRU compile the asm on the BBB via terminal.
Debug does work through eclipse. If anyone gets the PRU to cross compile would be great, re the PRU-C find it more complicated than the asm, but thats my opinion from looking at the source codes. make the the BBB has the cross compiled program and the pru in the same directory (watch yours paths). On Monday, 31 August 2015 22:24:38 UTC+10, Valeria M. wrote: > > Hi everybody! > > I have a Beaglebone Black running the last Debian image and for my current > project I need to cross-compile it with Eclipse from my WIndows OS. > In oiorder to get 'acquainted' with the PRUs I'm trying to run the 1.c > <https://github.com/rascalmicro/libpruio/blob/master/src/c_examples/1.c> > example included in the libruio library. > > I've followed the instructions posted here > <https://groups.google.com/forum/#!searchin/beagleboard/PRU$20Vega/beagleboard/9NYdGWOT_Mg/1FMabXB_pJsJ> > > by Rafael Vega and I'm able to build the project but when debugging I get > first this errors: > > No source available for "0x0" > gdbserver: Unexpected missing PT_PHDR > > Scrolling through the gdb traces I've found: > > *stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation > > fault",\ > > frame={addr="0x00000000",func="??",args=[]},thread-id="1",stopped-threads="all",core="0" > > Does someone have any idea what I'm missing or what kind of mistake I'm > doing? > > Regards > Valeria > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
