RAK3172 UART Flashing Documentation

Hello

I have RAK3172 modules already connected to a Microcontroller through UART2 with no external pins to flash using serial.
I am trying to flash new firmware on the chip using the microcontroller UART pins, which needs the controller to understand the flashing sequence needed.
Is there any available documentation what is the protocol and the commands needed. Thanks

Welcome to RAK forum @MohamedDesoky ,

RAK3172 FW update uses Ymodem protocol.

Please have a look on here
RAK3172-Ymodem-PC-20230327.zip (284.7 KB)

This document shows you flash partitioning, how to start ymodem, boot mode at commands, etc.

It also has a sample C code on performing flash update.