Jump to content

Strange MIDI-Out problem


surei

Recommended Posts

Hi all,

I just put together a small circuit based on the MIDIbox PIC-core that is suspposed to just read in a few pots and put this out via MIDI. In addition, I put a second PIC for the USB out on the same VERO-board, but that's another story.

The PIC was preburned by SmashTV, so I expect it to be fine. In my attempt to solve the problem, I reburned the bootloader into it anyway using the PIC burner (which I had built to burn the 4550 chip for the USB out), but the problem remains.

Here is what happens:

The MIDI in and out do show something, MIDI in works fine, as I can upload MIOS and application using MIDIStudio, when using manual mode (not waiting for requests fromPIC).

MIDI OUT is producing nonsense though. Instead of the normal upload request from the bootloader I get "FF FF FD", and that's it. It does repeat every two seconds as it should, and the string is always identical, so there is no random error here.

Loading an application that is just supposed to send the same message every time a pot is turned, will sen a message every time I turn the pot, but again it is entirely different from what I have programmed it to send. This time the message is changed at random.

I do assume a hardware problem here. Obviously the polarity must be correct, otherwise I would not get anything. I do not have a scope to check the signals.

Any idea?

Many thanks

Reiner

Link to comment
Share on other sites

I'm using the 10MHz for the PIC18F452, which I think is correct, right?

I shtere an easy way to check for the baudrate? Can't use MIOS-Studio for testing, since it cannot read the input.

I also tried reburning the chip with the PIC burner, using the bootloader that comes with the MIOS 1.9f download. The burner claimed success and when plugging it backI do get these garbled messages every two seconds. So where else could the baudrate be set?

THanks for your help

Reiner

Link to comment
Share on other sites

maybe you have the PIC ID set to serial port mode (38400)? http://www.ucapps.de/mios_bootstrap_experts.html

That would certainly be a logical explanation, but how could this be? The PIC was preburned by SmashTV with ID 000 000 000 0001, so everything default except the Device-ID.

Besides, shouldn't the MIDI In fail also in this case? Since I can upload applications and Mos to the PIC with Mios studio (in manual mode), the MIDI In is obviously working.

What's the easiest way to check this setting?

Thanks again

Reiner

Link to comment
Share on other sites

Besides, shouldn't the MIDI In fail also in this case? Since I can upload applications and Mos to the PIC with Mios studio (in manual mode), the MIDI In is obviously working.

What's the easiest way to check this setting?

that's right, the baud rate of input and output are always the same - so taking your "turning pot" experiment into account, I guess the ID is not the problem. If you wanna be sure, you can read out the ID with your burner. Don't ask me how though, it's been a long time since I burned my last PICs ;)

Link to comment
Share on other sites

HalloThorsten,

it is a Saffire LE, and it is working fine with another MIDIbox.

However, I just did the INOUTtest shortening Rx and Tx on the board and it fails miserably. I sent some simple controller messages out using MIDIox, and got backtotal garbage.

So where do I look next?

Thanks so far (now I know it can't be the PIC)

Reiner

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...
×
×
  • Create New...