it is me again. I got already some help, some month ago:
Thanks for that.
And the project mentioned above works fine for some month. Last day I tried to pair the Seeed with a new device and now it is not working anymore.
As you can read above, I have absolutely no idea - I’m even surprised that I managed to get the thing running at all.
The current status is, when I power the Motorbuttons I have sometimes one and sometimes two LED on, but there is no Bluetooth where I can connect.
I can upload the Arduino Code via Arduino IDE, the board is seen. Upload works, but after this nothing (then above) happen. In windows words, I would say it will noct boot.
In normal mode both LED will blink until a Bluetooth device is paired.
So how can I start failure search?
Can I totally reset the board?
make sure to put it in boot mode and restart after new program… sometimes it acts like it updated but it really did not… also you can try wipe it clean by uploading blink sketch
Q1: My Arduino IDE is stuck when uploading code to the board
You can first try to reset the board by clicking the “Reset Button” once. If that does not work, rapidly click it twice to enter bootloader mode. If that also doesn’t work, disconnect the board from the PC, and connect the board again.
Q2: My board is not showing up as a serial device on Arduino IDE
You can first try to reset the board by clicking the “Reset Button” once. If that does not work, rapidly click it twice to enter bootloader mode.
Press reset button… and if that doesnt work… double click the reset button
… press reset button after uploading sketch… because sometimes it will automaticly reset… but sometimes it does not so after upload it is good idea to press reset button or power cycle
Morning, I managed to load the sketch again. The board is sometimes working, sometimes not. It looks like a boot problem, I believe the board is the problem.
I will monitor this and in the worst case change the board.
Hi there,
Does the Xiao show up as a Drive? (BL mode) if so, Grab the Uf2 file for the RGB LED test in the
“Drag & Drop” test file thread. There’s a zip. DRAG the uf2 file to it , it will reset after it reloads anf cycle thru the RGB colors thus reloading the BootLoader image and code that is verified good. Looks to me the BootLoader is corrupted. or you code hit a memory boundary and messed it up.
YMMV
HTH
GL PJ
Hi there,
Yes, If it only lets you upload in Bootloader mode, Then something got wacked in the flash, luckily “Size” doesn’t matter…LOL of the code. any lib or io miss code parameter can write to a location and only slightly mess it up. Even small programs that have too fast, or very tight loops will prevent enough time for it to see the upload signal from the com port. That requires a double press then.
You should be able to upload regardless of mode it’s in on a Normal Xiao situation. (note the com port will change however) in some cases.
BL mode is required to drag and drop the Uf2 files.
HTH
GL PJ