In my previous post, i've remarked that Arduino_STM32-master use tools in .../arduino-1.8.13/hardware/Arduino_STM32-master/tools/linux.
but these tools don't work on a Linux 64 PC. Good tools are in .../arduino-1.8.13/hardware/Arduino_STM32-master/tools/linux64
So i've disabled the first directorate by renaming .../arduino-1.8.13/hardware/Arduino_STM32-master/tools/linux_old
and rename .../arduino-1.8.13/hardware/Arduino_STM32-master/tools/linux64 in .../arduino-1.8.13/hardware/Arduino_STM32-master/tools/linux
Now, STLink key and f407VG board are recognized, and toolchain works :
Code: Select all
Le croquis utilise 18040 octets (3%) de l'espace de stockage de programmes. Le maximum est de 514288 octets.
Les variables globales utilisent 5544 octets (4%) de mémoire dynamique, ce qui laisse 125528 octets pour les variables locales. Le maximum est de 131072 octets.
USB Status [unknown]
2021-06-14T16:53:56 INFO src/common.c: Loading device parameters....
2021-06-14T16:53:56 INFO src/common.c: Device connected is: F4 device, id 0x10076413
2021-06-14T16:53:56 INFO src/common.c: SRAM size: 0x30000 bytes (192 KiB), Flash: 0x80000 bytes (512 KiB) in pages of 16384 bytes
2021-06-14T16:53:56 INFO src/common.c: Attempting to write 20664 (0x50b8) bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x08000000 erasedEraseFlash - Sector:0x1 Size:0x4000 2021-06-14T16:53:57 INFO src/common.c: Finished erasing 2 pages of 16384 (0x4000) bytes
2021-06-14T16:53:57 INFO src/common.c: Starting Flash write for F2/F4/L4
2021-06-14T16:53:57 INFO src/common.c: Successfully loaded flash loader in sram
Flash page at addr: 0x08004000 erased2021-06-14T16:53:57 INFO src/common.c: Starting verification of write complete
2021-06-14T16:53:58 INFO src/common.c: Flash written and verified! jolly good!
enabling 32-bit flash writes
size: 20664
USB Status [unknown]
Special thanks to ag123 who hardly help me and light me on STM32 tool chain, and fredbox for answers and information on STM32Cube.