---

** [tickets:#291] While debugging with BCM2835, no SPI communication is 
possible**

**Status:** new
**Milestone:** 0.10.0
**Created:** Sat Jan 09, 2021 09:16 PM UTC by Gerald 
**Last Updated:** Sat Jan 09, 2021 09:16 PM UTC
**Owner:** nobody


Hello,

I ran into a problem that I cannot use the SPI interface on the Raspberry PI 
(RPI as master) while I am debugging a microcontroller. Only the CS toggles, 
But MOSI and SCLK is quiet. When I stop debugging, SPI works. At least when I 
am using the BCM2835 driver. I switched to sysfsgpio driver for test, which is 
a lot slower, but SPI communication is possible while debugging. So I guess the 
driver is somehow blocking the pins. 
As a side note, I am using GPIO8-11 for SPI and GPIO20-21 for SWD debugging. 
The standard setup in this driver is that for JTAG the same pins are used as I 
am using for SPI. I changed them in the config file, even thought I am using 
SWD, but it still doesn't work. The sourcecode doesn't seem to use those 
specific pins for initialization.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to