Merge branch 'master' of github.com:texane/stlink

* 'master' of github.com:texane/stlink:
  Update README
pull/442/head
Jerry Jacobs 2016-06-10 15:12:30 +02:00
commit ef5101c0d4
1 zmienionych plików z 73 dodań i 0 usunięć

73
README
Wyświetl plik

@ -251,6 +251,79 @@ of the flash:
Issue(s): [#356](https://github.com/texane/stlink/issues/356)
### Stlink serial corrupts after one probe
`lsusb -v` before `st-info --probe` with STM32 L1 Discovery board. With stlink firmware `V2.J16.S0`:
```
Bus 001 Device 004: ID 0483:3748 STMicroelectronics ST-LINK/V2
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0483 STMicroelectronics
idProduct 0x3748 ST-LINK/V2
bcdDevice 1.00
iManufacturer 1 STMicroelectronics
iProduct 2 STM32 STLink
iSerial 3 Pÿk^FPgRUB1^C<U+0087
```
`st-info --probe` :
```
./st-info --probe
Found 1 stlink programmers
serial: 503f6b06506752554231033f
openocd: "\x50\x3f\x6b\x06\x50\x67\x52\x55\x42\x31\x03\x3f"
flash: 262144 (pagesize: 256)
sram: 32768
chipid: 0x0427
descr: L1 Medium-Plus-density device
```
`lsusb -v` after probe:
```
Bus 001 Device 004: ID 0483:3748 STMicroelectronics ST-LINK/V2
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0483 STMicroelectronics
idProduct 0x3748 ST-LINK/V2
bcdDevice 1.00
iManufacturer 1 STMicroelectronics
iProduct 2 STM32 STLink
iSerial 3 000000000001
bNumConfigurations 1
```
`st-info --probe` second time, with "corrupt serial".
```
./st-info --probe
Found 1 stlink programmers
serial: 303030303030303030303031
openocd: "\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31"
flash: 262144 (pagesize: 256)
sram: 32768
chipid: 0x0427
descr: L1 Medium-Plus-density device
```
**Solution**
Upgrade firmware from `V2.J16.S0` to `V2.J25.S0`
## Contributing and versioning
* The semantic versioning scheme is used. Read more at [semver.org](http://semver.org)