I am having issues with an nRF52840. I have one that works and one that does not, I am pretty sure the module is either damaged or faulty. But I wanted to ask if anyone else has this error and if there is a way to recover it without replacing it.
I am trying to re-image the board by copying over the adafruit-circuitpython-Seeed_XIAO_nRF52840_Sense-en_US-8.2.9.uf2 file.
At about 70% progression, I get an error message
Any thoughts? I tried it on multiple PC’s with multiple USB cables. Pretty sure it’s not that.
One thing that is interesting is when I start copying, the drive is “XIAO-SENSE” and when the error pops up it switches over to CIRCUITPY. So if I hit try again it just copy’s the file into CIRCUITPY.
I don’t know what that means… BSP? what is that? I have never done anything with BSP…
Please do not assume I am an expert on this module.
I have just opened two BRAND NEW modules and I tried to program the uf2 file into the module. Both gave me the exact same error.
I am using:
adafruit-circuitpython-Seeed_XIAO_nRF52840_Sense-en_US-8.2.9.uf2
I drag the file into the XIAO-SENSE directory, it is supposed to program it and update it to CircuitPy.
Modules used to work for me in the past. Now, all of a sudden, this is happening.
If it matters, the modules were made in April and May 2024.
I never used to get an error when doing this. I do not trust these modules are working now.
If I look at a 3rd brand new board, without doing anything, the INFO_UF2.txt file on the device says:
UF2 Bootloader 0.6.1 lib/nrfx (v2.0.0) lib/tinyusb (0.10.1-293-gaf8e5a90) lib/uf2 (remotes/origin/configupdate-9-gadbb8c7)
Model: Seeed XIAO nRF52840
Board-ID: Seeed_XIAO_nRF52840_Sense
SoftDevice: S140 version 7.3.0
Date: Nov 12 2021
After programming the .uf2 file, when the error is generated, the CIRCUITPY directory appears with only one single boot file in it, that has this inside it:
Adafruit CircuitPython 8.2.9 on 2023-12-06; Seeed XIAO nRF52840 Sense with nRF52840
Board ID:Seeed_XIAO_nRF52840_Sense
UID:337E5A37BC92C7D2
I am pretty sure I had cleared out the CIRCUITPY folder which is why the only file was the boot file. The other module had all the contents of CIRCUITPY.
I just tried a more recent .uf2, adafruit-circuitpython-Seeed_XIAO_nRF52840_Sense-en_US-9.1.4.uf2
That worked without generating an error. BUT my code fails.
But what I don’t understand is I didn’t have this problem a month ago. Something changed.
EDIT:
Final update: I tried a different PC and a different USB cable and I was able to get them to program correctly… But not 100%. I did have a failure, but a reimage worked.
I wonder if this is actually a windows problem. The second PC hasn’t been updated in a while.
For anyone who has the same issue:
The problem seemed to solve itself. I am not quite sure what the solution was but I think it was one of two things:
The most likely is I was trying to copy files off a network. Moving files to the local PC and then copying the files helped.
The second is there was another Windows Update.