I think I wrongly programmed my Sodaq Sara device, and since then it’s not recognized via usb anymore. When pressing the reset button twice (blue led blinking, bootloader mode) the Arduino IDE does recognize it. I would like to re-burn the bootloader to see if it solves the issue. Which bootloader should I burn?
By the way, which board should be used as target when programming the Sodaq Sara? Because the doc  suggests it’s Arduino M0, but Arduino IDE recognizes it as “Arduino/Genuino Zero (Native Port)”. I guess I selected a wrong target, and that’s the reason why it’s not correctly working.
If the Sara works fine in bootloader mode you don’t need to flash a new bootloader.
Try uploading a simple blink while in bootloader mode.
I am not sure that the bootloader is working properly. Trying to upload the example blink sketch (File > Examples > 01.Basics > Blink; Arduino IDE version 1.8.5, all libraries up to date as of today) gives the output
Archiving built core (caching) in: C:\Users\...\AppData\Local\Temp\arduino_cache_38250 ccore\core_arduino_samd_mzero_bl_....a
Sketch uses 10224 bytes (3%) of program storage space. Maximum is 262144 bytes.
An error occurred while uploading the sketch
Could you please confirm that the target board to use is “Arduino M0”?
Your target board is the Sodaq Sara, it’s just that the bootloader is the same and that the device will appear as a zero.
Did you add the board files?
Nope, I added the repository but I forgot to add the board files… Everything is working now. Thank you very much
Have a nice weekend
I am having a similar problem with my SODAQ SARA AFF board as is described here, the board i am using has incorrectly programmed and now i am trying to revive it in bootloader mode.
However, I have not been about to see a valid port for my device using the method described above. I am trying to use the Adruino M0 board setting in the Arduino IDE but i still cannot see the board on the port.
Any suggestions would be most welcome!
Did you put the board manually in bootloader mode with double pressing the reset button?