Re: [OpenOCD-devel] OpenOCD + RaspberryPi

2014-05-03 Thread Paul Fertser
Hi, On Fri, May 02, 2014 at 04:54:31AM -0400, Berk Akinci wrote: > 1) Is there enough interest in using RaspberryPi as the whole > debugger? (no host/USB dongle necessary.) Well, apparently some people are using that, but I've no idea how many. I still haven't seen any nice buffer board (like t

Re: [OpenOCD-devel] OpenOCD + RaspberryPi

2014-05-02 Thread Alfonso Arbona Gimeno
El Viernes, 2 de mayo de 2014 13:14:10 David Riley escribió: > I'd be pleased to see something like this that approaches a nice speed. The > Linux userland GPIO layer is brain-dead and slow, as far as I'm > concerned. It's entirely designed for control via shell scripts, and > introduces a number

Re: [OpenOCD-devel] OpenOCD + RaspberryPi

2014-05-02 Thread David Riley
On May 2, 2014, at 4:54 AM, Berk Akinci wrote: > 3) The BCM2835 SPI controller appears to be flexible enough to use as a JTAG > master. The current SPI driver couldn’t accommodate JTAG. If I go about > writing a new driver on the Pi, how should the interface look to the > application (OOCD s

Re: [OpenOCD-devel] OpenOCD + RaspberryPi

2014-05-02 Thread Michael Schwingen
On 02.05.2014 11:25, st...@nixia.no wrote: >> 3) The BCM2835 SPI controller appears to be flexible enough to use as >> a JTAG master. The current SPI driver couldn’t accommodate JTAG. >> If I go about writing a new driver on the Pi, how should the >> interface >> look to the application (OOCD spe

Re: [OpenOCD-devel] OpenOCD + RaspberryPi

2014-05-02 Thread Berk Akinci
I had only considered JTAG. The BCM2835 has two “universal” SPI controllers that can shift out 1 to 32 bits at a time. I went back to the Peripheral spec to verify. One thing I hadn’t noticed the first time, was that the Universal SPI controllers were on pins not all brought out to the GPIO h

Re: [OpenOCD-devel] OpenOCD + RaspberryPi

2014-05-02 Thread stian
> 3) The BCM2835 SPI controller appears to be flexible enough to use as > a JTAG master. The current SPI driver couldn’t accommodate JTAG. > If I go about writing a new driver on the Pi, how should the > interface > look to the application (OOCD specifically). Do you have other JTAG > interface

[OpenOCD-devel] OpenOCD + RaspberryPi

2014-05-02 Thread Berk Akinci
Hi, I’ve found OpenOCD useful recently at work. Our debugger hadn’t arrived, so I put together a setup using OpenOCD+AlteraUSBblaster. For that, I thank you. I am interested with the idea of using OpenOCD+RaspberryPi as a self-contained debugger. (Plug in power, ethernet, JTAG cable and off