<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 5/13/2014 3:48 PM, Andre Marques
wrote:<br>
</div>
<blockquote cite="mid:53727727.1070206@gmail.com" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">On 05/09/14 03:24, Alan Cudmore
wrote:<br>
</div>
<blockquote
cite="mid:CAJrjN72oNBdc-Ag6VzrsSOL502wGRTm5+Q9n0an4dy7-tCzGVw@mail.gmail.com"
type="cite">
<div dir="ltr">I have not had much time to figure out why GDB is
not working with the Pi/openOCD setup yet.
<div><br>
</div>
<div>But I started documenting my setup. The hardware details
are here:</div>
<div><a moz-do-not-send="true"
href="http://alanstechnotes.blogspot.com/2014/05/a-low-cost-jtag-debugger-for-raspberry.html">http://alanstechnotes.blogspot.com/2014/05/a-low-cost-jtag-debugger-for-raspberry.html</a><br>
</div>
<div><br>
</div>
<div>Next I will document how to compile openOCD and use it to
load RTEMS images to the Pi.</div>
<div><br>
</div>
<div>Alan</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
</div>
</blockquote>
<br>
Hello Alan,<br>
<br>
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.<br>
<br>
About the needed peripherals, I thought of this display to test
the i2c and spi interfaces:<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.newhavendisplay.com/nhd0216k3zflgbwv3-p-5738.html">http://www.newhavendisplay.com/nhd0216k3zflgbwv3-p-5738.html</a><br>
<br>
What do you think?<br>
</blockquote>
<br>
That should work. The jumpers look like they may need to be soldered
to select SPI, I2C, or UART. <br>
<br>
I have a few other I2C devices, I will have to pick up at least one
SPI device. <br>
A couple of other examples:<br>
<a class="moz-txt-link-freetext" href="http://www.adafruit.com/product/1231">http://www.adafruit.com/product/1231</a><br>
<a class="moz-txt-link-freetext" href="http://www.adafruit.com/products/1602">http://www.adafruit.com/products/1602</a><br>
<a class="moz-txt-link-freetext" href="http://www.adafruit.com/products/1564">http://www.adafruit.com/products/1564</a><br>
<br>
Alan<br>
<br>
<br>
<blockquote cite="mid:53727727.1070206@gmail.com" type="cite"> <br>
<blockquote
cite="mid:CAJrjN72oNBdc-Ag6VzrsSOL502wGRTm5+Q9n0an4dy7-tCzGVw@mail.gmail.com"
type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote"> On Fri, May 2, 2014 at 6:48 PM,
Chris Johns <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 3/05/2014 3:07 am, Alan Cudmore wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Chris,<br>
I can use OpenOCD to load, run, break, resume, etc,
but I am not having<br>
luck with GDB yet.<br>
<br>
</blockquote>
<br>
</div>
Excellent.
<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"> I
can connect to the OpenOCD remote target server, send
monitor<br>
commands, but I cannot load code through GDB or
control the target.<br>
When I try loading through GDB, I end up with load
failure messages.<br>
<br>
Any hints in configuring OpenOCD or GDB?<br>
<br>
</blockquote>
<br>
</div>
Send me an OpenOCD and GDB session trace.<span
class="HOEnZb"><font color="#888888"><br>
<br>
Chris<br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>