Jump to content

Kvetch

Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by Kvetch

  1. Hi folks, I am trying to program one of my cores to store and manipulate program change messages from my Electribe. Ive written the software but then I get an error Ive never seen before when I try to 'make'. Heres a screen shot: It seems something to do with an included pic18f452.h file somewhere, but Im rather a noob at programming and dont know what Im looking for! Any help is much appreciated :ahappy: Just an update, its something to do with the code TK gave me for forwarding recieved realtime messages. Ive no doubt put the code he gave me in the wrong place or something. Heres what he gave me in another thread: ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS when a MIDI byte has been received ///////////////////////////////////////////////////////////////////////////// void MPROC_NotifyReceivedByte(unsigned char byte) __wparam { if( byte >= 0xf8 ) MIOS_MIDI_TxBufferPut(byte); } Ill keep working on it OK Im officially an idiot, I put the code TK gave me in totally the wrong place even though he made it perfectly clear. All is well!
  2. Im as confused as you nILS, basically all tests work fine, but when I plug a single MIDI source or pair of MIDI sources into the inputs, I get nothing from the output.
  3. Finally got the chance to try this out and loopback works fine! Basically it seems like every test I do points to the core being working fine, yet it wont actually do as its supposed to in the end.
  4. Thanks again nILS, Ill try your suggestion soon as I get home tonight and report back. Im sure I must be very close to getting a working merger here.
  5. Another update again. Big thanks to Mike for his quick responses to me by email. He has confirmed with me my PIC I ordered for the merger was burned with 'midimerger_pic18f_with_bootloader.hex' This would explain why MIOS Studio doesnt really see the core, but I still dont have a working merger and dont understand why. I get the correct voltages in the correct places. I just dont get it. Im totally stuck on this one :(
  6. Sorry to jump in on an old thread but Im having a similar problem, did you get a PIC burner and get it working?
  7. Another update. Mike has emailed me back and confirmed he definitely burned the bootloader onto the PIC, so now Im really confused, as when I put it into my working core I dont get the 'bootloader is up and running' message. So confused....lol
  8. OK heres an update: When I measure the VDD I get exactly 5V at all points I should except the one Ive boxed in blue: I dont know if the merger from Mikes site is supposed to have 5V at that point as the above image is just general core measurements, but Ive resoldered the joint in question and its just 0.0V. Also I took the PIC out of the merger and put it in my working core and still get 'no response from mbhp core' in MIOS Studio. So I presume this means that if the above joint is not supposed to be 5V then its because my bootloader isnt burned. If this is the case how would I go about getting it burned as I know nothing about this process. I requested a bootloader to be loaded when ordering from Mike. Thanks in advance!
  9. I requested that the bootloader be burned on the chip when I bought from Mikes store so I assume its on there. But MIOS studio doesnt recognise the core at all. Ill try swapping PICs with my working core module when I get home tonight and see what happens. Thanks for the suggestion, Ill keep you posted :)
  10. Also am I correct in thinking with the above circuit the power has to come from J2 on a core and cant come direct from the DC input jack?
  11. Hi folks. I have decided to add a midi merger to my midibox project. Currently my Midibox consists of 2 core modules that do not have LCD screens, and are used as midi filters and processors that alter the signals going between my Shruthi-1, my EMX and my ESX. I figured because they have no LCD screen I could power the merger from the same power source. So I connected up the J2 output of the core to J4 on my merger kit form Mikes Site, plugged MIDI out of my interface to MIDI in 1 on the merger, and MIDI In of my interface into the Out on the merger. Im just getting 'No response from core' message in MIOS Studio 2.2 Ive also tried using MIDI In 2 on the merger instead of In 1, but same thing. Im a bit confused in general about what voltages should read on the merger, and also the pics of the merger show all different orientations for caps. That merger pic shows the capacitor at the top left with its negative stripe pointing up towards the edge of the PCB, but then the images inside midimerger_pcb_v1.zip show the opposite. Im rather confused in general with the midimerger project
  12. Excellent! Ill try that tonight and Im sure it'l do just the job. Thanks again TK Kvetch
  13. Hi folks. I have found a purpose for the second core module in my midibox, knew Id need it at some point! It is to be used as a midi filter and processor for one of my Electribes. I have most of the functions coded and working but I cannot seem to get the midibox to forward all realtime messages recieved at the midi IN port to the midi OUT port. Whenever I run my program that looks to me like it should work, the realtime clock, start and stop messages simply wont forward to the midi out. Could anyone point me in the direction of some working code to do this, or even post a snippet of code to forward these events. Thanks in advance for any information anyone can give! Kvetch
  14. How much would you be selling for?
  15. Im also very interested if anyone knows of a good library for electronic drums one shots. Basically I want to upgrade the sounds ive loaded into my ESX as im already tired of them. Im not interested in any acoustic or realistic sounds, but purely electronic or synthesised one shot WAVs. Ive been struggling around the web to find something suitable. Basicall I dont want to sink money into a library thats something like: 2000 drum loops! hundreds of bass and synth loops! a couple folders of ones hots!...meh Thats what I seem to be finding most of and it would be a waste of my money as all I want are one shots for my ESX. Any ideas? Im willing to spend a good amount if its entirely or at least mostly one shots Im just struggling to find something suitable.
  16. Nice one! Thanks for the clarification m00dawg :)
  17. Thanks for the reply m00dawg. So just to confirm my already completed core contains all the power regulation components and is being fed power straight from my wall power supply. This core works fine. One more core will be added which uses no LCD or modules of any kind just a basic core. I should connect J2 (matching the 5V and Grnd pins obviously) of the working core to the new core, but on the new core I should leave out: X1 C5 C6 And I dont need to add bridges to the second core in place of the left out components. Thats what I think ive gathered if anyone can confirm for sure :) Cheers! Edit: I just realised Ucapps says that X1, C5, and C6 CAN be left out, but doesnt say MUST be left out. Would the second core not work at all if these components were included anyway? Thanks
  18. Hi folks. Im very pleased with my recent midibox build, but Im looking to add another core to filter some midi signals to my footpedal. The software side of things should be very simple, but Im a little confused about powering the new core from the first one I built. I know I can connect J2 from the first to the second and dont need certain components on the second board. Should I leave them out entirely or do I need to bridge the PCB in place of them? Just not sure about the specifics. Ive read this on Ucapps to know which components to leave out: When used as +5V input: for supplying from J2 of another core module, or from an external stabilized Power Supply Unit (PSU). In both cases the voltage regulator (IC3) should not be connected, also the rest of the voltage stabilization circuit between J1 and J2 (X1, C5, C6) can be left out. If the core module (and all connected modules to this branch) drains more than 100 mA, it's recommended to mount C5 directly to J2 (a small cable between the outer soldering pads of the left-out 7805 will do this). So my other question is would the new core without any LCD at all drain more than 100mA? Just to know whether to mount C5 at all. Edit: While Im writing this I should check my software. Im trying to get the core to convert note messages to CC on a specific channel. For example I need it when note C1 is received on MIDI channel 3, the core outputs CC17 value 72. I have other note to CC values to convert, but is there any particular software programming example that would be most suited to this simple MIDI filtering/live altering? cheers! Thanks in advance :)
  19. I was looking up multi-pole rotary switches and the switches are way more expensive than the box ive shown above am I maybe looking at the wrong thing? I thought it would be 5-pole (for the 5 connections in the serial cable) x 2 way, for the A/B position. But these switches are £50 or more whereas the box Ive shown above is only £12. Id rather build the box myself as I want to make some modifications so just the switching mechanism would be great. I was looking at these: 5 pole switches But they are incredibly expensive!
  20. Excellent thanks! So for my 5 pin serial cable ID be looking for a 5-pole 2 way rotary?
  21. I just fount this which I could maybe modify to suit my application: Is there a better way? what is the mechanism for the box above, to swicth between 2 serial cables? Thanks :)
  22. Hello folks. Im finished my MIDIBOX and am now working on some other small electronics things for my setup. Im trying to find a way to switch an entire serial cable (5 maybe 6 core) in one switch? I dont know if such a thing exists like an advanced toggle switch. Im going to have a serial cable of maybe 5 or six internal wires, and I am looking to be able to switch its connection between 2 other serial cables without having to flip 5 or 6 toggle switches. Heres a crude example of what I mean: So in this example Im trying to switch serial 1 between serials 2 and 3. I can obviosly do this by flipping 5 individual toggles but hope for a more elegant solution. Thanks for any input anyone may have! Sean
  23. Thanks janis and rosch for replies. What would be the easiest way to tell if I have maybe burned out the PIC or Optocoupler on the merger board as all connections have been checked. Also am I right in thinking that to connect the merger to MIOS studio I should be using MIDI out from the merger -> MIDI in on my interface and MIDI out on my interface -> MIDI in 1 on merger. Or should it be MIDI in 2 on merger? Ill just stay patient and keep troubleshooting best I can :)
  24. The 2 diodes are correctly oriented. Basically I have soldered a pair of wires from J2 on my working core module to J4 on the above merger PCB. I cannot get the merger side of things to power. Also when I quiery the working core with MIOS studio it says 'application is up and running' but when I exchange the PIC for the one that came with the merger kit, MIOS says 'no response from MIOS8 core'. I was expecting the merger PIC to at least say the bootloader is up and running.
×
×
  • Create New...