Possible Reset Boot Loader Problem?

I’m trying to repair my 3 XIAO’s. Something about the way I use them and my Wio lite MG126 has causede me to be unable to program any of them. I’ve been through

  • resetting the devices
  • re-connecting the devices
  • rebooting my PC
  • resetting the products twice quickly
  • uninstalling the devices from device manager
  • deleting the usb controller
  • removing the registry entries associated with VID/PID

and I still can’t upload to them.

Now I’m trying Black Magic Probe (Jeff Probe BMP Clone). I’ve soldered connections to Reset, SWCLK and SWDIO and have connected to them to the appropriate pins on the included JTAG ribbon cable. I performed a continuity check on them and am positive the pins are correct. I’m definitely connecting power to the BMP as well as powering the XIAO/Wio using external pwoer. I also connected the UART interface to the appropriate TX/RX pins using a grove connector.

The problem is that I’m stupid and don’t know

  • WHERE to find the “bootloader” source file that needs to get uploaded
  • HOW to send it.
  • I actually don’t even know WHAT the “bootloader” does.
  • I thought that resetting twice quickly puts the device into bootloader mode but I actually have no idea what that is or why it would be used.

There are so many programming devices, protocols, toolchains, firmware, flags, and enough documentation to have sent me down rabbit holes for over a month now.

I don’t care what method I use but I need to find A method of programming the bootloader(?)
In Arduino IDE I don’t know what to do to program the target.

I followed the VSCode/PlatformIO instructions and it does communicate through CLI so I see the target system and upload port but it hangs when it’s sending firmware.bin.

Programming using SWD in Atmel studio with a Blackmagic Probe is a total mystery.

Things like baud rates, GDB commands, bootloader file location, would be good to see as a how to.

I understand that this probably isn’t a Seeedstudio manufacturing issue but I was hoping to leverage any debugger/uploading experience anyone has.

I’ve asked for some direction on many different forums. It just so happens that the problems people are having on this forum are exactly like mine.

1 Like