Jump to content

Uploading MIOS/apps without MIDI or optocoupler


rasteri
 Share

Recommended Posts

Hi,

I was wondering if it's possible to upload MIOS and an app (in my case, a custom written C app) to the PIC without using MIDI in? I ask because I have no spare optocouplers and I can't get to any electronics shops in the next week or so. My PIC programmer works fine, I've burned the bootloader and I am getting upload requests from the MIDI out.

Alternatively, is there any quick way of interfacing the PIC to the midi port without using an optocoupler? It's not permenant, just to get one program loaded....

Link to comment
Share on other sites

The whole point of the optocoupler in the MIDI spec is to prevent ground loops.  You could probably bypass it in most circumstances, but you theoretically risk blowing up your PIC (or the MIDI OUT of the sending unit).

I HAVE NEVER TRIED THIS, AND I DOUBT I EVER WILL.

If you are in North America, phone Digi-Key (1-800-DIGI-KEY) and tell them you need a 6N138QT-ND.  Including shipping and handling, it will cost you about the same amount as a new PIC, but you will have an opto in your hands tomorrow morning at 9:30.

Link to comment
Share on other sites

I'm in the UK. Guess I'll just have to order one from Maplin.

Burning MIOS and an app in one hex file using a PIC programmer would be useful though - that means smaller cases, fewer components, faster programming time etc.

Wouldn't it be possible to patch the mios hex file from locations 00003000 onwards with the hex from the application? Or does MIOS/the bootloader do some more complex stuff?

Link to comment
Share on other sites

that means smaller cases, fewer components, faster programming time etc.

* smaller cases: build your own core module on veroboard or etch it/have it etched, go SMT

* fewer components: just don't stuff it

* faster programming: Removing the PIC from a finished and closed case, sticking it into the burner, burning it, putting it back on the board and closing a case is faster than the 3-click MIDI version? Remember that you'd have to do that for every software update...

It might be good for your project, but you've got to keep in mind that a lot of people are using the boards for various projects. Most of them don't make any sense without a MIDI In. And I honestly doubt that it's really good for your project - leaving out this $0,10 part's got you waiting for a couple of days now ;-)

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...