Does STM32L072 support USB programming/debugging?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-03 10:37 PM
Hello All,
Is it possible that STM32L072 can be programmed/debugged through USB? It would be nice if somebody could share reference to the possible ways the micro-controller can be programmed/debugged.
Best Regards,
Sarang
#stm32l072Solved! Go to Solution.
- Labels:
-
STM32L0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-04 10:19 AM
Debugging is effected by an external pod, not sure where the confusion is here. The NUCLEO/DISCO implementations include a secondary chip to provide the ST-LINK SWD connections.
One can program the device cheaply/effectively via a USART connection. You can also use serial as a highly effective means of providing debug and telemetry data.
Any debug via USB would need to be implemented by you, ie create a USB CDC or HID to exfiltrate the log data.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-03 10:41 PM
Hello
Suryawanshi.Sarang
‌,You can program STM32L072 using USB DFU mode with embedded bootloader, however directly debug option is not supported. In this case you need external programmer/debugger.
You can find more about DFU programming via USB here:
Best regards,
Tilen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-04 5:39 AM
Hello Tilen,
Thank you for the prompt reply.
I understand that USB debugging(step debug) is not supported by STM32L072.
However I would like to confirm if I could get debug log through USB.
Best Regards,
Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-04 10:19 AM
Debugging is effected by an external pod, not sure where the confusion is here. The NUCLEO/DISCO implementations include a secondary chip to provide the ST-LINK SWD connections.
One can program the device cheaply/effectively via a USART connection. You can also use serial as a highly effective means of providing debug and telemetry data.
Any debug via USB would need to be implemented by you, ie create a USB CDC or HID to exfiltrate the log data.
Up vote any posts that you find helpful, it shows what's working..
