What are the options for loading program code into the STM32L072RB?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-23 2:55 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-23 3:48 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-23 5:51 PM
Thank you! I presume the ST-LINK interface is an appropriate means of connecting a PC to the target SWD pins?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-23 7:12 PM
Yes, the ST-LINK predominantly uses SWD connectivity in the NUCLEO and DISCO boards.
Up vote any posts that you find helpful, it shows what's working..
