Please help - Can't upload MIOS in anyway

Hi people, how are you? My name’s Julian, and i’m a newbie from Argentina. I’ll start by telling you all about my problem

I made my own pcbs, according to the files I downloaded. I soldered all the stuff, burned the bootloader to my pic 18F452 with the pic burner (design also listed in main site). Till this point, we’re cool. Now, the problem comes when i try to upload mios with miostudio. I plug a power supply, nice, strong and filtered. Got my 9V, got my lcd, one line black and the other blank. And when i start checking midi in and out pages, i realized that it keeps sending and receiving upload requests every 2 secs. This, i think it should stop at the time mios starts uploading, but it doesn’t, making the upload to cancel on the 16th message! I tried every single thing listed on the forum, and every test, midi, core, everything, but it keeps working this way.

I have some expertise in electronics, that is soldering, making pcbs, measuring voltages and all the stuff, so i managed to check the pcb, compare it with the circuit, i also checked for solderings, and i also went through all the board, and measured every single track for shorts.

I dont know where to head to from here, so please, i need some help. I would really really appreciate it.

Best regards for all

AFAIK your problems could mean one or more of the following:

Try uploading MIOS w/o “smart mode” and see if it’ll work (it won’t cancel the upload even though there’s upload requests)

Hi nILS Podewski. I did check both the optocoupler and the tracks, several times, 4 to be exact. Also bought another pic, and programmed with bootloader, still happens the same. I also uploaded w/o smart mode, and happens exactly the same!

Thanks, regards

Hi nILS Podewski. I did check both the optocoupler and the tracks, several times, 4 to be exact. Also bought another pic, and programmed with bootloader, still happens the same. I also uploaded w/o smart mode, and happens exactly the same!

Thanks, regards

It cancels the upload, whether i use smart mode or not, on the 16th msg!

Hi Julian,

Well done for getting so far.

The first test I would do is the documented test with just an LED and a series resistor. This will certainly show if there is a polarity issue (DIN socket connections) or if there is actually a MIDI signal getting to the board.

What is the exact Opto Coupler you have used ?

Good Luck

Dave

hi dave, i’ll check the led thing, though i did something similar. I’ll tell you later how it went. I’m using 6N138.

Thanks a lot!

You could just unplug the MIDI out of the Core - this way, no more upload requests.

Ok, nils. You say that i should only plug the core’s midi in, and send mios w/o smart mode?

Ok, nils. You say that i should only plug the core’s midi in, and send mios w/o smart mode?

Tried it, nothing happened. Still the same…

You might wanna join the chat - that makes it a lot easier :smiley:

Erm, how can you have NO MIDI OUT from the Core connected and still get upload requests? ???

i will join the chat. I meant miostudio reported te upload, but when i reset the core, nothing new happened

*IF* the upload succeeded the PIC will be reset automatically.

As SmashTV just kindly pointed out, trying to upload the wrong MIOS version will give you the same error. Hence the question: What .hex file are you trying to upload?

I use mios_v1_9f_pic18f452.hex, which i think it’s the last version. The thing is, when the upload starts, shouldn’t the “upload request every 2 secs” stop?

Yes, it should, IF the upload makes it to the Core.

Do your PICs have different device IDs? You have to select the correct one or the upload never reaches the PIC.

But i have read around that if i dont change it, it will always be 0, right? As i’m a newbie, i tried to stay away from that stuff, cuz i’m starting with a basic kit, and i won’t use more than one core.

How long after switch on are you sendingthe code?

Seem to recall having to send the sysex very quickly after the power is applied to the core.

But it has been a while and things sure change fast around here!

Hope that helps?

Regards

Sparx

But if i use a basic config, it should always be 0, right? I came to the conclussion that my core is not receiving midi data. I tried to upload mios via sysex, using hex2syx and sysexbox, and it happens exactly tha same. going to check the rx path again.

Thanks a lot for your help, i’ll let you know how it worked later

Sparx: He only has the bootstap on the PIC - this gives him an upload request every 2 seconds, so it doesn’t matter when you start the upload.

Julian: Try setting the deviceID in MIOS Studio to other values. If that doesn’t help, you MIDI In is most likely not working at all.

Ok, tried to upload via sysexbox, and it seemed nothing changed. I try the to upload via miostudio, and the message has changed. it’s now Received unexpected MIOS SysEx message = 00007E400001F7  expected = 00007E4001.

Have i given a step forward or backwards?