Serial line debugging


#1

@thetechnobear

You wrote: "when axoloti starts, it prints some details to the console when the USB devices attaches... please post this."

Question: I've run into some troubles if the core is running standalone (a solved problem!). Is there a sort of a serial console available we could use for standalone analysis? Maybe helpful for the next controller integration test smile


Troubleshooting USB Midi Controllers - not listed as compatible (yet)
#2

you mean in hardware? if so then its standard STM tools, so you would connect to the SWD pins, and then from there via STLink to a debugger etc.


#3

Mmh.. no that was not was I'm looking for. smile_cat

More a part of the axo core which sends the messages shown in the console to a serial line.

Something like the serial object which sends the console messages to the serial line at: PA2/PA2. So we could grap the console messages when there is no USB device attached in standalonemode. But this must happen before the first patch is loaded. So it must be a part of the core.

It's only an idea..... not important. I often build something like this in my MC applications for the company for diagnostic output.


#4

Im sure it could be done... though I wouldn't want it to be happening by default, since the vast majority of users would not have anything connected to the pins... or might be using them for something different.

all the message go through a central point, so that they can be routed over to the UI( which is of course serial) , so would be I guess simple enough if you wanted change the firmware to do this.
note sure if its something many would want... but perhaps @johannes would like this smile


#5

smiley

My problem is finding time between all my other delayed projects. (we all have this problem). I'll look into the sources sometimes. It's not a major issue. It's more a nice to have. Thanks for the info.

But first I'll spend a little bit time on the patcher to make some improvements in the usabillity if I find time to do some contributions.