D
D
digdream2016-08-03 18:17:11
Arduino
digdream, 2016-08-03 18:17:11

How to reset Arduino Mega?

I’m starting my journey in mastering the Arduino platform and almost immediately stepped on a rake: I
tried to connect an OLED display, it didn’t want to display anything, then I came across an I2C scanner sketch that runs through all addresses and looks for devices, reporting its results to COM -port.
I filled it in - it didn’t find anything, the connector was soldered - the display was now there, I wanted to continue the experiment, but I was waiting for an unpleasant surprise - the sketch that was filled in immediately occupied the COM port after the reset and it didn’t work to load something new into the
arduino empty sketch? or do you need a second Arduino that will help out the first one?
maybe in the terminal you need to send some kind of sequence in order to have time to prevent the execution of the sketch?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
digdream, 2016-08-04
@digdream

Happened.
The course of action is as follows:
1. connect the board to USB
2. short-circuit 2 contacts of the connector closest to the USB (they are protruding - 6 pieces on the comb), thereby the controller switches to DFU mode
3. download www.atmel.com/Images/JRE%20 -%20Flip%20Installer%20... and install the FLIP program
4. install the device that appears using the drivers from the usb folder from the installed Flip
5. reflash the ATmega16U2
the whole process in more detail and with pictures found on Ampere

I
idShura, 2016-08-03
@idShura

A similar issue has been discussed here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question