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.
- Press the Reset button
- 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!