You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all! I have a project with an Atmega328P and I am using the hardware SPI pins for a different purpose. Is it possible to use non-standard pins to flash a new bootloader from a SD card?
The text was updated successfully, but these errors were encountered:
Yes, to use software SPI or any other form of SPI, just rewrite these functions:
voidinit_spi (void); /* Initialize SPI port (asmfunc.S) */voidxmit_spi (BYTE d); /* Send a byte to the MMC (asmfunc.S) */
BYTE rcv_spi (void); /* Send a 0xFF to the MMC and get the received byte (asmfunc.S) */
They can be written in C/C++ as well as in AVR assembly.
Hi all! I have a project with an Atmega328P and I am using the hardware SPI pins for a different purpose. Is it possible to use non-standard pins to flash a new bootloader from a SD card?
The text was updated successfully, but these errors were encountered: