Hallo liebe Forenuser.
Ich versuche gerade mit einem Tool, welches ich hier
(http://www.andrewsteadman.com/myprojects/projects/stmdiscovery)
gefunden habe, mein STM32-Discovery zu flashen. Leider bekomme ich dabei
im GDB folgenden Fehler:
1 | (gdb) target remote :1234
|
2 | Remote debugging using :1234
|
3 | 0x05b5db5d in ?? ()
|
4 | (gdb) load main.elf
|
5 | Loading section .text, size 0x350 lma 0x8000000
|
6 | Loading section .data, size 0x18 lma 0x8000350
|
7 | Error finishing flash operation
|
Im Terminal des stmdiscovery Tools erscheint:
1 | *** stlink_open [/dev/stlink] ***
|
2 | Starting GDB Debug Server
|
3 |
|
4 | Listening at *:1234...
|
5 | GDB connected.
|
6 | Chip ID is 10016420.
|
7 | Device connected: Medium-density value line device
|
8 | Device parameters: SRAM: 0x2000 bytes, Flash: up to 0x20000 bytes in pages of 0x400 bytes
|
9 | Flash size is 128 KiB.
|
10 | warning: data block 08000350 -> 03ea truncated to 00b0
|
11 | (this is not an error, just a GDB glitch)
|
12 | write error, count == 32
|
13 | run_flash_loader(0x8000000) == -1
|
Kann Jemand damit etwas anfangen?
Danke für eure Hilfe,
MfG Befedo