I have an Arduino 328p (custom) and I can program it using a FTDI header.
However, when I power it from the FTDI using only the RAW (5V) and GND, it only executes simple programs (example blink). If in my sketch I attempt to use SPI for example, it will just get stuck.
If I power the arduino from the FTDI with the DTR pin connected, it will work just as expected for any sketch. I can even remove the DTR pin at this point and there will be no issue.
What could be the cause of this behavior?
Can it be an issue with optiboot fast start?
PS: FTDI is configured for 5V but VCC for the Arduino is 3.3V (I'm using the MCP1703 regulator). This means that the Arduino is powered by 3.3V but the RST pin will have 5V.
PPS: The Arduino is running at 16MHz
12V
, I think if it worked the other way round it would cause issues. – RSM Jul 7 '16 at 13:02