STM32F4 write internal flash through UART

581 views Asked by At

I want to code OTA function in STM32F4 using HAL library. I already have a LTE module download upgrade binary file and forward to STM32F4 through UART. The problem is that I know I can receive binary file to RAM by using HAL_UART_Receive_DMA() and I know I can use HAL_FLASH_Program() to write data from RAM to internal flash. I do not really want to implement in this way since the RAM of STM32F4 is small. Is there any way can write directly from UART to internal flash?

Thanks

0

There are 0 answers