This is a similar issue reported by #1241 but for a different target.
Commandline output:
$ st-flash --format ihex write build/FreeRTOS_Timers.hex.hex
st-flash 1.7.0
2022-09-29T14:32:12 INFO usb.c: Unable to match requested speed 1800 kHz, using 1600 kHz
2022-09-29T14:32:12 WARN common.c: unknown chip id! 0x497
Failed to connect to target
Commandline output:
$ st-info --probe
Found 1 stlink programmers
version: V3J10
serial: 003000175553500920393256
flash: 0 (pagesize: 0)
sram: 0
chipid: 0x0497
With the STM32CubeProgrammer the board can be programmed without problems:
Commandline output:
$ ~/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer.sh -c port=SWD mode=UR -w build/FreeRTOS_Timers.hex -v -g
-------------------------------------------------------------------
STM32CubeProgrammer v2.11.0
-------------------------------------------------------------------
ST-LINK SN : 003000175553500920393256
ST-LINK FW : V3J10M3
Board : NUCLEO-WL55JC
Voltage : 3,26V
SWD freq : 12000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x497
Revision ID : Rev Z
Device name : STM32WLxx
Flash size : 256 KBytes
Device type : MCU
Device CPU : Cortex-M4
BL Version : 0xc3
Memory Programming ...
Opening and parsing file: FreeRTOS_Timers.hex
File : FreeRTOS_Timers.hex
Size : 13,34 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 6]
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:02.512
Verifying ...
Read progress:
[==================================================] 100%
Download verified successfully
RUNNING Program ...
Address: : 0x8000000
Application is running, Please Hold on...
Start operation achieved successfully
Expected/description:
The expected result is that the st-flash could program the board.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4