

1. Function description

    1. This routine shows the application of Master Boot layer in serial port upgrade.  
    2. Realize serial port receiving data and rewriting the application function in Bank1.

2. Operating environment
    Software development environment: KEIL MDK-ARM V5.30.0.0
    Hardware environment: Developed based on the development board N32WB031_STB

3. Instructions

    System configuration;
        1. Clock source: HSI=64M, AHB=64M, APB1=32M, APB2=64M
        6. Data: USART1 PA4(TX) and PA5(RX), baud rate: 115200, 8 data bits, 1 stop bit, no parity bit, no hardware flow control

    usage method:
        Refer to Chapter 7.1 of the Firmware Upgrade User's Guide

4. Precautions
    Since the program will enter the sleep mode, the SWD will not be accessible. Press the RESET button to execute the program burning step within one second.
