ISP Mode Programming in STM32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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?
- Labels:
-
Bootloader
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
- For SWD, Anything which supports ARM Cortex-M - ST-Link, J-Link, etc;
- For a bootloader, anything which supports your chosen bootloader
eg, see STM32CubeProgrammer:
https://www.st.com/en/development-tools/stm32cubeprog.html
A complex system designed from scratch never works and cannot be patched up to make it work.
