Troubleshooting
If your programming setup doesn't work, it may sometimes be useful to look at additional
diagnostic info. ScratchMonkey optionally prints a diagnostic log
on a separate serial port. To use this:
- Connect the RX pin of some serial adapter to
- A5 on a standard Arduino
- A4 on a Leonardo/Micro
- Pin 18 on an Arduino Mega
- In
SMoConfig.h
, find the define for the protocol you want to debug (DEBUG_ISP, DEBUG_HVSP, or DEBUG_HVPP), and change the #undef
to #define
- Upload ScratchMonkey to your Arduino again.
Note that this will drastically lower the programming speed you can achieve.