Academic Planner Posted February 7, 2019 Report Share Posted February 7, 2019 I think I might have windows working properly again. I'm able to compile but I'm getting lots of "Address exceeds maximum range for this processor" errors in MSYS. I'm not totally sure this matters. So I just double checked - there is no app_lcd or app_lcd_8bitdriver file in the src folder. As a matter of fact, those file structures you posted above don't seem to apply to the midibox_fm_v1_4i, unless I'm not understanding of course. Maybe the edited file should be somewhere else? Quote Link to comment Share on other sites More sharing options...
Antichambre Posted February 7, 2019 Report Share Posted February 7, 2019 I think you didn't refesh your MIOS folder since a long time ;)http://svnmios.midibox.org/listing.php?repname=svn.mios&path=%2Ftrunk%2Fapps%2Fsynthesizers%2Fmidibox_fm_v1%2Fsrc%2F&rev=1168&peg=1161# Then refresh it... Set the USE_8BIT_LCD_DRIVER flag in "setup_pic18f4685_sammich_fm.asm" file ;; set this flag to 1 in order to enable 8bit LCD access mode for PIC18F4685 derivatives. ;; IMPORTANT: this option requires a modification on the sammichFM hardware: ;; Connect: ;; - PIC Pin RE1 to J16:D3 ;; - PIC Pin RE2 to J16:D2 ;; - PIC Pin RB1 to J16:D1 ;; - PIC Pin RB0 to J16:D0 ;; Compare following schematic for sammichFM J16 pinning: http://www.midibox.org/dokuwiki/lib/exe/fetch.php?media=sammichfm:sammichfm_base_pcb_rev_1.pdf ;; And following schematic for PIC pinning: http://www.ucapps.de/mbhp/mbhp_core_v3.pdf #define USE_8BIT_LCD_DRIVER 0 replace the "src/app_lcd_8bitdriver.inc" by mine compile and upload "setup_pic18f4685_sammich_fm.hex" in MIOS Studio" Best Bruno . Quote Link to comment Share on other sites More sharing options...
Antichambre Posted February 7, 2019 Report Share Posted February 7, 2019 But question??? How did you tried the 8bit driver without the right recompiled version ??? Hummm lol Quote Link to comment Share on other sites More sharing options...
Academic Planner Posted February 7, 2019 Report Share Posted February 7, 2019 I pulled all the files from here, which I thought had everything I needed.http://www.ucapps.de/mios/ I guess not! I'll try again with your links instead. Quote Link to comment Share on other sites More sharing options...
Academic Planner Posted February 7, 2019 Report Share Posted February 7, 2019 1 hour ago, Antichambre said: But question??? How did you tried the 8bit driver without the right recompiled version ??? Hummm lol I had multiple folders from the last few years. Perhaps a few edits were made along the way? Starting fresh today. Quote Link to comment Share on other sites More sharing options...
Antichambre Posted February 7, 2019 Report Share Posted February 7, 2019 (edited) Ok understood you never use MIOS trunk. You have to checkout the MIOS, using tortoise svn is very easy. just follow this howto http://www.midibox.org/dokuwiki/doku.php?id=windows_toolchain_svn#tortoisesvn this page is useful too: http://www.midibox.org/dokuwiki/doku.php?id=windows_toolchain_core#path_environment_variables First try by yourself but If you're really stucked I can take the hand on your computer like we already did ;) Edited February 7, 2019 by Antichambre Quote Link to comment Share on other sites More sharing options...
Academic Planner Posted February 8, 2019 Report Share Posted February 8, 2019 So I managed to get tortoise working (thank you) and grabbed the new file structure, but now I'm getting the following error in MSYS: Makefile:29: /include/makefile/asm_only.mk: No such file or directory Makefile:32: /modules/app_lcd/dummy/app_lcd.mk: No such file or directory Makefile:35: /modules/aout/aout.mk: No such file or directory make: *** No rule to make target `/modules/aout/aout.mk'. Stop. So it looks like the makefile is referencing the old structure. Am I understanding this correctly? I really appreciate your patience. I'm almost there! Quote Link to comment Share on other sites More sharing options...
Antichambre Posted February 8, 2019 Report Share Posted February 8, 2019 7 hours ago, Academic Planner said: Makefile:29: /include/makefile/asm_only.mk: No such file or directory Makefile:32: /modules/app_lcd/dummy/app_lcd.mk: No such file or directory Makefile:35: /modules/aout/aout.mk: No such file or directory make: *** No rule to make target `/modules/aout/aout.mk'. Stop. This indicates that your 'make' compiler doesn't find your new and fresh MIOS directory. This is a path issue. Did you follow this ? -> http://www.midibox.org/dokuwiki/windows_toolchain_svn#path_environment_variables MIOS_PATH and MIOS_BIN_PATH need to be set ;) Always restart you computer after this operation, for changes to become effective. Quote Link to comment Share on other sites More sharing options...
Academic Planner Posted February 8, 2019 Report Share Posted February 8, 2019 (edited) hmmm, now I'm getting this from MSYS: sh: SET: command not found sh: fg: %programfiles%gputilsbin: no such job sh: fg: %programfiles%SDCCbin: no such job sh: fg: %PATH%: no such job following the directions here: http://www.midibox.org/dokuwiki/windows_toolchain_quickstart *edit* All paths were set & pointed the MSYS path to the specific midibox_fm_v1 folder and I'm still getting this again: Makefile:29: C:/MIOS/TRUNK/BIN/include/makefile/asm_only.mk: No such file or directory Makefile:32: C:/MIOS/TRUNK/BIN/modules/app_lcd/dummy/app_lcd.mk: No such file or directory Makefile:35: C:/MIOS/TRUNK/BIN/modules/aout/aout.mk: No such file or directory make: *** No rule to make target `C:/MIOS/TRUNK/BIN/modules/aout/aout.mk'. Stop. Edited February 8, 2019 by Academic Planner Quote Link to comment Share on other sites More sharing options...
Academic Planner Posted February 8, 2019 Report Share Posted February 8, 2019 Maybe I should just go back to the normal LCD Quote Link to comment Share on other sites More sharing options...
Antichambre Posted February 8, 2019 Report Share Posted February 8, 2019 (edited) try this hex:https://www.dropbox.com/s/ma98bbopt8s1tzb/setup_pic18f4685_sammich_fm.hex?dl=1 It's a 8bit version then extra connection are necessary. ;; set this flag to 1 in order to enable 8bit LCD access mode for PIC18F4685 derivatives. ;; IMPORTANT: this option requires a modification on the sammichFM hardware: ;; Connect: ;; - PIC Pin RE1 to J16:D3 ;; - PIC Pin RE2 to J16:D2 ;; - PIC Pin RB1 to J16:D1 ;; - PIC Pin RB0 to J16:D0 ;; Compare following schematic for sammichFM J16 pinning: http://www.midibox.org/dokuwiki/lib/exe/fetch.php?media=sammichfm:sammichfm_base_pcb_rev_1.pdf ;; And following schematic for PIC pinning: http://www.ucapps.de/mbhp/mbhp_core_v3.pdf #define USE_8BIT_LCD_DRIVER 0 ;) Edited February 8, 2019 by Antichambre Quote Link to comment Share on other sites More sharing options...
Academic Planner Posted February 9, 2019 Report Share Posted February 9, 2019 (edited) Well, I'm getting closer! Not sure if this is due to the hardware or firmware. Looks cool, though. ;) Edited February 11, 2019 by Academic Planner Quote Link to comment Share on other sites More sharing options...
Academic Planner Posted February 12, 2019 Report Share Posted February 12, 2019 (edited) Was something else adjusted in that .hex file? I switched the OLED to an LCD and this is what I'm getting now. Never mind. I realized what I was doing wrong with the LCD. Still having issues with the OLED, though. Edited February 12, 2019 by Academic Planner Quote Link to comment Share on other sites More sharing options...
Academic Planner Posted February 12, 2019 Report Share Posted February 12, 2019 (edited) *double post* Edited February 12, 2019 by Academic Planner Quote Link to comment Share on other sites More sharing options...
Academic Planner Posted February 15, 2019 Report Share Posted February 15, 2019 After a few more day of pulling my hair out, staring at system paths, wrapping my mind around instructions that don't seem to apply to Windows 10, and reflowing all solder, I'm still just getting corrupt characters on the display and realizing I'm now just spinning my wheels. I'm officially giving up. Going back to the LCD. Not really worth the hassle! Thanks for the help, anyway. Quote Link to comment Share on other sites More sharing options...
zx81 Posted October 18, 2020 Report Share Posted October 18, 2020 Sorry to hear that, Academic Planner! Does anyone have the compiled firmware file that TK posted earlier, i.e. http://www.ucapps.de/mios/midibox_fm_v1_4j__sammichFM_8bitlcd.zip I have recently acquired a second hand sammichFM that has a dying display. If not, does anyone have a part number for the original LCD display? I am also looking to find the files necessary to order a case from Ponoko or similar, or really any dimensions at all, but that is off topic for this thread. :) Thanks! 1 Quote Link to comment Share on other sites More sharing options...
TK. Posted October 18, 2020 Report Share Posted October 18, 2020 I found this firmware in my backups, the link is working again Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
zx81 Posted October 19, 2020 Report Share Posted October 19, 2020 Thank you very much, TK! :) 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.