Hallo Uwe,
leider alle Discovery Boards die ich habe. V1 und V2.
STM32, STM32L und STM32F4.
Dein angegebenes git funktioniert!
1 | # ./st-util -p 1234
|
2 | 2011-12-22T22:12:39 INFO src/stlink-common.c: Loading device parameters....
|
3 | 2011-12-22T22:12:39 INFO src/stlink-common.c: Device connected is: F4 device, id 0x413
|
4 | 2011-12-22T22:12:39 INFO src/stlink-common.c: SRAM size: 0x30000 bytes (192 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 16384 bytes
|
5 | Chip ID is 00000413, Core ID is 2ba01477.
|
6 | KARL - should read back as 0x03, not 60 02 00 00
|
7 | init watchpoints
|
8 | Listening at *:1234...
|
und auch
1 | # ./st-util -p 1234
|
2 | 2011-12-22T22:16:37 INFO src/stlink-common.c: Loading device parameters....
|
3 | 2011-12-22T22:16:37 INFO src/stlink-common.c: Device connected is: L1 Med-density device, id 0x10186416
|
4 | 2011-12-22T22:16:37 INFO src/stlink-common.c: SRAM size: 0x4000 bytes (16 KiB), Flash: 0x20000 bytes (128 KiB) in pages of 256 bytes
|
5 | Chip ID is 10186416, Core ID is 2ba01477.
|
6 | KARL - should read back as 0x03, not 60 02 00 00
|
7 | init watchpoints
|
8 | Listening at *:1234...
|
Ich musste aber feststellen, dass bei dem zweiten Board manchmal Fehler
in der Chip ID auftreten. Beim F4 Board mit V2 treten die Fehler nicht
auf.
Vielen Dank für die Antwort, es scheint also nicht an meiner Hardware zu
liegen.