ilmenator Posted May 5, 2017 Report Posted May 5, 2017 Hi, I am getting a message about a Timeout on port 0x21 quite regularly. I am not sure whether this actually is a problem (I haven't noticed any so far), but it bothers me and I'd like to know what this is. Here is an example of what I get in MIOS Studio: [267727.006] Init DHCP [267728.076] SD Card connected: [267728.796] Init DHCP [267728.797] [MBNG_FILE_C] Event Pool Number of Items: 396 [267728.797] [MBNG_FILE_C] Event Pool Allocation: 15867 of 65536 bytes (24%) [267728.801] [MBNG_FILE_L] DEFAULT.NGL hasn't been changed; reading labels from existing DEFAULT.BIN file. [267728.802] [MBNG_FILE_L] 15 labels found in /DEFAULT.BIN file [267728.803] [MBNG_FILE_S] snapshot #0 not stored in /DEFAULT.NGS yet [267749.392] [MIOS32_MIDI_Receive_Handler] Timeout on port 0x21 [267761.075] [MIOS32_MIDI_Receive_Handler] Timeout on port 0x21 [267768.483] [MIOS32_MIDI_Receive_Handler] Timeout on port 0x21 [267773.455] [FILE] Download of 39392 bytes in progress (0%) [267773.601] [FILE] Download of 39392 bytes in progress (25%) [267773.748] [FILE] Download of 39392 bytes in progress (51%) [267773.894] [FILE] Download of 39392 bytes in progress (77%) [267774.018] [FILE] Download of 39392 bytes finished. [267775.023] [MIOS32_MIDI_Receive_Handler] Timeout on port 0x21 [267800.299] set debug off [267800.301] Debug mode turned off [267801.305] [MIOS32_MIDI_Receive_Handler] Timeout on port 0x21 About two weeks ago, on the very same hardware, this Timeout message wasn't there. Any clues about what's going on here? Which port is 0x21? Quote
Hawkeye Posted May 7, 2017 Report Posted May 7, 2017 Hi, are you by chance using windows for the MIOS Studio file uploads/downloads? In that case, it is probably caused by the Windows USB MIDI implementation, that chopped off a packet or so, MIOS then reports a timeout, aka. that an expected follow-up packet or so is missing. Can you try, if the same problem persists when using Linux or a Mac? If you are not using windows, i am clueless :-). Port 0x21 probably is the hex representation of the USB-MIDI port you are using. Many greets, Peter Quote
ilmenator Posted May 7, 2017 Author Report Posted May 7, 2017 (edited) Thanks Peter, not using Windows, I'm on a Mac (Yosemite v 10.10.5)... It's actually becoming a problem now: I am losing contact with the core, so that for example write operations to the SD card via the MIOS file browser will fail more often than not. This is very annoying as it keeps me from updating my NG configuration file and I can't continue the development of the TSFKAA MBNG setup. Edited May 7, 2017 by ilmenator Quote
Hawkeye Posted May 9, 2017 Report Posted May 9, 2017 Oh, ok! :-/ Does it also happen, if you disconnect all other external boards, in other words using just the core, a USB cable and the Mac? Does it happen on your other STM32F4 cores, too? It might be anything from the SD card going bad, to power stuff, a Mac update or even a bad USB cable :-). Sorry to be of probably little help :-). Many greets, Peter Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.