Problem on Arduino EdgeBoard

Hello,

I am writing this e-mail because I have a problem uploading the Arduino Edge Control software. It worked fine in the first test but in the next test it did not work correctly.
The problem is that it does not upload the firmware correctly.

I have done several tests and it gets stuck in the following line:
"Forzando reinicio usando 1200bps apertura / cierre en el puerto COM5"
If I wait a long time it continues with these messages but does not go up.
"
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
Uploading using selected port: COM5
C:\Users\xxxx\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2/bossac.exe -d --port=COM5 -U -i -e -w C:\Users\xxxx\AppData\Local\Temp\arduino_build_478865/SIMISOL.ino.bin -R
No device found on COM5
Ha ocurrido un error mientras se enviaba el sketch
"

Sorry but I have Arduino in Spanish since I am a Spanish speaker.

If you could help me since I can't find any information in the forum.

Greetings and Thanks

PD: I copy the log from the build:
El Sketch usa 83064 bytes (8%) del espacio de almacenamiento de programa. El máximo es 983040 bytes.
Las variables Globales usan 44992 bytes (17%) de la memoria dinámica, dejando 217152 bytes para las variables locales. El máximo es 262144 bytes.
Forzando reinicio usando 1200bps apertura / cierre en el puerto COM5
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
PORTS {COM5, } / {COM5, } => {}
Uploading using selected port: COM5
C:\Users\xxxx\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino2/bossac.exe -d --port=COM5 -U -i -e -w C:\Users\xxxx\AppData\Local\Temp\arduino_build_478865/SIMISOL.ino.bin -R
No device found on COM5
Ha ocurrido un error mientras se enviaba el sketch

There is a Spanish language section of the forum if you would like this topic moved there

Hi @lopezrodenas. The way uploads work is:

  1. The Arduino IDE (or the upload tool used by the Arduino IDE) sends a signal for the microcontroller to reset.
  2. The microcontroller resets.
  3. The bootloader runs and waits (normally only for a short time) for an upload to start.
  4. The upload tool sends the program to the microcontroller, where the bootloader writes it to flash memory.

On the boards with native USB such as the Arduino Edge Control, the way the IDE signals the microcontroller to reset is by opening a serial connection at 1200 baud. There is some special code running on the microcontroller in the background of your sketch that does the reset when it detects that 1200 baud connection.

In some cases, your sketch code might cause that reset code to be missing or not working correctly, which will mean the bootloader never runs and the upload fails with the error you're seeing. The fix is to manually reset the board.

Try this:

  1. Press and release the reset button on your board quickly twice.
    On most Arduino boards, you would now see the LED on the board pulsing to indicate the bootloader is running, however, I'm not sure whether the Edge Control has an onboard LED (I don't own one). If not, you will just have to assume that the double reset worked.
    The double reset causes the bootloader to run indefinitely (until the board is reset normally, powered off, or an upload is done), which means you don't need to get the timing of the reset just right.
  2. Select the port of your board from the Tools > Port menu.
    The port will be different when the bootloader is running so don't assume you already have the correct port selected.
  3. Start an upload in the Arduino IDE.

The upload should now finish successfully. After this, you should be able to go back to doing normal uploads without needing to press the reset button. If you still need to do the reset trick to do uploads after this, the problem may be caused by your code. You can verify this by uploading a simple sketch like File > Examples > 01.Basics > BareMinimum.

Hello.
It worked correctly, thank you very much.

Regards

You are welcome. I'm very glad that it worked. Enjoy!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.