AC Posted August 18, 2009 Report Share Posted August 18, 2009 Hi!I have SmartProg2 and PIC18F4620 was programed with bootloader_v1_2b_pic18f4620.hex.I did some search but was not possible to fix upload error.Can someone point me to the rigth direction?MIOS.pdfMIOS.pdf Quote Link to comment Share on other sites More sharing options...
spongebob Posted August 18, 2009 Report Share Posted August 18, 2009 disconnect roland midi in and roland midi out Quote Link to comment Share on other sites More sharing options...
AC Posted August 18, 2009 Author Report Share Posted August 18, 2009 Thanks for too fast answer but same problem here.I have DSO 100mHz, pin 25 TX and pin 26 RX are OK Quote Link to comment Share on other sites More sharing options...
lylehaze Posted August 18, 2009 Report Share Posted August 18, 2009 Just a guess, try increasing the delay between MIDI packets.Good Luck,LyleHaze Quote Link to comment Share on other sites More sharing options...
AC Posted August 18, 2009 Author Report Share Posted August 18, 2009 Manual mode, Delay 500, but LCD is dead.Sending block #1 00000400-000004FFSending block #2 00000500-000005FFSending block #3 00000600-000006FFSending block #4 00000700-000007FFSending block #5 00000800-000008FFSending block #6 00000900-000009FFSending block #7 00000A00-00000AFFSending block #8 00000B00-00000BFFSending block #9 00000C00-00000CFFSending block #10 00000D00-00000DFFSending block #11 00000E00-00000EFFSending block #12 00000F00-00000FFFSending block #13 00001000-000010FFSending block #14 00001100-000011FFSending block #15 00001200-000012FFSending block #16 00001300-000013FFSending block #17 00001400-000014FFSending block #18 00001500-000015FFSending block #19 00001600-000016FFSending block #20 00001700-000017FFSending block #21 00001800-000018FFSending block #22 00001900-000019FFSending block #23 00001A00-00001AFFSending block #24 00001B00-00001BFFSending block #25 00001C00-00001CFFSending block #26 00001D00-00001DFFSending block #27 00001E00-00001EFFSending block #28 00001F00-00001FFFSending block #29 00002000-000020FFSending block #30 00002100-000021FFSending block #31 00002200-000022FFSending block #32 00002300-000023FFSending block #33 00002400-000024FFSending block #34 00002500-000025FFSending block #35 00002600-000026FFSending block #36 00002700-000027FFSending block #37 00002800-000028FFSending block #38 00002900-000029FFSending block #39 00002A00-00002AFFSending block #40 00002B00-00002BFFSending block #41 00002C00-00002CFFSending block #42 00002D00-00002DFFSending block #43 00002E00-00002EFFSending block #44 00002F00-00002FFFSending block #45 00003000-000030FFSending block #46 00003100-000031FFSending block #47 00003200-000032FFSending block #48 00003300-000033FFSending block #49 00007C00-00007CFFSending block #50 00007D00-00007DFFSending block #51 00007E00-00007EFFSending block #52 00007F00-00007FFFUpload of 13312 bytes completed after 26.0s (0.5 kb/s) Quote Link to comment Share on other sites More sharing options...
mr_DK Posted August 18, 2009 Report Share Posted August 18, 2009 Hello,You should try to select "Wait for upload request before starting upload" In Mios Studio in the sending panel. I always work this way. You switch off the MB core module, then you start Mios Studio, Start the Upload. Then MiosStudio says something like "Waiting for upload request". Then you power up your Midibox, then the transmission will start.Hope this helps?Grtz Quote Link to comment Share on other sites More sharing options...
AC Posted August 19, 2009 Author Report Share Posted August 19, 2009 I fixed the problem "Received unexpected MIOS SysEx message = 00007E407001F7 expected = 00007E4002"Was very easy the solution, "Upload Option" "Device Option" change to 70 for 18F4620Midi input/output comunication is ok, but no sound, any ideia? LCD is dead, this is an old one, will buy new LCD.Thank for all inputs. Quote Link to comment Share on other sites More sharing options...
AC Posted August 19, 2009 Author Report Share Posted August 19, 2009 Fixed? this is not true...Started againErased all PIC18F4620LCD is new one.Uploaded mios(look pdf)Everything looks ok but, display is dead and no sound.MIDI IN receiving DATA but MIDI out there is no DATA, PIC clock is 10mHz.What is the magic way to work?Upload.pdfUpload.pdf Quote Link to comment Share on other sites More sharing options...
AC Posted August 19, 2009 Author Report Share Posted August 19, 2009 I did software implemented loopback test with MIDI OX, everything OK.I´ll try this tomorowTEST SW2: (only relevant if you've programmed the bootloader with your own PIC programmer): some PIC programmers are not able to modify the ID field, which specifies the MIOS device ID, the LCD type and especially the to-COM option (alternative baudrate). This wouldn't be a problem so long the ID is completely zero (common case), but unfortunately the ID field is FFFFFFFFFFFFFFFF by default. This program fixes the ID field, details are described in the main.asm header MIDI-OX.pdfMIDI-OX.pdf Quote Link to comment Share on other sites More sharing options...
avogra Posted August 19, 2009 Report Share Posted August 19, 2009 can you give details, what "dead" means? is it doing absolutely nothing? not even backlight, shadows of where the characters should be? just to make sure: you tried changing contrast and backlight? first thing would be then to check your cables i would say. have you taken care of the special order of the pins as described at ucapps AND checked, if your display pinout matches?just some thoughts of another newb, but maybe it helps :)good luck,Alex Quote Link to comment Share on other sites More sharing options...
AC Posted August 20, 2009 Author Report Share Posted August 20, 2009 Now LCD is READY not DEAD.I´ll try to explaim step by step all procedures for newbie like me.Please look PDF for more clear undestanding, english is not my native language and some time I have some difficulties to explaim what I´m thinking.1-I made my mbhp_core_v3b using an universal PCB this is very easy to build and better them protoboard, anyone can do this without buyng an industrial PCB.2-For people like me that have a programmer like SmartProg2, you must check "Ignore Microchip Recommendation to let most Significant Niblle of each ID to be Fh" this is the secret for not have anymore "Received Unxpected MIOS SysEx message"3-Take care with MIDI IN/OUT, "Rear View" means exatily "Rear View" see this in PDF atached, that show MIDI Front View.But here I have no "FLOWERS" there´s no DATA outgoing pin 25 TX, PIC is not dead, I did MIDI OX tests and before upload mios was receiving DATA on MIDI MONITOR INWell, any suggestion???Upload.pdfUpload.pdf Quote Link to comment Share on other sites More sharing options...
J Martins Posted August 20, 2009 Report Share Posted August 20, 2009 Hey AC, I will write something in English, so it's better to everybody understand.It's sad heard that you are finding problems in your project. Which project you are building?You know, I'm just a newbie here but did you already made all of the midi test/troubleshooting steps?Try to post your tests here.Home-made pcbs maybe can be your issue too, and I would suggest you another application to burn your PIC. Anyway, if you have a free time, you can build an MBHP BURNER or even the out-of-date JDM Module.Good luck troubleshooting your project, and I hope to hear good news in soon!K.OBS to AC: AC, to planejando fazer uma 'vaquinha' para mandar fazer uns cores v3 numa fabrica aqui dor Rio, então se tiver interessado em entrar nessa vaquinha para pegar um core para você, mantenha contato, pois uma placa profissional pode lhe ajudar no seu projeto Quote Link to comment Share on other sites More sharing options...
AC Posted August 20, 2009 Author Report Share Posted August 20, 2009 Thank you for your help.Elnec SmartProg2 is a profissional programmer, this is best them ICD2BR, I have beem programed DSPIC/PIC/ATMEGA88/AT90S2313 and many others.Flash Microcontroller Programming Specification "39622F.pdf" page 9;"Users may store identification information (ID) in eightID registers. These ID registers are mapped inaddresses 200000h through 200007h. The ID locationsread out normally, even after code protection is applied."SmartProg2 GUI let user store ID location.Could someone provide correct ID location for 16F4620?ID Location 1=?ID Location 2=?ID Location 3=?ID Location 4=?ID Location 5=?ID Location 6=?ID Location 7=?ID Location 8=?Hey AC, I will write something in English, so it's better to everybody understand.It's sad heard that you are finding problems in your project. Which project you are building?You know, I'm just a newbie here but did you already made all of the midi test/troubleshooting steps?Try to post your tests here.Home-made pcbs maybe can be your issue too, and I would suggest you another application to burn your PIC. Anyway, if you have a free time, you can build an MBHP BURNER or even the out-of-date JDM Module.Good luck troubleshooting your project, and I hope to hear good news in soon!K.OBS to AC: AC, to planejando fazer uma 'vaquinha' para mandar fazer uns cores v3 numa fabrica aqui dor Rio, então se tiver interessado em entrar nessa vaquinha para pegar um core para você, mantenha contato, pois uma placa profissional pode lhe ajudar no seu projeto Quote Link to comment Share on other sites More sharing options...
AC Posted August 20, 2009 Author Report Share Posted August 20, 2009 Hi!!There is a PIC ID Value Calculator herehttp://www.avishowtech.com/mbhp/idgen.htmlFor PIC18F4620PIC ID Header: 0000 0000 0000 0000This is the same I´m using but no way, no DATA on pin 25.This is the LCD message start:MIOS V1.9f© 2007 T.Klose and themREADYI´m feeling too bad, why me??? Quote Link to comment Share on other sites More sharing options...
lylehaze Posted August 20, 2009 Report Share Posted August 20, 2009 I'm having a bit of trouble understanding the problem.You say that Pin 25 RX has no outgoing data..Pin 25 is TX, pin 26 is RX..You show in a pdf that you uploaded MIOS in smart mode.For this to happen, both TX and RX MUST be working, or the upload would never have completed.SO the problem is not TX or RX... or you never would have made it this far.You have demonstrated so far that you have working MIDI IN, MIDI OUT, and LCD display.Sounds like you are doing quite well. Next is to upload your application.Good Luck,LyleHaze Quote Link to comment Share on other sites More sharing options...
AC Posted August 20, 2009 Author Report Share Posted August 20, 2009 I'm having a bit of trouble understanding the problem.You say that Pin 25 RX has no outgoing data..Pin 25 is TX, pin 26 is RX..You show in a pdf that you uploaded MIOS in smart mode.For this to happen, both TX and RX MUST be working, or the upload would never have completed.SO the problem is not TX or RX... or you never would have made it this far.You have demonstrated so far that you have working MIDI IN, MIDI OUT, and LCD display.Sounds like you are doing quite well. Next is to upload your application.Good Luck,LyleHazeYes Pin 25 is TX sorry for my confusion.mios_v1_9f_pic18f4620.hex was programmeds_v1_9f_pic18f4620.hex was uploadedYou said "Next is to upload your application"What this mean? Quote Link to comment Share on other sites More sharing options...
avogra Posted August 20, 2009 Report Share Posted August 20, 2009 mios is only the operating system. it does nothing by itself. when uploading an application, actually the midibox gets some functions. i dont know, what you are planning to do. you can find applications directly on ucapps.de under MBHP projects. e.g. midibox64, midibox seq, etc. alternatively you can code an application yourself, using the sdcc-skelleton, for C-applications. i would suggest to look into ucapps and the wiki in depth.some links, answering your question:http://www.midibox.org/dokuwiki/http://www.midibox.org/dokuwiki/doku.php?id=mioshttp://www.midibox.org/dokuwiki/doku.php?id=projects...best would be to read through the whole thing :) almost everything you need is in there. Quote Link to comment Share on other sites More sharing options...
lylehaze Posted August 20, 2009 Report Share Posted August 20, 2009 MIOS by itself is an operating system, not an application.There are many different applications, depending on what you want your core to do.Like Midibox 64, Midibox 64E, Midio 128,Midibox Seq, Midibox Sid, Midibox FM, Midibox LC, Midibox Mon, Midibox CV, MidiMerger, Midibox Mixer.So, what do you want to do with your Midibox? If the LCD says "Ready", then it's time to send it an application.Try this page: http://www.ucapps.de/mios_bootstrap_newbies.htmlAvailable in English, French, and Spanish, for your enjoyment.Have Fun,LyleHaze Quote Link to comment Share on other sites More sharing options...
AC Posted August 21, 2009 Author Report Share Posted August 21, 2009 OK this first lesson I got it and is OK. Now the second lesson.Was loaded the MIDIbox 64e I'm using the MIOS Studio midi keyboard controler, MIDI has DATA out but no audio on the PC.There´s only 5 pots in unmuxed mode(J5) Quote Link to comment Share on other sites More sharing options...
lylehaze Posted August 21, 2009 Report Share Posted August 21, 2009 I thought the MidiBox 64E was for encoders instead of pots.I might be wrong. Quote Link to comment Share on other sites More sharing options...
AC Posted August 22, 2009 Author Report Share Posted August 22, 2009 That´s OK I´m stopping by now and reading/learning:Introduction to uCApps.dehttp://www.midibox.org/dokuwiki/doku.php?id=introduction_to_ucapps.de- recommended reading! 98% of all newbie-questions in the forum are answered in hereThanks for all inputs Quote Link to comment Share on other sites More sharing options...
Janis1279 Posted August 22, 2009 Report Share Posted August 22, 2009 - I'm using the MIOS Studio midi keyboard controler, MIDI has DATA out but no audio on the PC.- There´s only 5 pots in unmuxed mode(J5)for the audio on the PC:- In the Mios Studio > Options > Midi Device Routing > You need connect left side Midi Device-Readable : Mios Studio Out Port with Midi Device-Writable : ..... ( in my computer it's Microsoft GS Wavetable SW Synth )- For MB 64e is possible up to 8 pots in unmuxed mode(J5), editing in : setup_midibox16e.asm file Quote Link to comment Share on other sites More sharing options...
AC Posted August 22, 2009 Author Report Share Posted August 22, 2009 for the audio on the PC:- In the Mios Studio > Options > Midi Device Routing > You need connect left side Midi Device-Readable : Mios Studio Out Port with Midi Device-Writable : ..... ( in my computer it's Microsoft GS Wavetable SW Synth )- For MB 64e is possible up to 8 pots in unmuxed mode(J5), editing in : setup_midibox16e.asm fileYes, I discovered this today that we dont need core connected to listen the sounds from keyboard, this is too simple, I did many search here but there is nothing about this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.