Antichambre

Programmer
  • Content count

    807
  • Joined

  • Last visited

Community Reputation

125 Excellent

2 Followers

About Antichambre

Profile Information

  • Gender Male
  • Interests Create.

Recent Profile Visitors

1,938 profile views
  1. OLED: Stream longer than pixels on display

    'Wordwrap' but not between the words ;)
  2. OLED: Stream longer than pixels on display

    Hi Chris, It's maybe not exactly what you want, but you can try to rearrange the OLED in Column instead of Row, and work with the lines. By using the help menu in the bootloader. set lcd_num_x (number of LCDs in X direction) and set lcd_num_y (number of LCDs in Y direction) Not sure this will help you, but it can already force a line return after 128 pixels if you set lcd_num_x to 1. Best Bruno    
  3. Troubleshooting midiphy SEQ v4+

    Let 3 mm, it will be fine! :)
  4. Troubleshooting midiphy SEQ v4+

    Yeah!!! which number is it? 7 or 8 maybe? cheers
  5. sammichFM OLED Display

    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 ;)
  6. sammichFM OLED Display

    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.  
  7. sammichFM OLED Display

    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 ;)  
  8. sammichFM OLED Display

    But question??? How did you tried the 8bit driver without the right recompiled version ??? Hummm lol
  9. sammichFM OLED Display

    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 .
  10. Troubleshooting midiphy SEQ v4+

    I use both OS, It's less under mac but it also happens ;)  
  11. Troubleshooting midiphy SEQ v4+

    This is not a Physical USB issue cause the bootloader seems to work otherwise the In/Out "MIDIbox SEQ V4+" port should not appear. @synaptech Disconnect all others USB, restart your  PC. Put a jumper on JPA0, Connect your Core and launch MIOS Studio, and tell us what happens, please... Best Bruno
  12. sammichFM OLED Display

    I think I understood what TK did in the FM firmware. You have to let the 8 bit connections and the USE_8BIT_LCD_DRIVER flag to, this will force the use of the custom driver "app_lcd_8bitdriver.inc" which is in /src/ folder, It's an 8 bit one but it doesn't matter your controller supports it. Replace that file by the one from my dropbox https://www.dropbox.com/s/zpdxe6cfrxtmv04/app_lcd_8bitdriver.inc?dl=1  (I added the command in this file.)   movlw 0x08 ; Display Off rcall USER_LCD_Cmd movlw 0x0c ; Display On rcall USER_LCD_Cmd movlw 0x06 ; Entry Mode rcall USER_LCD_Cmd movlw 0x17 ; DCDC Power On (OLED-0010 controller only) rcall USER_LCD_Cmd movlw 0x01 ; Clear Display call USER_LCD_Cmd bcf MIOS_LCD_TIMEOUT1, 7, BANKED ; everything ok, make sure that LCD_TIMEOUT, bit 7 is cleared movlw 0x38 ; without these lines the LCD will not work rcall USER_LCD_Cmd ; correctly after a second USER_LCD_Init movlw 0x0c rcall USER_LCD_Cmd movlw 0x17 ; rcall USER_LCD_Cmd movlw 0x00 ; set cursor to zero pos rgoto USER_LCD_CursorSet Compil it, upload and tell me...  
  13. sammichFM OLED Display

    The pinout is good. First did you check with standard 4 bit, without USE_8BIT_LCD_DRIVER option? The controller is OLED-0010(WS0010) and seems to match HD44780 industrial standard BUT in the command table there's something which differs:   Page 22 of the controller datasheet Maybe I'm wrong but this specific command is nowhere in the LCD initialisation:   USER_LCD_Init ;; notify that no graphical LCD is connected bcf MIOS_BOX_CFG0, MIOS_BOX_CFG0_USE_GLCD ; (Initialization of Ports: done in Init_Ports) SET_BSR USER_LCD_STATUS clrf USER_LCD_STATUS, BANKED movlw 100 ; 100 ms delay call MIOS_Delay bcf USER_LCD_LAT_RW, USER_LCD_PIN_RW ; LCD_WRITE bcf USER_LCD_LAT_RS, USER_LCD_PIN_RS ; USER_LCD_PIN_RS_0 ;; initialize LCD movlw 0x38 movwf USER_LCD_LAT_D rcall USER_LCD_Strobe_Set rcall USER_LCD_Strobe_Clr movlw 50 ; 50 ms delay call MIOS_Delay rcall USER_LCD_Strobe_Set rcall USER_LCD_Strobe_Clr movlw 50 ; 50 ms delay call MIOS_Delay rcall USER_LCD_Strobe_Set rcall USER_LCD_Strobe_Clr movlw 0x08 ; Display Off rcall USER_LCD_Cmd movlw 0x0c ; Display On rcall USER_LCD_Cmd movlw 0x06 ; Entry Mode rcall USER_LCD_Cmd movlw 0x01 ; Clear Display call USER_LCD_Cmd bcf MIOS_LCD_TIMEOUT1, 7, BANKED ; everything ok, make sure that LCD_TIMEOUT, bit 7 is cleared movlw 0x38 ; without these lines the LCD will not work rcall USER_LCD_Cmd ; correctly after a second USER_LCD_Init movlw 0x0c rcall USER_LCD_Cmd movlw 0x00 ; set cursor to zero pos rgoto USER_LCD_CursorSet I think you have to add this command somewhere for "internal DCDC power On" movlw 0x17 rcall USER_LCD_Cmd But I don't remember where, in the app_lcd.inc maybe??? Someone knows??? Edit: I don't remember which lcd_init is active, /src/app_lcd.inc /module/app_lcd/clcd/app_lcd.inc /mios/mios_lcd.inc   Best Bruno  
  14. sammichFM OLED Display

    Hi! how are you? Could you share Oled reference or datasheet? Best Bruno
  15. CV outputs in MBNG

    Right! I Forget it ;)