Skip to main content
JCoti
Associate
October 23, 2018
Question

What are the options for loading program code into the STM32L072RB?

  • October 23, 2018
  • 3 replies
  • 890 views

I planned to use the ST-LINK V3SET interface, with the 14 pin target JTAG interface (Table 6 in UM2448 Rev 1), but the JTAG signals/pins/functions are not listed in the datasheets or CubeMX pin configurator. 

Does this part not have the JTAG interface? Are the only options for loading code through serial peripherals, for example USB in DFU mode?

    This topic has been closed for replies.

    3 replies

    waclawek.jan
    Super User
    October 23, 2018

    The default interface to program (and debug) the STM32 is SWD (a 2-signal interface). JTAG (4-signal) is not supported on the Cortex-M0/M0+-based mcus ('F0, 'L0), but that's no drawback, JTAG is rarely used with these chips as it provides no benefit as far as debugging/programming goes, and costs 2 pins more.

    The built-in bootloader allows to use the "serial peripherals", as you've said; this varies from chip to chip, for the painful details refer to AN2606.

    JW

    JCoti
    JCotiAuthor
    Associate
    October 24, 2018

    Thank you! I presume the ST-LINK interface is an appropriate means of connecting a PC to the target SWD pins?

    Tesla DeLorean
    Guru
    October 24, 2018

    Yes, the ST-LINK predominantly uses SWD connectivity in the NUCLEO and DISCO boards.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..