04-27-2018, 09:28 PM
This one worked now:
Now using pilight-flash, the output changed:
No idea why avrdude does the job but pilight-flash not. Gonna try to find it out.
Code:
avrdude -b 57600 -p atmega328p -c arduino -P /dev/ttyUSB0 -Uflash:w:pilight_usb_nano.hex
Now using pilight-flash, the output changed:
Code:
[Apr 27 20:26:31:323758] pilight-flash: INFO: **** START UPD. FW ****
[Apr 27 20:26:31:323862] pilight-flash: INFO: Indentifying microprocessor
[Apr 27 20:26:31:330794] pilight-flash: INFO: Checking for an ATMega328P @115200
[Apr 27 20:26:34:586515] pilight-flash: ERROR: stk500_getsync() attempt 1 of 1: not in sync: resp=0x98
No idea why avrdude does the job but pilight-flash not. Gonna try to find it out.