I think I have locked my arduino pro (3.3v) by accidentally making the sketch spam the serial port.
I am now getting the following error while trying to upload a new one.
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x00
avrdude: failed to write flash memory, rc=-4
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00
Is this because of the serial port spamming, or is the board buggy?
Is there a way to clear the flash memory without losing the bootloader?
If not, how would you suggest that I handle the problem?
The FTDI chip works normally with another board I have.