2025-04-22 11:45 PM - last edited on 2025-04-23 1:31 AM by Andrew Neil
Respected Team, Following queries from my end,
1. How to configure ISP mode programming in STM32L4? Which pins we can use to enable ISP mode programming in STM32 MCU?
2. Is there possible to use UART based or any other interface based ISP mode programming?
3. Whether we can use SWD pins to use for ISP mode of programming?
4. Which programmer preferably we can use for ISP based programming for STM32L4 in Flash memory or other memories through boatloader modes and its registers available?
2025-04-23 1:38 AM
@ACM wrote:1. How to configure ISP mode programming in STM32L4? Which pins we can use to enable ISP mode programming in STM32 MCU?
3. Whether we can use SWD pins to use for ISP mode of programming?
Yes, Programming and debug is via SWD.
@ACM wrote:2. Is there possible to use UART based or any other interface based ISP mode programming?
Yes.
See the datasheet for the specific chip, and Application Note AN2606, STM32 microcontroller system memory boot mode.
You could also write a custom bootloader; eg,
https://community.st.com/t5/stm32-mcus-embedded-software/official-stm32-bootloader/td-p/591959
https://www.st.com/en/embedded-software/x-cube-iap-usart.html
@ACM wrote:4. Which programmer preferably we can use for ISP based programming for STM32L4 in Flash memory
eg, see STM32CubeProgrammer:
https://www.st.com/en/development-tools/stm32cubeprog.html