04-25-2018, 06:20 AM
I think the reason might be the CH340. I never use nano's with that RS232 clone.
Thread Rating:
pilight Nano USB interface
|
[Apr 27 19:39:50:605140] pilight-flash: INFO: **** START UPD. FW ****
[Apr 27 19:39:50:605176] pilight-flash: INFO: Indentifying microprocessor
[Apr 27 19:39:50:607273] pilight-flash: INFO: Checking for an ATMega328P @115200
[Apr 27 19:39:56:662955] pilight-flash: ERROR: ser_recv(): programmer is not responding
[Apr 27 19:39:56:663043] pilight-flash: ERROR: stk500_recv(): programmer is not responding
[Apr 27 19:39:56:663071] pilight-flash: ERROR: stk500_getsync() attempt 1 of 1: not in sync: resp=0x30
[...] same output the same for other baudrates and processors [...]
avrdude -b 57600 -p atmega328p -c arduino -P /dev/ttyUSB0 -Uflash:w:pilight_usb_nano.hex
[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