Disabling/enabling SPI while programming an AVR - Raspberry Pi Forums
i've got avr based board talking raspberry pi. it's hooked serial pins spi idea pi talk of peripherals on board. working fine until enabled spi on pi - @ point couldn't program avr unless unplugged it.
assume because when spi-bcm2708 module loaded it's putting pi master mode or , it's interfering spi lines. thought unload module before programming, didn't seem work:
missing obvious? clear it's fine if disable module in raspi-config , disable loading on boot, doesn't seem if it's been loaded during boot , unload it.
thanks!
assume because when spi-bcm2708 module loaded it's putting pi master mode or , it's interfering spi lines. thought unload module before programming, didn't seem work:
code: select all
sudo modprobe -r spi-bcm2708 # flash avr here sudo modprobe spi-bcm2708
thanks!
raspberrypi
Comments
Post a Comment