Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 HAL 库在 STM32F4 中编写 OTA 函数。我已经有一个LTE模块下载升级二进制文件并通过UART转发到STM32F4。问题是我知道我可以使用 HAL_UART_Receive_DMA() 将二进制文件接收到 RAM,并且我知道我可以使用 HAL_FLASH_Program() 将数据从 RAM 写入内部闪存。我真的不想以这种方式实现,因为 STM32F4 的 RAM 很小。有什么办法可以直接从UART写入内部闪存?
谢谢