Jump to content

Pearl

Members
  • Posts

    53
  • Joined

  • Last visited

Everything posted by Pearl

  1. I want to try to add the Signal-LED for channels in LC-application - Status for LED is to find in SysEx-Message <Hdr> 21 ii mm F7 (where "ii" represents the fader-channel and bit 1 of "mm" set LED for this channel "ON" or "OFF") - I add line Signal_LED_SR EQU 9 ;in my setup these LEDs are on shiftregister 9 to "main.asm" - Where is the best place to include following code? I would try to insert it to "MPROC.inc" in "Set_Meter_Mode" working with the second byte ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; movf Signal_LED_SR, W ; writes the Shiftregister-Number to W mullw 0x08 ; multply with 8 movwf TMP1 ; save result in TMP1 movf LC_METER_CHANNEL, W ; writes channel-number to W addwf TMP1 ; add W to TMP1 => result is DOUT-Pin for Signal-LED movf TMP1, W ; writes TMP1 to W (for use with MIOS_Dout_PinSet....) IFSET LC_MPROC_IN, 1, CALL MIOS_Dout_PinSet1 ; set LED "ON" if bit 1 of Meter_Mode-Byte is "1" IFCLR LC_MPROC_IN, 1, CALL MIOS_Dout_PinSet0 ; set LED "OFF" if bit 1 of Meter_Mode-Byte is "0" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Or do we have to make a "SIGNAL_LED_REQUEST"-Flag and move the work to an extra subroutine called by "USER_Tick" or anything else? Bye Pearl
  2. Hi TK ... I will try this today :D Thanx and Bye Pearl
  3. Pearl

    LC_Leddigits

    Hallo TK ... Is OK ... Ist halt das Risioko wenn man so voreilig ist und das umzuprogrammierem traue ich mich noch nicht zu (wenn schon so kleine Ergänzungen wie ein paar zusätzliche Encoder mich ins straucheln bringen ;-) ). Ich hab inzwischen auch ein neues Display geroutet. Gruß Pearl
  4. Hi TK ... Additional info : - LC_SFB.inc : I don't know exactly (got only the online-partition here) but it's standard code from lc emulation (ver. 4) - no changes - if I left out 4 lines everything is ok ... it seems that the pointer from the LC_SFB.inc is 1023 or less. - I can reproduce this with left out 3 lines --> makes error "Argument out of range(1024 .....)" and so on - the new subs LC_ENC_SendNPRN and LC_SendCC are empty at the moment ( only "return") p.s. If it is ok we can post in german till we found the solution. [it would be much easier to describe the problem ;-) ] Bye Pearl
  5. Hi there ... I want to add some encoders to the lc-emulation but if I try to compile the new file I got the following message: Executing: "C:\Programme\MPLAB IDE\MCHIP_Tools\mpasmwin.exe" /q /p18F452 "main.asm" /l"main.lst" /e"main.err" Error[126]  D:\REMOTECONTROL\MIOS\2_XT2_MIDIBOX_LC_V1_4\LC_SFB.INC 238 : Argument out of range (1027 not between -1024 and 1023) Halting build on first failure as requested. BUILD FAILED my code in "enc.inc": USER_ENC_NotifyChange    ;; if encoder number within 0 and 7, send a V-pot event    movlw    0x07    IFLEQ    MIOS_PARAMETER1, ACCESS, rgoto LC_ENC_SendVPot    movf    MIOS_PARAMETER1, W    ;; if encoder number == 8, send jog-wheel event    xorlw    0x08    bz    LC_ENC_SendJogWheel       ;; if encoder number within 9 and 13, send NRPN-event    movf    MIOS_PARAMETER1, W    xorlw    0x09    bz LC_ENC_SendNRPN    movf    MIOS_PARAMETER1, W    xorlw    0x0A    bz LC_ENC_SendNRPN    movf    MIOS_PARAMETER1, W    xorlw    0x0B    bz LC_ENC_SendNRPN    movf    MIOS_PARAMETER1, W    xorlw    0x0C    bz LC_ENC_SendNRPN       ;; if encoder number > 13, send CC-event    movlw    0x0D    IFGEQ    MIOS_PARAMETER1, ACCESS, rgoto LC_ENC_SendCC    ;; else do nothing    return LC_ENC_SendNPRN and LC_SendCC are new subroutines to handle NRPN/CC - events. Any idea wath's wrong? thnx Pearl
  6. Pearl

    LC_Leddigits

    Hallo TK ... Ich hab mich gerade mit den geplanten LED-Digits für die Midibox LC beschäftigt und wollte mal fragen, warum hier 2x 8 Anoden für die LED-Elemente geplant sind? (Hab nämlich seit einiger Zeit schon ein fertiges LED-SMTP-Modul, wo ich aber nur 10 Katoden + 8 Anoden habe; analog der Bauweise für die LED-Ringe und man bräuchte dann eigentlich auch nur 3 Shift-Register. ). ?Vielleicht braucht man auch bloß den Code anzupassen? ?Oder hab ich da ein Verständnisproblem ?? Ostergrüße wünscht Pearl
  7. Hi ... I can't measure any value of resistance so I think it's an isolator and they really send me the wrong type. Thanx and Bye Pearl
  8. Hi there ... Is there an easy way to proof if faderknobs are touchsensitive or not? I bought some touchsensitive knobs from an official distributor but they don't work on my lc-clone. If I test my faders without these knobs then touchsensitive detection is ok. And now I don't know if they sold me the wrong type or do I have to change something anywhere. Bye Pearl
  9. Hi there ... hope I can clear some issues. Today Cubase only supports one Mackie-Contoller an NO Extension. -> you can connect more than one unit on different MIDI-Ports but they all do handle the same 8 fader In Feburary Steinberg wants to release a new update of their Cubase SX2 wich will support an Extension-Unit. -> then you can connect one Main-Unit with 8 Fader and one (or more I don't know) Extension-Unit with 8 Fader - makes together 16 (or more) http://forum.cubase.net/forum/Forum27/HTML/000015.html If you are using Cubase SX2 take care of the lack of generic support (only "Volumen" and "Pan" are avaiable). With the next major Upgrade Steinberg wants to intruduce a knew SDK for controlling Cubase/Nuendo with individual remote-controllers. This solves also the generic-remote-problem (to find anywhere in their forum) Hope this helps Bye Pearl
  10. Hallo Thorsten ... bin wegen Beruf erst am Wochenende in der Lage das zu testen. Ich halte Dich auf dem Laufenden ... Gruß Pearl
  11. Hallo ... Ich habe die PIC-ID auf 0 gelassen (ist glaub ich auch der Standard für Mios (1.4b)). Ich habe das fertige Mios-Syx für den Upload benutzt (oder muss ich dort noch einmal irgendwo die ID patchen? Gruß Pearl
  12. Hallo ... Ich bekomme die Mios-Firmware nicht funktionsfähig auf den PIC !!! Beschreibung: - PC mit MBHP_USB - wird fehlerfrei erkannt - mit IC-Proc den Bootloader (v1b) mit der ID xx...xx1000 auf den PIC gebrannt - fehlerfrei mit Überprüfung - MidiOX mit der Konfiguration der Webseite (Delay=750;Buffer=2048/8) - MBHP_USB getestet MIDI-Loop mit Send/Receive - fehlerfrei - PIC meldet sich richtig mit "F0 00 00 7E 40 00 01 F7" alle 2 Sekunden ... soweit so gut ... also: - PIC eingeschaltet und nach dem Request den Sysex-Upload gestartet ... scheint zu funktionieren denn die Pakete werden ohne Fehler bestätigt TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT 0001DB58 7 1 F0 Buffer: 8 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 01 F7 0001E24C 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 60 F7 0001E691 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 1C F7 0001EAD7 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 47 F7 0001EF1D 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 4C F7 0001F363 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 32 F7 0001F7A9 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 0B F7 0001FBEF 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 0C F7 00020035 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 7E F7 0002047A 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 7B F7 000208C0 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 7E F7 00020D06 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 61 F7 0002114C 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 53 F7 00021592 7 1 F0 Buffer: 9 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 0F 56 F7 0002252E 7 1 F0 Buffer: 8 Bytes System Exclusive SYSX: F0 00 00 7E 40 00 01 F7 So und jetzt zu dem Problem : Nach dem scheinbar erfolgreichen Upload erscheint trotzdem der Sysex-Request alle 2 Sekunden, als ob die Firmware nicht da wäre!!??!! Ich habe das mit verschiedenen PICs probiert an verschiedenen Core-Modulen und immer dasselbe Ergebnis. Jetzt bin ich mit meinem Latein am Ende :-( und für ein paar Tipps sehr dankbar. Gruß Pearl
  13. Hi ... Ich habs gefunden : in der "main.asm" fehlt der Verweis auf die "app_lcd.inc" Gruß Pearl
  14. Hallo TK ... "app_lcd.inc" ist im Archiv vorhanden und auch im Projekt eingebunden ... daran kann es leider nicht liegen (alle anderen Projekte kann ich ohne Probleme kompilieren) Gruß Pearl
  15. Hi ... ... beim Kompilieren der LC Firmware v1.3 bekomme ich in MPLAB folgende Fehlermeldung: Deleting intermediary files... done. Executing: "C:\Programme\MPLAB IDE\MCHIP_Tools\mpasmwin.exe" /q /p18F452 "main.asm" /l"main.lst" /e"main.err" Error[113] D:\REMOTECONTROL\MIOS\MIDIBOX_LC_V1_3\USER_VECTORS.INC 45 : Symbol not previously defined (USER_LCD_Init) Error[113] D:\REMOTECONTROL\MIOS\MIDIBOX_LC_V1_3\USER_VECTORS.INC 46 : Symbol not previously defined (USER_LCD_Clear) Error[113] D:\REMOTECONTROL\MIOS\MIDIBOX_LC_V1_3\USER_VECTORS.INC 47 : Symbol not previously defined (USER_LCD_CursorSet) Error[113] D:\REMOTECONTROL\MIOS\MIDIBOX_LC_V1_3\USER_VECTORS.INC 48 : Symbol not previously defined (USER_LCD_PrintChar) Halting build on first failure as requested. BUILD FAILED Was läuft da falsch ? Bei der Version v1.1.2b läuft das noch. Gruß Pearl
  16. Hi jesaiplu ... If you are from Europa I can offer you a G-LCD with KS0108 for around 78,- EUR see http://www.midibox.org/cgi-bin/yabb/YaBB.cgi?board=parts_q;action=display;num=1056572689 Bye Pearl
  17. Is there anybody else how need a ks0108 based graphic-display? I will order at the beginning of the next week. Bye Pearl
  18. Adress is: Gleichmann & Co. Electronics GmbH Industriestraße 16 76297 Stutensee Tel.: 0049 (0)7249 910-151 Fax: 0049 (0)7249 4232 The Displays are from TRULY (www.truly.de) Bye Pearl
  19. Hi Dimitris, I got a price for 3-5 Sample-LCDs from a german distributor so if you need a display, I can try to bye another one and send it to you. - 240x64 Pixel - KS0108 Controller - Price: 78,- EUR/Stck.  incl. MwSt   - Backlight = yellow-led I've send TK the datasheet and it's OK. Bye Pearl
  20. Hi .... do we have to connect every VSS- and VCC- pin of the ic or is one times enough and the pins are connected together inside? Or is a pcb from Mike avaiable next days/weeks ? Bye Pearl
  21. Pearl

    LCDs KS0108

    Hallo Bastler ;D Ich hab von einem Distibutor gerade ein Angebot für ein paar LCDs aus japanischem Lagerbestand. - 240x64 Pixel - KS0108 Controller, also die Guten ;) - Preis: 78,- EUR/Stck. incl. MwSt :'( - Backlight = yellow-led Falls jemand Bedarf hat versuch ich 2-3 Stück mitzubestellen (PDF schick ich per eMail - gibt's leider nicht im Netz). Gruß Pearl
  22. Hallo ... Könnte mann die 3 Stück MF-Module mit LM317 quasi parallel an 1x 9V( oder 12V)/3,5 A anschließen, die Core-Module und LCDs parallel an 1x 9V/1A oder ist es besser die verschiedenen Module auf mehrere Sekundärkreise von Trafos aufzuteilen (je 2x 9V/1A usw.)? Gruß Pearl
  23. Hi ... on my faders i got between 13 - 15 Ohm at the end. With 10-bit resolution we have 10.000 Ohm/1024 makes 9,765625 Ohm for every step. So we have to subtract one or two bits(steps) to get the right result. Is this calculation right and is it possible to do this by the firmware? Pearl
  24. Hi ... the online-shop is not avaiable now, that's right. But if you really want to bye this one, try to order by fax. Delivery to London is possible, but if you want to know how much it is, you have to ask for (at their website they only write the costs for delivery in Germany). Hope I could help you ... Pearl
  25. I got APLS- Motorfaders, but I will check it. Thanx
×
×
  • Create New...