stlink info unknown device
I'm using the board SPIN3202. When but I can't flash. When acces to stlink info it displays
Found 1 stlink programmers
version: V2J39S27
serial: 0670FF545551677867033851
flash: 0 (pagesize: 0)
sram: 0
chipid: 0x0000
descr: unknown device
And when I wan't to connect to the board
st-flash read dummy.bin 0 0xFFFF
st-flash 1.7.0
2022-11-30T13:48:06 ERROR common.c: Can not connect to target. Please use 'connect under reset' and try again
Failed to connect to target
So I tried to connect to it using connect under reset it displays
st-flash --connect-under-reset
invalid command line
command line: ./st-flash [--debug] [--reset] [--connect-under-reset] [--hot-plug] [--opt] [--serial <serial>] [--format <format>] [--flash=<fsize>] [--freq=<KHz>] [--area=<area>] {read|write} [path] [addr] [size]
command line: ./st-flash [--debug] [--connect-under-reset] [--hot-plug] [--freq=<KHz>] [--serial <serial>] erase
command line: ./st-flash [--debug] [--freq=<KHz>] [--serial <serial>] reset
<addr>, <serial> and <size>: Use hex format.
<fsize>: Use decimal, octal or hex (prefix 0xXXX) format, optionally followed by k=KB, or m=MB (eg. --flash=128k)
<format>: Can be 'binary' (default) or 'ihex', although <addr> must be specified for binary format only.
<area>: Can be 'main' (default), 'system', 'otp', 'optcr', 'optcr1', 'option' or 'option_boot_add'
print tool version info: ./st-flash [--version]
example read option byte: ./st-flash --area=option read [path] [size]
example write option byte: ./st-flash --area=option write 0xXXXXXXXX
On selected targets:
example read boot_add option byte: ./st-flash --area=option_boot_add read
example write boot_add option byte: ./st-flash --area=option_boot_add write 0xXXXXXXXX
example read option control register byte: ./st-flash --area=optcr read
example write option control register1 byte: ./st-flash --area=optcr write 0xXXXXXXXX
example read option control register1 byte: ./st-flash --area=optcr1 read
example write option control register1 byte: ./st-flash --area=optcr1 write 0xXXXXXXXX
I used STM32Cube Programmer however can't connect to it and it says.
Can anyone help me, please?
