RAK2287 STM32 Firmware update not available through USB only?

Issue

Impossible to update the RAK2287 firmware of the STM32 using only the USB port.


Setup

Hardware

  • RAK2287
  • MyirTech board (MYB-YT507) → PCIe connector exposes USB only (no GPIOs)

Software


Details

I built the toolchain of the LoRa packet forwarder and tried to set it up.
When launching the software, I get the following error:

WARNING: MCU version mismatch (expected:00.02.06, got:V01.00.00)
INFO: Concentrator MCU version is V01.00.00
INFO: MCU status: sys_time:205500 temperature:-0.0oC
ERROR: received wrong ACK type (0xFF)
ERROR: failed to read REQ_MULTIPLE_SPI ack
ERROR: [main] failed to start the concentrator

My guess:
The firmware of the STM32 (USB–SPI bridge) is outdated.
I attempted to update it with sx1302_hal/util_boot, but the chip never seems to enter DFU mode.


Attempts

1. Check chip ID

root@myir:~/sx1302_hal/util_chip_id# ./chip_id -u -d /dev/ttyACM0
Opening USB communication interface
INFO: Configuring TTY
INFO: Flushing TTY
INFO: Setting TTY in blocking mode
INFO: Connect to MCU
INFO: Concentrator MCU version is V01.00.00
INFO: MCU status: sys_time:50624 temperature:-0.0oC
Note: chip version is 0x10 (v1.0)
INFO: using legacy timestamp
ARB: dual demodulation disabled for all SF
INFO: concentrator EUI: 0x0016c001f11945eb
Closing USB communication interface

2. Try to enter DFU mode

root@myir:~/sx1302_hal/util_chip_id# sudo ../util_boot/boot -d /dev/ttyACM0
INFO: Configuring TTY
INFO: Flushing TTY
INFO: Setting TTY in blocking mode
INFO: Connect to MCU
INFO: Concentrator MCU version is V01.00.00
INFO: MCU status: sys_time:59405 temperature:-0.0oC
INFO: The concentrator is in DFU mode, the MCU can be programmed

3. Flash new firmware

root@myir:~/sx1302_hal/util_chip_id# sudo dfu-util -a 0 -s 0x08000000:leave -t 0 -D ../mcu_bin/rlz_010000_CoreCell_USB.bin
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: No DFU capable USB device available

Questions

  • Is it possible to update the STM32 firmware using USB only?
  • Or is the problem caused by the lack of access to the RESET pin?
  • What is the correct way to update the firmware in this setup?

Thank you in advance.