kcuzner / avrdude

avrdude with a Linux SPI programmer type
http://kevincuzner.com/2013/05/27/raspberry-pi-as-an-avr-programmer/
107 stars 68 forks source link

spi mode is not set #7

Open chaosjug opened 8 years ago

chaosjug commented 8 years ago

When using avrdude linuxspi together with other programs which use spidev avrdude fails if the other program sets a different spi mode.

I'm no expert on spidev but from what I've seen here SPI_IOC_WR_MODE and SPI_IOC_RD_MODE should be set before sending the message.