Jump to content

Recommended Posts

Posted

Is it possible to program a 18f452 just using a pickit 3 without resorting to midi. Ive spent 3 weeks trying to get mios studio and midi ox to communicate with the core with no success. I'm on my third midi interface, second lot of midi cables and built 2 different cores, one with a pic18f452 and the other with a pic18f4620 midi gets sent through the input and I've shorted the two pins together as in the instructions and midi comes out of the board and makes it correctly into my midi monitor so i can send midi notes, controllers and sysex from the laptop through the core and into my midi monitor but still cant get any core to connect to mios studio, just about to bin the whole lot and move on with my life tbh four wasted weeks!

Posted

Hi Bruno, 

Thanks for your reply,

I got a blank PIC18F452 and downloaded the "miosv1-9h" and burned "bootloader_v1_2b_pic18f452.hex" from the "burner" folder inside the "PIC18F452 folder", is this correct so far?

Graham

Posted

Hello,
Yes you're right...
It depends on the circuit you use, is it an MBHP board or you made yourself?
MCLR pin(#1) is connected to programmer during bootloader flashing, After bootloader programing, MCLR pin must be tied to 5V for normal run.
Is it the case?

Best
Bruno

Posted

Hi,

It's a MBHP board, the PIC is removed from the board and put in an adaptor in the PICKIT3 to program, then plugged in the mbhp core board, pin 1 is pulled up to 5v with a 100R resistor, is this correct?

Posted

Yes correct!
If bootloader is programmed correctly, you should connect it to MIOS STUDIO and get a message from the Core which says Core is ready. If not it's a midi issue...
- Check that you did not reverse any pin from J12/J13 to your MIDI DIN connectors...
- Check resistors value around 6N138 optocoupler IC, R5, R6, R7, R8, R11, D1 should be in the right way. Check the optocoupler itself(IC2 6N138), replace it if you can.

Bruno

Posted

Thanks,

I get the message "no response from mios8 or mios3 core" however if I unplug the PIC and power the board, linking the midi rx and tx pins 25 & 26, and connect my midi monitor box to the core midi out, it shows note, mod wheel a controller information when I send it from mios studio, so I'm a bit puzzled.

I've got another core board, so I'm going to build another with totally different components and a new PIC and I'm getting another midi interface, surely this will work,

thanks for your help, it confirms I'm not doing something stupid.

Thanks Graham

Posted
Just now, graham said:

if I unplug the PIC and power the board, linking the midi rx and tx pins 25 & 26, and connect my midi monitor box to the core midi out, it shows note, mod wheel a controller information when I send it from mios studio, so I'm a bit puzzled.

Seems your MIDI I/O and Power are fine, You made a good test for that.

5 minutes ago, graham said:

it confirms I'm not doing something stupid.

Nothing stupid for sure.

Maybe maybe maybe..
During the bootloader programming. You did "Write and Verify", Any message Nothing wrong?
Always In your programmer software, check if the Configuration Bits are well loaded during the hex file load. if Not do it manually.

Posted

Yes, the write and verify were fine, I don't know what you mean by the configuration bits? I just loaded the hex file into the programmer and pressed burn, is there something else I need to do?

Posted

Hi,

Got as far as burning the "software implemented loopback test" this worked, so I concluded that the hardware, pic and midi were all working!

but still got the message that "mios wouldntt connect"

tried to load a hex file and got the message "unable to connect" but it then loaded the file!

I've now loaded hex files and got the core working and the display is working.

no idea why mios studio says its not getting a response and can't connect but still it loads files?

anyway I'm extremely happy now, thanks for all your help and giving me ideas and the will to carry on, I couldn't have done it without you so once again many thanks for your help and time responding to me.

Posted
2 hours ago, graham said:

no idea why mios studio says its not getting a response and can't connect but still it loads files?

Sometimes after a lot of test and try, I loose connection... Then I restart everything and it connects again.
But,  "not connected and still load hex" never happens to me.

 

2 hours ago, graham said:

anyway I'm extremely happy now, thanks for all your help and giving me ideas and the will to carry on, I couldn't have done it without you so once again many thanks for your help and time responding to me.

You're welcome.

Best regards
Bruno

 

 

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