Luigi65 Posted September 3, 2008 Report Share Posted September 3, 2008 Hi to all. First of all I'd like to thank the wonderful group of MIDIBoxers that really did a wonderful work.I have two problems:1) I have a 18F4685 but I cannot compile it (not in the Valid devices list). Actually I'm using the statementPROCESSOR = 18f452 in my makefile (mios_base_v1_0b)2) I have a core unit with a LCD, and I don't know what pin to use (and how) for a Digital In. Are there any still available?I have a FATAR masterkeyboard TMK88. Very cheap very light but very poor MIDI implementation (no velocity curves, just MIDI chn 1, no transposition, etc...). I had problems with black and white keys (different strenght for having the same velocity codes) and I already have successfully compensated it with separate black and white velocity response curves with my MIOS_CORE unit. Now I'd like to add transpose caps as well as split, layers, etc...I'm thinking to add a DIN input to enter a special modality and then press some keys of the keyboard to input data. Most master keyboards work in this way. But where should I have to connect the switch? Are there C examples? Do I need a DIN board?Thank you in advance,Luigi Quote Link to comment Share on other sites More sharing options...
audiocommander Posted September 3, 2008 Report Share Posted September 3, 2008 2) I have a core unit with a LCD, and I don't know what pin to use (and how) for a Digital In. Are there any still available?Do I need a DIN board?I think you may get one, two or three pins, but have to implement some low-level techniques:please search this forum for J5 and DIN, this topic has been covered in one or two threads.When you need more DINs, you also need a DIN-module. In this case see:http://ucapps.de/mios_c_send_din.htmldunno about the PIC, but you should get a PIC that's already supported by MBHP/MIOSregards,Michael Quote Link to comment Share on other sites More sharing options...
Durisian Posted September 4, 2008 Report Share Posted September 4, 2008 18f4685 is supported by MIOS now... you've been gone a while AC ;Dshould just be: PROCESSOR = 18f4685 Quote Link to comment Share on other sites More sharing options...
audiocommander Posted September 4, 2008 Report Share Posted September 4, 2008 18f4685 is supported by MIOS now... you've been gone a while AC ;Doh yes... and I'm very bad with names: how should I remember all these PIC variants... I'm so glad when I succeed in remembering my 4-digit creditcard pin ::)Honestly, the only PIC I remember without having to look it up is the PIC18F452 (though it could also be 18F542 now that I think about it)... even when it comes to the PIC16F I don't know if its 88 or 84 or 66 or 68 Quote Link to comment Share on other sites More sharing options...
Luigi65 Posted September 4, 2008 Author Report Share Posted September 4, 2008 Well, I've tried with PROCESSOR = 18f4685but without success. I get the message:'18f4685' was not foundValid devices are:and follows a list with 39 PIC which does not include 18f4685Any suggestions?However, MIDIBOX is great: if someone is interested I can now 1) compensate black/white keys velocity differences (a problem with my FATAR TMK88)2) use different response curves3) transpose the notesI'm planning to 1) add pedals (portamento On/Off, expression, start sequencer, stop sequencer, etc..)2) add another modulation wheel3) add splits4) add layers5) change the midi channel of my data6) more...Thank you to all,Luigi Quote Link to comment Share on other sites More sharing options...
audiocommander Posted September 5, 2008 Report Share Posted September 5, 2008 indeed, it's working with 18F452 but not with 18F4685.I can reproduce this ;)@:test$ makerm -rf _output/*rm -rf _outputrm -rf *.cod *.map *.lstrm -rf *.hexmkdir -p _outputsh ~/projekte/MIOS/mios_base_v1_0b/bin/mios-gpasm -c -p p18f4685 -I./src -I ~/projekte/MIOS/mios_base_v1_0b/include/asm -I ~/projekte/MIOS/mios_base_v1_0b/include/share -I ~/projekte/MIOS/mios_base_v1_0b/modules/app_lcd/dummy -DDEBUG_MODE=0 -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -I ~/projekte/MIOS/mios_base_v1_0b/modules/mios_wrapper ~/projekte/MIOS/mios_base_v1_0b/modules/mios_wrapper/mios_wrapper.asm -o _output/mios_wrapper.oDidn't find any processor named: p18f4685this should be solveable...best,Michael Quote Link to comment Share on other sites More sharing options...
Durisian Posted September 6, 2008 Report Share Posted September 6, 2008 Interesting, seems to complile fine for me.Got all the right versions of the tool chain? Quote Link to comment Share on other sites More sharing options...
audiocommander Posted September 6, 2008 Report Share Posted September 6, 2008 hm, I got SDCC 2.8.0 and gpasm-0.13.3 beta / (Mac); I think gpasm might be a bit older...what about you, Luigi? Quote Link to comment Share on other sites More sharing options...
TK. Posted September 6, 2008 Report Share Posted September 6, 2008 Yes, it seems that your gputils package is expired.The current source code can be found here: http://sourceforge.net/project/showfiles.php?group_id=41924Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Luigi65 Posted September 8, 2008 Author Report Share Posted September 8, 2008 I have SDCC 2.8.0 and gputils 0.13.6. My platform is Win32. What file should I have to build for the 18F4685?Luigi 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.