On Wed, Jan 22, 2025 at 3:26 PM Matteo Golin <matteo.go...@gmail.com> wrote: > I did not even realize it would be possible to get a shell over the debug > probe; that would be quite a useful feature for bringing up new boards! I > might read into that if I have success with the UART later.
Modern debug probes usually provide JTAG/SWD interface for debug (USB HID), UART console (USB CDC), and filesystem storage for drag-and-drop firmware flashing (USB MSC) over single USB connection. Even "dumb" FT2232 like probes have two channels one for JTAG/SWD and another for UART console :-) Most STLinks provide all 3 functionalities, except the old ones with small MCU that provides onboard debug only. You can even use most STM32 devkits as the debug probe (jumpers configurable). Latest devkits use more powerful MCU for the onboard debug probe than the target MCU few years back. There is a windoze based utility from STM that allows you to upgrade firmware and view / configure feature of various STLink debug probes including those installed on devkits.. it sometimes solves strange problems too :-) To be honest I didn't hear about this LWL (Lightweight Link) before, what a great discovery, nsh directly over JTAG/SWD with no UART!! Thank you Alan!! :-) https://www.youtube.com/watch?v=A4aCwoABGB8 -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info