void loop() does not always run automatically

Good morning, sir,

For my part, I have on S Duino Due (clone of the Arduino Due) with an ARM AT SAM 3X8E AU processor.
The test sketch used is the one of lDE Arduino 1.87 : Files / Example : 01. Basics \ Blink
This is the flashing of LED 13 on the Due card.

My problem : void loop() does not run in infinite loop

In some cases only the 1st line of void loop() is executed: led 13 lit in fixed.
Delay(1000) does not execute!

The "Blink" sketch being uploaded into the Due depending on the case void loop() works.

A--> If the card has been unplugged for about 1 minute (the capacitor on the card should discharge after this time), LED 13 remains lit permanently if the USB power supply is connected.
Only 2 manipulations restart void loop() and the led starts flashing normally.

  1. Press the Reset button
  2. Repeatedly unplug and replug the USB

B--> If the board has been disconnected for about 1 minute (the capacitor on the board must discharge after this time), LED 13 remains permanently lit if an external 7.5V power supply is connected.
Only 2 manipulations restart void loop() and the led starts flashing normally.
3) Press the Reset button
4) Disconnect and reconnect the external power supply multiple times.

Q1: Do you have the same operation of your Arduino Due?

Q2: How do you manage this situation?

Related question :
Q3: When do you use the "Erase" button next to the CPU?
Q4 : What should I do if the " Erase " button has been pressed when the Arduino Due card is powered on? (case of another Arduino Due card that I own)
Q5: Do you have a link that talks about the use of this button?

Thank you for your opinion and experience!

I don't think it's running at all, the only reason it's lit is there's enough leakage current to light it.
https://www.google.com/search?ie=UTF-8&oe=UTF-8&q=due+startup+problem&domains=https%3A%2F%2Fforum.arduino.cc&sitesearch=https%3A%2F%2Fforum.arduino.cc

Hello and thank you,

weird_dave:
I don't think it's running at all, the only reason it's lit is there's enough leakage current to light it.
due startup problem site:https://forum.arduino.cc - Google Search

I've already looked at this 6-page post, I'm going to continue to study this post.
SMD soldering is too tricky for me and I know nothing about programming the Boot of the Arduino Due board

For my part, I've already done some tests with the Blink sketch.
by putting a capacitor between 3.3v in Reset or between Gnd and Reset
Neither of the 2 tests with a 100 nF or 15nF capacitor works.
I changed the sketch and I took a test A0 in Free Run mode, with this sketch no problem no more need to "Reset" after a long period with the USB disconnected.
The only thing I had to do to reconnect to COM3 was to close and then select again the serial plotter or serial monitor on the Arduino IDE so that I could see the ADC values again.

Do you have any information to communicate to me about the ERASE button ( questions Q3, Q4 and Q5 )

Thank you for your help