Skip to main content
Visitor II
January 12, 2024
Question

Does the STM32 series have a document similar to AN4035 regarding flash programming through JTAG?

  • January 12, 2024
  • 2 replies
  • 902 views

Does the STM32 series have a document similar to AN4035 regarding flash programming through JTAG?

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    January 13, 2024

    Dear @yigandaheiqiang,

    Welcome in the STCommunity .  We do not have a public similar document for STM32 MCU and Flash programming as we work closely with all partners and third parties to provide seamless support of the STM32 programming tools either high end or entry level and cost effective including Our ST-Link probe and Tools . For complete offer you can go here : https://www.st.com/en/development-tools/hardware-debugger-and-programmer-tools-for-stm32.html

    Today, ARM Cortex based MCU/MPU are industry standard either using legacy JTAG or ARM SWD for debug and Programming.

    We do have such documents internally and we share it with our Programming tools partners to provide seamless and easy experience to our customers to ease their development cycle .

     


    Cheers ,

    STOne-32

    Graduate II
    January 13, 2024

    You do not need such a document. As STM32 has a Cortex-M core, talking to the core via JTAG/SWD is explained in the ARM debug specification. e.g. debug_interface_v6_0_architecture_specification_IHI0074B.pdf. Recent highe end STM32 reference manual also have a good chapter about the debug unit. Flash programming is also explained in the reference manual, so you have all pieces together. How this can be done programmatical, you can see implemented in some open source code, like the bl*ck m*g*c debug probe, OpenOCD or PyOCD.