japanesepotato Posted February 27, 2007 Report Share Posted February 27, 2007 I built a box with 24 buttons (D1 - D3) and 19 enc ( 3 enc on D4 and 16 enc on D5 - D8)and I uploaded 64E, evrything seems fine except 3 enc on D4(they are recgonized as buttons with 64E right?), then I understood that I have to change "mios_table.inc" after reading forum.I changed as ;; encoders 1-16 ;; SR Pin Mode ENC_ENTRY 4, 0, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 1 ENC_ENTRY 4, 2, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 2 ENC_ENTRY 4, 4, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 3 ENC_ENTRY 5, 0, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 4 ENC_ENTRY 5, 2, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 5 ENC_ENTRY 5, 4, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 6 ENC_ENTRY 5, 6, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 7 ENC_ENTRY 6, 0, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 8 ENC_ENTRY 6, 2, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 9 ENC_ENTRY 6, 4, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 10 ENC_ENTRY 6, 6, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 11 ENC_ENTRY 7, 0, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 12 ENC_ENTRY 7, 2, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 13 ENC_ENTRY 7, 4, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 14 ENC_ENTRY 7, 6, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 15 ENC_ENTRY 8, 0, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 16 ;; encoders 17-32 ENC_ENTRY 8, 2, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 17 ENC_ENTRY 8, 4, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 18 ENC_ENTRY 8, 6, MIOS_ENC_MODE_NON_DETENTED ; V-Pot 19 ENC_EOT . . . .and I tried convert.bat but hex file doesn't look to be changed. after I start batch file window closes really quicklyso I asume that it has problem there but I absorutly have no idea what is the reason.If anyone have any idea, please please help me! After a lot of problem and it's getting closer to finish the boxI can't really sleep before completly finish it. Please!! Any idea will be very appreciatedThank you Quote Link to comment Share on other sites More sharing options...
stryd_one Posted February 27, 2007 Report Share Posted February 27, 2007 Try opening a dos prompt (cmd.exe) , changing to the dir and running the batch file from there, see what it does.wow command line is a dying thing huh. Maybe I'm gettin old heheheI use this, BTW MS Powertools "Open Command Window Here" Tweak Warning this URL points to the exe file from MS's servers Quote Link to comment Share on other sites More sharing options...
japanesepotato Posted February 27, 2007 Author Report Share Posted February 27, 2007 Thank you very much stryd! I installed the program you introduced and stied to open batch file from cmd.exebut it goes C:?Documents and Settings?Takashi>perl hex2syx.pl main.hexCan't open perl script "hex2syx.pl": No such file or directoryand nothing changed. honestly this is the first time for me to open cmd.exe and I have no idea what is going onthere...I looked for the solution on the net but I couldn't find(may be I should say couldn't understand so far)If there is any idea or something could solve problem could you give me some idea?Thank you very much Quote Link to comment Share on other sites More sharing options...
Wilba Posted February 27, 2007 Report Share Posted February 27, 2007 You do know you have to build a new main.hex file with MPLAB after changing any of the .inc files?It is probably easier for you to install MIOS Studio, which uploads the .hex file to the Core via MIDI (i.e. you don't need to convert to SysEx, it does it for you). Quote Link to comment Share on other sites More sharing options...
japanesepotato Posted February 28, 2007 Author Report Share Posted February 28, 2007 Oh I didn't know that...I thought change the table and convert.bat and send by MIOS.So do I still have a prob at convert.bat point with those message?I did a lot of researching but I haven't quite understood yet... if there is any good page to readabout building a main.hex could you recommend? Thank you Quote Link to comment Share on other sites More sharing options...
japanesepotato Posted February 28, 2007 Author Report Share Posted February 28, 2007 I found them thank you very much! ;D 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.