u-boot/arch/arm/mach-stm32mp/cmd_stm32prog
Patrick Delaunay d4358a648c stm32mp: stm32prog: add timeout in stm32prog_serial_get_buffer
Handle timeout in stm32prog_serial_get_buffer to sent NACK
to STM32CubeProgrammer when the buffer is not fully received.

This patch avoids to reach the STM32CubeProgrammer timeout and
the associated unrecoverable error.

  Timeout error occurred while waiting for acknowledgment.

  Error: Write Operation fails at packet number 4165 at address 0x1044FF

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-06-18 10:09:41 +02:00
..
cmd_stm32prog.c stm32mp: stm32prog: add FIP header support 2021-04-09 11:53:00 +02:00
Kconfig stm32mp: stm32prog: Add CONFIG_CMD_STM32PROG_SERIAL and _USB 2021-03-11 17:41:17 +01:00
Makefile stm32mp: stm32prog: Add CONFIG_CMD_STM32PROG_SERIAL and _USB 2021-03-11 17:41:17 +01:00
stm32prog.c stm32mp: stm32prog: remove all the header check for UART download 2021-06-18 10:09:41 +02:00
stm32prog.h stm32mp: stm32prog: remove all the header check for UART download 2021-06-18 10:09:41 +02:00
stm32prog_serial.c stm32mp: stm32prog: add timeout in stm32prog_serial_get_buffer 2021-06-18 10:09:41 +02:00
stm32prog_usb.c arm: stm32mp: migrate cmd_stm32prog to log macro 2021-01-13 09:52:58 +01:00