I have a Sparkfun Redboard Turbo purchased about 3 weeks ago. I have been playing with it, running a number of example sketches. I am looking at moving from our usual Arduino Uno/Mega environment in a college course to using one of the newer boards. I have used the Uno/Mega environment for several years.
So, yesterday I was running an SPI sketch, and suddenly the bootloader? serial hardware? started working strangely. Some of the things happening were:
-
The sketch would compile in the IDE and start to upload. At that point it appears to hang. The RxTx lights are not flashing, the Big Green LED does not light, and I never see the Autoload message. The IDE never says it completed loading.
-
The sketch compiles and appears to upload. The Big Green LED lights up, I see the Autoload message. The IDE shows the upload statistics and says “CPU Reset”. I thought I used to get a row of # characters at the end, but I may misremember (I have also been testing an Artemis ATP). The Big Green does not turn off, the sketch does not seem to run. Running a Serial Monitor window just shows a blank window.
-
Same as above, but the Big Green turns off. Looks like we are ready! However, opening the Serial Monitor is odd; most of the SerialUSB messages do not appear. Only one of the println statements in the sketch loop actually works.
-
After various restarts the IDE often indicates that the port is busy. Another restart typically avoids that message (but still fails as above).
I tried several sketches that ran fine the previous day. The main one I used (because it was simplest) was a simple sketch to read the time from a RTC on I2C. Other than the Qwiic RTC nothing else is attached to the board.
After each failure I tried various restart techniques; single tap the restart button (sometimes multiple times), cycle power to the board, re-open the Serial Monitor window. At no time can I get the board to work.
I am using Arduino IDE 1.8.5 under Windows 10 Pro. As I indicated, everything worked fine until yesterday.
I assume I have 2 possibilities:
a) the board is fried. Is it typical for a board to die in 3 weeks?
b) the bootloader code is corrupted somehow. I have looked at the disk drive mounted by double clicking the reset button. The CURRENT.UF2 shows it is v2.0.0-adafruit.4.12.g2d4ec73-dirty SFHWRO.
I downloaded a file
to my PC drive. I “think” I can copy this file to the disk drive and it is supposed to automatically update the uf2 file, but I am unclear on this process and a bit nervous to try it. Are there instructions somewhere on exactly how to do this? One description I found indicated you had to do it on a Linux system (I am Win10).
I found the article https://learn.sparkfun.com/tutorials/arm-programming which is interesting, although I’m unclear on everything. I went to https://github.com/sparkfun/Arduino_Boa … ders/turbo and downloaded the bin file bootloader-sparkfun-redboard-turbo-v2.0.0-adafruit.4-12-g2d4ec73-dirty.bin as recommended in the article. Apparently I would need to buy the $500 device to install this file? I think I am confusing the uf2 file and the “bootloader”.
I appreciate any help I can get to understand this.