Hello, I am seeing consistent behaviour on my Sparkfun Pro nRF52840 Mini where code needs to be uploaded twice for changes to take effect. The following sequence happened in both the Arduino IDE 1.8.18 and nRF5 SDK via VS Code, for several different example scripts.
(1.8.18 was used due to a known issue with adafruit-nrfutil on Macs with Arduino IDE 2.0.0 or later. With newer IDE versions, code does not compile).
- Press pin 13 and reset button to enter bootloader mode. Built-in LED flashes rapidly as expected.
- Code is uploaded. Operation is reported as a success in terminal.
- No matter what the code is supposed to do, the built-in LED flashes at a frequency of 2 Hz.
- Repeat step 1, again behaves as expected.
- Code is uploaded ‘successfully’ again.
- Code functions as expected.
Is this usual behaviour? Sometimes, when step 1) is done, the built-in LED turns completely off. In these cases, 1) needs to be repeated 3-5 times before the LED begins blinking rapidly again.