cancel
Showing results for 
Search instead for 
Did you mean: 

stm32cubeprogrammer can not download

Jlim.1
Associate II

I am going to download the ble stack to stm32wb55 using the program. On P-NUCLEO-WB-55, it was downloaded properly, but I tried the same thing on my custom board, but it failed.

This is the log we did on NUCLEO-WB55 below.

Deleting previous wireless stack...
C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe -c port=usb1 -fwdelete
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.1.0                  
      -------------------------------------------------------------------
 
C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe exited with code 0
 
 
USB speed   : Full Speed (12MBit/s)
Manuf. ID   : STMicroelectronics
Product ID  : DFU in FS Mode
SN          : 206B389E3036
FW version  : 0x011a
Device ID   : 0x0495
Error: Device not supported
 
RSS state is RSS_ERROR
 
RSS status is RSS_NOT_RUNNING
 
RSS state is RSS_IDLE
 
RSS status is RSS_NO_ERROR
Deleting firmware ...
Firmware delete finished
fwdelete command execution finished
 
 
Checking FUS binary version...
C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.1.0                  
      -------------------------------------------------------------------
 
 
C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe exited with code 1
 
USB speed   : Full Speed (12MBit/s)
Manuf. ID   : STMicroelectronics
Product ID  : 
SN          : 
FW version  : 0x011a
Device ID   : unknown
Error: unknown or unsupported device (DevID = 0x0000)
Error: failed to read the requested memory content
 
Checking FUS binary version...
C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.1.0                  
      -------------------------------------------------------------------
 
 
 
C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe exited with code 0
USB speed   : Full Speed (12MBit/s)
Manuf. ID   : STMicroelectronics
Product ID  : DFU in FS Mode
SN          : 206B389E3036
FW version  : 0x011a
Device ID   : 0x0495
Error: Device not supported
0x20030030 : 01010000
 
 
 
Programming wireless stack...
C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade "C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\stacks\stm32wb5x_BLE_Stack_full_fw.bin" 0x080cb000 firstinstall=1
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.1.0                  
      -------------------------------------------------------------------
 
 
 
USB speed   : Full Speed (12MBit/s)
Manuf. ID   : STMicroelectronics
Product ID  : DFU in FS Mode
SN          : 206B389E3036
FW version  : 0x011a
Device ID   : 0x0495
Error: Device not supported
Download firmware image at address 0x80cb000 ...
 
 
Memory Programming ...
Opening and parsing file: stm32wb5x_BLE_Stack_full_fw.bin
  File          : stm32wb5x_BLE_Stack_full_fw.bin
  Size          : 164816 Bytes
  Address       : 0x080CB000 
 
 
Erasing memory corresponding to segment 0:
Download in Progress:
굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇 0%
? 2%? 4%? 6%? 8%?10%?12%?14%?16%?18%?20%?22%?24%?26%?28%?30%?32%?34%?36%?38%?40%?42%?44%?46%?48%?50%?52%?54%?56%?58%?60%?62%?64%?66%?68%?70%?72%?74%?76%?78%?80%?82%?84%?86%?88%?90%?92%?94%?96%?98%?100%
 
C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe exited with code 0
File download complete
Time elapsed during download operation: 00:00:02.386
 
RSS state is RSS_IDLE
 
RSS status is RSS_NO_ERROR
 
Firmware Upgrade process started ...
 
Updating firmware ...
Waiting for firmware upgrade end
 
RSS state is WIRELESS_STACK_UPGRADE_ONGOING
 
RSS status is RSS_NO_ERROR
 
RSS state is WIRELESS_STACK_UPGRADE_ONGOING
 
RSS status is RSS_NO_ERROR
 
RSS state is RSS_ERROR
 
RSS status is RSS_NOT_RUNNING
Firmware Upgrade Success

My board is stm32wb55ce and the download log is below.

C:\Users\cupid>C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe -c port=usb1 -fwdelete
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.1.0
      -------------------------------------------------------------------
 
 
 
USB speed   : Full Speed (12MBit/s)
Manuf. ID   : STMicroelectronics
Product ID  : DFU in FS Mode
SN          : 205D317F3853
FW version  : 0x011a
Device ID   : 0x0495
Error: Device not supported
 
RSS state is RSS_SERVICE_ONGOING
 
RSS status is RSS_IMAGE_NOT_FOUND
 
RSS state is RSS_IDLE
 
RSS status is RSS_NO_ERROR
Deleting firmware ...
Firmware delete finished
fwdelete command execution finished
 
 
C:\Users\cupid>C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.1.0
      -------------------------------------------------------------------
 
 
 
USB speed   : Full Speed (12MBit/s)
Manuf. ID   :
Product ID  :
SN          :
FW version  : 0x011a
Device ID   : unknown
Error: unknown or unsupported device (DevID = 0x0000)
Error: failed to read the requested memory content
 
C:\Users\cupid>C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.1.0
      -------------------------------------------------------------------
 
 
 
USB speed   : Full Speed (12MBit/s)
Manuf. ID   :
Product ID  :
SN          :
FW version  : 0x011a
Device ID   : unknown
Error: unknown or unsupported device (DevID = 0x0000)
Error: failed to read the requested memory content
 
C:\Users\cupid>C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.1.0
      -------------------------------------------------------------------
 
 
 
USB speed   : Full Speed (12MBit/s)
Manuf. ID   : STMicroelectronics
Product ID  : DFU in FS Mode
SN          : 205D317F3853
FW version  : 0x011a
Device ID   : 0x0495
Error: Device not supported
0x20030030 : 01010100
 
 
 
C:\Users\cupid>C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\STM32CubeProgrammer\STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade "C:\Users\cupid\AppData\Local\Temp\STM32WBUpdater\stacks\stm32wb5x_BLE_Stack_full_fw.bin" 0x080cb000 firstinstall=1
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.1.0
      -------------------------------------------------------------------
 
 
 
USB speed   : Full Speed (12MBit/s)
Manuf. ID   : STMicroelectronics
Product ID  : DFU in FS Mode
SN          : 205D317F3853
FW version  : 0x011a
Device ID   : 0x0495
Error: Device not supported
Download firmware image at address 0x80cb000 ...
 
 
Memory Programming ...
Opening and parsing file: stm32wb5x_BLE_Stack_full_fw.bin
  File          : stm32wb5x_BLE_Stack_full_fw.bin
  Size          : 164816 Bytes
  Address       : 0x080CB000
 
 
Erasing memory corresponding to segment 0:
Download in Progress:
굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇굇?100%%
 
File download complete
Time elapsed during download operation: 00:00:00.461
 
RSS state is RSS_SERVICE_ONGOING
 
RSS status is RSS_IMAGE_NOT_FOUND
 
RSS state is RSS_IDLE
 
RSS status is RSS_NO_ERROR
 
Firmware Upgrade process started ...
 
Updating firmware ...
Waiting for firmware upgrade end
 
RSS state is WIRELESS_STACK_UPGRADE_ONGOING
 
RSS status is RSS_NO_ERROR
 
RSS state is WIRELESS_STACK_UPGRADE_ONGOING
 
RSS status is RSS_IMAGE_NOT_FOUND
Warning: Firmware upgrade Error!Retrying...
Retry -- 0
 
RSS state is RSS_IDLE
 
RSS status is RSS_NO_ERROR
 
Old Firmware delete ...
 
Deleting firmware ...
Firmware delete finished

1 REPLY 1

That's unfortunate, but I don't think anyone here has any insight into your design.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..