Jump to content

Timeout on Port 0x21


Recommended Posts

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?

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by ilmenator
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...