EsotericLabs Posted April 20, 2013 Report Posted April 20, 2013 Hello midbox friends I have something strange (i think) with my midio128 based application..I added a code module, with its own Init() and several MIOS32_MIDI_SendDebugMessage() in the initialization code. Strangely, these are fired into MIOS Studio when the code starts after upload. They do not, however, appear when I power cycle the core (switch off and on). I then added debug messages to the App_Init() of midio128 itself with the same effect. Isn't that strange? I would expect App_Init to run whenever the program starts? Or is it a timing issue, that only after some running time, messages are sent to MIOS Studio? I'd be grateful for any clues, Thank you.
TK. Posted April 20, 2013 Report Posted April 20, 2013 Hi, APP_Init() is always called after power-on, but the USB connection could be delayed (depends on the operating system you are using). Therefore it can happen, that debug messages, which are print directly after power-on, get lost. Best Regards, Thorsten.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now