2018-08-17 02:31 AM
Hello,
I have used the STM32CubeProgrammer for update the firmware with the bootloader of the ST from USART1. It's works fine but now I have a problem. The MCU is the STM32L471.
In my BoardI have several devices connect to peripherals of the MCU, SPI1, I2C1, USART2,USART3, UART5. The problem is with the USART2:
Regarding all this, I have a few questions:
I searched in ST documentation but I haven`t found any register for configure the bootloader.
Best Regards
2018-09-20 11:31 PM
Hello Javier,
Please refer to application note AN2606.
If Zigbee sends some data or pull USART line low (non-idle state), then bootloader will start listening on USART2 and will disable USART1.
You have to guarantee that interfaces you don't wish to use for bootloader are in stable and "idle" positions.
2018-09-21 12:40 AM
The loader is going to be intolerant of signals on other interfaces it is monitoring. The documentation should call out these pins. It is not receiving the 0x7F as much as it is timing the pattern.
Write your own loader in one of the first flash blocks and have it function however you want it to.