Hello,
I want to upload my sketch wireless on an Arduiono Mega 2560. I tryed it with an esp 01s with esp-link as the firmware like it is shown in this turtorial: https://www.youtube.com/watch?v=mtazgora9xE
I connected the devices like it is connected in the picture:
Using the serial monitor with the esp01s worked fine. I was able to send and receive data.
When I try to upload a sketch to the Arduino Mega, the Mega resets itself. However, the upload does not work.
This error appears:
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM11
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: stk500v2_getsync(): got response from unknown programmer , assuming STK500
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Wiring
Description : Wiring
Programmer Model: STK500
avrdude: stk500v2_command(): warning: unknown, code 0x90
avrdude: stk500v2_getparm(): failed to get parameter 0x90
avrdude: stk500v2_command(): warning: unknown, code 0x91
avrdude: stk500v2_getparm(): failed to get parameter 0x91
avrdude: stk500v2_command(): warning: unknown, code 0x92
avrdude: stk500v2_getparm(): failed to get parameter 0x92
Hardware Version: 70
Firmware Version Master : 227.92
avrdude: stk500v2_command(): warning: unknown, code 0x9a
avrdude: stk500v2_getparm(): failed to get parameter 0x9a
Topcard : Unknown
avrdude: stk500v2_command(): warning: unknown, code 0x94
avrdude: stk500v2_getparm(): failed to get parameter 0x94
Vtarget : 6.4 V
avrdude: stk500v2_command(): warning: unknown, code 0x98
avrdude: stk500v2_getparm(): failed to get parameter 0x98
avrdude: stk500v2_command(): warning: unknown, code 0x95
avrdude: stk500v2_getparm(): failed to get parameter 0x95
avrdude: stk500v2_command(): warning: unknown, code 0x96
avrdude: stk500v2_getparm(): failed to get parameter 0x96
avrdude: stk500v2_command(): warning: unknown, code 0x97
avrdude: stk500v2_getparm(): failed to get parameter 0x97
SCK period : 0.5 us
Varef : 6.4 V
Oscillator : 16.168 kHz
avrdude: stk500v2_command(): warning: unknown, code 0x9e
avrdude: stk500v2_setparm(): failed to set parameter 0x9e
avrdude: stk500v2_command(): unknown status 0xc8
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: stk500v2_command(): unknown status 0x01
avrdude: stk500v2_disable(): failed to leave programming mode
avrdude done. Thank you.
Beim Hochladen des Sketches ist ein Fehler aufgetreten
It would be kind if someone answeres with a solution for the problem.
Is it even possible to upload a sketch with the tx and rx ports?
Thanks for your help.