• This is great, thanks! I'm not getting that much time for work these few weeks with school holidays, but in a month or so I hope to be able to look into this further. On ARM targets this could be a really neat thing to build in.

    I seem to recall at some point you had some reasonably simple code to make Espruino actually communicate with another device using SWD, although I'm not sure if that did RTT? One very cool addition would be if we had a microcontroller that would effectively act as a USB Serial -> RTT bridge...

  • I seem to recall at some point you had some reasonably simple code to make Espruino actually communicate with another device using SWD, although I'm not sure if that did RTT

    Yes, as I have this working now and can test it on something I'll do the RTT part in that. The Inline C prototype is here https://gist.github.com/fanoush/4a5dcf777503461297cedf7e21e3c6b3 but the performance critical code can be possibly moved to this SWDCON library or maybe another SWDHost library

    if we had a microcontroller that would effectively act as a USB Serial -> RTT bridge

    Yes, or even BLE-> RTT bridge. I guess some very cheap easily programmable Espruino board like the ESP32-C3 mini can act as this. I am using STLINK V2 dongles but these needs to be programmed over SWD so are not that easy to make at home for typical Bangle 2 user.

About

Avatar for fanoush @fanoush started