How to flash STM32CubeDemo_STM32769I-DISCO_V1.0.1.hex on board with Linux ?
I am trying to flash STM32CubeDemo_STM32769I-DISCO_V1.0.1.hex into the board, under Linux, with st-flash. And it does not work:
$ st-flash --serial /dev/ttyACM0 --format ihex write STM32F769I-Discovery/Demonstration/Binary/STM32CubeDemo_STM32769I-DISCO_V1.0.1.hex
st-flash 1.5.1-38-gc3577b5
2019-09-30T15:13:15 INFO common.c: Loading device parameters....
2019-09-30T15:13:15 INFO common.c: Device connected is: F76xxx device, id 0x10006451
2019-09-30T15:13:15 INFO common.c: SRAM size: 0x80000 bytes (512 KiB), Flash: 0x200000 bytes (2048 KiB) in pages of 2048 bytes
2019-09-30T15:13:16 INFO common.c: Ignoring 108 bytes of 0xff at end of file
2019-09-30T15:13:16 INFO common.c: Attempting to write -2004393772 (0x888760d4) bytes to stm32 address: 134217728 (0x8000000)
2019-09-30T15:13:16 ERROR common.c: addr too high
stlink_fwrite_flash() == -1
What should I do ?
Thanks
Olivier S