jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.82k stars 720 forks source link

OTA programming of atmega2560 not working [linux] #552

Closed MNS26 closed 1 year ago

MNS26 commented 1 year ago

whenever i try and program a atmega2650 with a esp8266 (esp01s in this case) it first throws 2 ioctl("TIOCMGET"): Inappropriate ioctl for device and then times out avrdude

when using the same setup with a atmega328p it works w/o issue... (both arduinos were resetting when programming)

i need the extra IO of the atmega2560 for this project and cant use usb to program it (will be tucked away behind a lot of stuff)

there have been issues about this before with one claiming to update the bootloader but that didnt work sadly

MNS26 commented 1 year ago

nvm just noticed that the release 3.2.47 has support for atmega2560

uzi18 commented 1 year ago

@MNS26 you need latest esp-link and good bootloader flashed into atmega2560