Working on the new emonSD image here. It all seems to be working fine apart from upload to the RFM69Pi adapter board which it probably fails 95% of the time.
Mostly with errors of the form:
avrdude-original: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x0d
avrdude-original: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x0a
avrdude-original: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x5b
I’ve tried fixing the core_freq and making sure bluetooth and console are disabled on ttyAMA0 but to no avail. I’ve also tried the latest version of avrdude v7.0 but cant get autoreset to work with that.
Before I open an issue on the avrdude github does anyone here have any pointers on what I might be missing to get this to work? I cant find references elsewhere that match this problem exactly so a little bit mystified as to what Im doing wrong.