[GSOC] RPi BSP RTEMS

Alan Cudmore alan.cudmore at gmail.com
Tue May 13 20:38:12 UTC 2014


On 5/13/2014 3:48 PM, Andre Marques wrote:
> On 05/09/14 03:24, Alan Cudmore wrote:
>> I have not had much time to figure out why GDB is not working with 
>> the Pi/openOCD setup yet.
>>
>> But I started documenting my setup. The hardware details are here:
>> http://alanstechnotes.blogspot.com/2014/05/a-low-cost-jtag-debugger-for-raspberry.html
>>
>> Next I will document how to compile openOCD and use it to load RTEMS 
>> images to the Pi.
>>
>> Alan
>>
>>
>
> Hello Alan,
>
> sorry for the delay, last week I had some work at the university and 
> the emmc driver i'm doing for my final project is having some 
> problems. I'm still trying to get myself the needed hardware for the 
> debugger.
>
> About the needed peripherals, I thought of this display to test the 
> i2c and spi interfaces:
>
> http://www.newhavendisplay.com/nhd0216k3zflgbwv3-p-5738.html
>
> What do you think?

That should work. The jumpers look like they may need to be soldered to 
select SPI, I2C, or UART.

I have a few other I2C devices, I will have to pick up at least one SPI 
device.
A couple of other examples:
http://www.adafruit.com/product/1231
http://www.adafruit.com/products/1602
http://www.adafruit.com/products/1564

Alan


>
>>
>> On Fri, May 2, 2014 at 6:48 PM, Chris Johns <chrisj at rtems.org 
>> <mailto:chrisj at rtems.org>> wrote:
>>
>>     On 3/05/2014 3:07 am, Alan Cudmore wrote:
>>
>>         Chris,
>>         I can use OpenOCD to load, run, break, resume, etc, but I am
>>         not having
>>         luck with GDB yet.
>>
>>
>>     Excellent.
>>
>>
>>         I can connect to the OpenOCD remote target server, send monitor
>>         commands, but I cannot load code through GDB or control the
>>         target.
>>         When I try loading through GDB, I end up with load failure
>>         messages.
>>
>>         Any hints in configuring OpenOCD or GDB?
>>
>>
>>     Send me an OpenOCD and GDB session trace.
>>
>>     Chris
>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140513/b88e7cd3/attachment-0001.html>


More information about the devel mailing list