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.
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.
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
2017-10-04 05: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
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.