Jump to content

harrywright88

Members
  • Posts

    16
  • Joined

  • Last visited

harrywright88's Achievements

MIDIbox Newbie

MIDIbox Newbie (1/4)

0

Reputation

  1. IT WORKS!!! used an m-audio midi interface and it uploaded in 8s, i literally jumped out of my seat in joy when "ready." lit up on the screen! I think the E-MU XMIDI 1x1 Tab needs to be added to the blacklist! Cheers for everyone who tried to help me
  2. Hello again! Just had another funfilled day of troubleshooting and have some more feedback. The following tests were passed with flying colours... (I have included some notes on the tests I wasnt so sure about) TEST PC1 TESTMIDI1 TESTMIDI2 TESTOUT1 TESTOUT2 TEST IN1A TEST IN1B TEST IN2 TEST IN3: TEST IN4 TEST IN5 - LED flashes once every second whilst attempting to upload MIOS TEST IN6: - whilst switch open 5v, whilst closed 0.045V (not 0.1V even tested with two 6N138s!) TEST IN7: TEST CORE1 TEST CORE2 TEST CORE3 TEST CORE4 TEST CORE5 TEST CORE6 TEST CORE7 TEST CORE8 TEST CORE9 TEST CORE10 TEST CORE11 TESTSW1 - Tested and failed when I tried to upload the code in each of the following ways: - Erasing PIC memory and uploading via Pickit2; - Uploading over bootloader via Pickit2; - Uploading via MIOS studio over bootstrap. When the pic was subsequently booted up in the core board i recieved the following message in MIOS Studio..... No response from MIOS8 or MIOS32 core! Check MIDI IN/OUT connections! - As it says on the troubleshooter, I checked pin RD4, but it is constantly grounded. ....The problem may be due to me using a PIC18F4620, as i think the program is written for PIC18F4520 TESTSW2 - already checked the ID field and it is set to USER ID: 00 00 00 00 00 00 00 00 Also...I have tried bypassing the voltage regulating circuit with straight 5V DC..no luck Ive replaced the optocoupler with a spare..still nothing! Ive checked the PC for errors in the layout compared to schematic Ive checked all my soldering joints Checked the value for all resistors with a multimeter Checked everything in the circuit for continuity errors and shorts Tried to upload MIOS via another computer (Win XP instead of OSX 10.5.8) Is there anyone out there who has the faintest idea of why I still can't upload MIOS, I seemed to have tried everything I can think of! If this is of any help, 15 minutes seems an awful long time to burn a pic, and as I said earlier, when I try to upload MIOS, when checking the MIDIOUT from the PC with an LED it flashes every second (checked with MIDIMonitor, these are blocks of 306bytes which are repeated 8 times before they change). Could this be a MIDI Interface problem, or is that normal?
  3. Thanks LyleHaze, I've looked into the possible ID problem. When i load up my copy of Pickit 2 Programmer on WinXP i get "User IDs: 00 00 00 00 00 00 00 00". Is this the same as the the ID you were speaking of previously? Harry
  4. Hi LyleHaze, Sorry I forgot to mention, my old chip was running at 64MHz, before I purchased the PIC18F4620. The new one should be running at 40MHz. Is there any chance you can just run through the steps to upload a hex file onto a pic via mplab and pickit2? At the moment i'm doing it as follows. import->hex bootloader programmer ->program Then I just unplug the chip, stick it in the core board, turn on my power supply, open up mios studio, select the mios hex file, then click start. Previously it was running all the way through, rebooting, then only finding the bootloader, but now it gets a MIDI overrun error before its finished. Oh and also it apparently it should upload in ~9 seconds, mine takes 15 minutes! Thanks :)
  5. Thanks for the reply, Sorry I have also checked the output from the opto coupler. It seems to outputting a stream of bits at about every second. One bit seems to be about 32us long, which is apparently normal. (http://www.musicfromouterspace.com/analogsynth/midi2cv.htm) I'm using a E-mu Xmidi 1x1tab. I've tried the creating a loopback by connecting the cables together and its recognised on MIOS Studio. I'm running Mac OSX 10.5.8 too. Do you have any idea as to whether this interface is incompatible, and if so is there a cheap alternative? I think the problem is probably due to some software error. I'm uploading the bootloader via a Pickit 2, do you know if this could cause any problems? Look forward to hearing back, Harry
  6. Hi again guys, I have purchased a PIC18f4620, and uploaded the bootloader. I used a pickit2 and uploaded the bootloader hex file. I then plug the pic into the core board and it finds the bootloader, however when i upload the mios it takes about 15 minutes. When it finishes it says it uploaded at 0.02kbps and when it reboots and it just finds the bootloader. Ive checked the output from the optocoupler with an oscilloscope and its finding an output absolutely fine. Ive also checked the voltages and they seem to be good. Does anyone have any idea where i could be going wrong? Thanks very much, Harry
  7. thanks stuart, that fixed the problem!
  8. Hi again.. Im aware that the core board is designed to be used with the PIC18F4620 (among others), however I had some 18F46K20's in the lab and I used one instead :-S The operating voltage is 1.8-3.6V (not 4.2-5.5V) and the clock frequency 64Mhz (not 40MHz). HOWEVER! MIOS studio still seems to find it (even though the voltage is 1.4V too high), and it even finds the bootloader i uploaded via a "pickit2". "Operating Systen: MIOS8 Board: MBHP_CORE or similar Core Family: PIC18F Bootloader is up & running!" When I try to upload the MIOS it takes about 10 minutes, then reboots and just says exactly the same in the left window and this in the right: "mios_v1_9g_pic18f4620.hex contains 12826 bytes (52 blocks). Range 0x00000000-0x00002fff (12288 bytes) - MIOS8 area Range 0x00003000-0x000033ff (1024 bytes) - PIC Flash Range 0x00007c00-0x00007fff (1024 bytes) - PIC Flash Upload of 13312 bytes completed after 832.14s (0.02 kb/s)" Does anyone out there know a way of adapting the code to work with this PIC, or is there no other option to splash out on one of the PIC's that are actually recommended? Thanks guys! Harry ps..I have been through most of the troubleshooting sections on ucapps and cant seem to find an error with the circuit..that doesnt mean there isnt one though i guess!
  9. Hi guys, Just a simple question here. Im building a core module and i cant find anywhere what pins to connect to j12 and j13 on the midi port, can anyone help me? Look forward to your responses, Harry
  10. Hi guys, Ive had a root around the components in my electronics deparment and managed to find some IC's for use in the AIN and DIN board. Would it be OK to replace, the CD 4051 BE multiplexer in the AIN board with a cd 4051 BCN? As regards to the DIN board, could I replace the 74HC165 shift register with DM74LS165N? Links to the data sheets are below: DM74LS165N 74HC165 CD4051BCN CD4051BE I can see some difference in operating voltages, but without knowing what voltages are used in the boards, I cant see whether theyll work? Also if anyone can see of any other reason why using these chips won't work, give me a shout. Kind Regards, Harry
  11. Thanks nILS, greatly appreciated! Is there any chance you could send me a link for DIN aswell, I'm having the same problem trying to open the file from ucapps on EAGLE. Many Thanks, Harry
  12. Hi guys, I'm unable to get the following PCB layout from ucapps to work on the current version of eagle( error message: data structure is older than 4.11), does anyone have any ideas how to get it working or have a more up to date .brd file? Kind Regards, Harry
  13. Thanks guys, I've taken a look at the link that Phil provided and I assume that "midibox64_v2_4d.zip - The complete PIC18F port of MIDIbox64" is the application I should be using if I'm building a midibox64? If I'm to include an LCD screen, am I right to think I'm going to need some buttons to navigate it? Regards, Harry
  14. Hi guys, Just a couple of simple questions that I can't seem to find an answer to. I'm planning to build a midibox64 with about 24 potentiometers. Im going to upload the bootloader myself with a pickit2, then upload the MIOS via MIDI once its in the core board. My question is, when the firmware and MIOS is on the chip, and I have some pots connected, will the controller be outputting MIDI data, so I can control parameters on say Max/MSP? I ask this, as I have read about having to upload application software as well, but I'm quite unsure of what it does. Finally, I'm planning not to include an LCD, but if I was to include one, what advantages would there be? If anyone can shed some light on these issues, it would be greatly appreciated. Kind Regards, Harry
  15. hi bassman, thanks for some straightforward advice! will send him a message, cheers man
×
×
  • Create New...