-
Posts
1,285 -
Joined
-
Last visited
-
Days Won
72
Content Type
Profiles
Forums
Blogs
Gallery
Posts posted by Phatline
-
-
hey ho lets go > that was the problem! THX TK, LATIGID!!!!!
-
1
-
-
german is not german... i was on a trace...flucke and me.
ok i think i got the problem, i soldered a hc165 instead of a 595
, i now desoldered it, but with that action i lost Pin1 and 15 which when it can compaired with a DOUTX4 module is output 0 and 1,
on the rear layer where the 595 IC20 is located, i cant see any trace or VIA where i can connect them with a wire...or are these pins not used on this layout...?
thx 4 help
-
i wrote him a pm.
but a hardware problem? when i press them green buttons they went into cyan, sounds like software... however, lets see what latigid say.
-
that was a journey... aufschrauben, das pinout ihrgendwo rausmessen, löten... geht nicht.... anderes core wo gefunden - weils ja nihrgends diagram für core mini für gibt...der ladgid...
how ever
no, with the 8bit Core it is the same Problem! so the BLM is not the problem.
-
it works great except those 8 LEDs.
via midi yes, and yes optocoplers, 6n138 on those midi_io boards, both cores are STM32F4...
BLM,s CorePort 32 (Midi A),
BLM_SCALER_COMMUNICATION app on a Core32 on Port 34...
i have to solder midiconnections for my minicore... i try it later
i tryd to to deactivate the testmode = 0; on the BLM code, but that change nothing
void APP_Init(void){ sysexRequestTimer = 0; midiDataReceived = 0; testmode = 0; MIOS32_BOARD_LED_Init(0xffffffff); // initialize all LEDs BLM_SCALAR_Init(0); // initialize BLM_SCALAR driver SYSEX_Init(0); // initialize SysEx parser xTaskCreate(TASK_BLM_Check, (signed portCHAR *)"BLM_Check", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_BLM_CHECK, NULL); // start BLM check task }
-
BLM_SCALAR_MASTER_ForceDisplayUpdate();
dont change something
when Plugin the Power of the BLM first, this pattern accours: this also accours when no midi connection is there for the host. green is color 1
i can now press one of these buttons and then they turn into cyan (both leds on), it dont toggles back, it stays cyan (still no host com via midi required, but with host it is the same...)
now with connected host application, LED 0-8 (button_x) should be blue - because i sent all them a 1 via your driver.
the next picture shows blue vertical Buttons in the matrix ... these or simular pattens accouring when moving one of the built in faders...
of course the Verticals only appears if do somehting with the incoming data...:
static s32 APP_BLM_ButtonCallback(u8 blm, blm_scalar_master_element_t element_id, u8 button_x, u8 button_y, u8 button_depressed){ if(element_id == 0) { //lets toggle the Matrix Data if(button_depressed == 0) { MATRIX[MtxPartNr][button_x][button_y] =! MATRIX[MtxPartNr][button_x][button_y];}}
when i move one of them faders on the BLM, then on my HOST i got via Mios studio follwing:
Quote[17494.271] Port:22 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17494.271] Port:22 Type:4 Evnt0:7E Evnt1:4E Evnt2:00
[17494.271] Port:22 Type:4 Evnt0:01 Evnt1:10 Evnt2:10
[17494.271] Port:22 Type:4 Evnt0:02 Evnt1:01 Evnt2:01
[17495.501] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.501] Port:10 Type:7 Evnt0:00 Evnt1:01 Evnt2:F7
[17495.501] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.502] Port:10 Type:4 Evnt0:7E Evnt1:40 Evnt2:00
[17495.502] Port:10 Type:4 Evnt0:0D Evnt1:02 Evnt2:00
[17495.502] Port:10 Type:4 Evnt0:00 Evnt1:00 Evnt2:00
[17495.502] Port:10 Type:4 Evnt0:00 Evnt1:00 Evnt2:01
[17495.502] Port:10 Type:4 Evnt0:00 Evnt1:00 Evnt2:00
[17495.502] Port:10 Type:6 Evnt0:00 Evnt1:F7 Evnt2:00
[17495.666] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.666] Port:10 Type:7 Evnt0:00 Evnt1:01 Evnt2:F7
[17495.668] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.668] Port:10 Type:7 Evnt0:00 Evnt1:02 Evnt2:F7
[17495.670] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.670] Port:10 Type:7 Evnt0:00 Evnt1:03 Evnt2:F7
[17495.672] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.672] Port:10 Type:7 Evnt0:00 Evnt1:04 Evnt2:F7
[17495.675] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.677] Port:10 Type:7 Evnt0:00 Evnt1:05 Evnt2:F7
[17495.679] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.679] Port:10 Type:7 Evnt0:00 Evnt1:06 Evnt2:F7
[17495.681] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.681] Port:10 Type:7 Evnt0:00 Evnt1:07 Evnt2:F7
[17495.683] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.683] Port:10 Type:7 Evnt0:00 Evnt1:08 Evnt2:F7
[17495.685] Port:10 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17495.685] Port:10 Type:7 Evnt0:00 Evnt1:09 Evnt2:F7
[17497.248] Port:22 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17497.249] Port:22 Type:4 Evnt0:7E Evnt1:4E Evnt2:00
[17497.249] Port:22 Type:4 Evnt0:01 Evnt1:10 Evnt2:10
[17497.249] Port:22 Type:4 Evnt0:02 Evnt1:01 Evnt2:01
[17497.250] Port:22 Type:6 Evnt0:01 Evnt1:F7 Evnt2:00
[17497.255] Port:22 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17497.255] Port:22 Type:4 Evnt0:7E Evnt1:4E Evnt2:00
[17497.257] Port:22 Type:7 Evnt0:0F Evnt1:00 Evnt2:F7
[17498.663] Port:22 Type:C Evnt0:CB Evnt1:01 Evnt2:00
[17498.667] Port:22 Type:4 Evnt0:F0 Evnt1:01 Evnt2:18
[17498.675] Port:22 Type:4 Evnt0:01 Evnt1:3E Evnt2:01
[17498.688] Port:22 Type:D Evnt0:DE Evnt1:01 Evnt2:00
[17498.688] Port:22 Type:D Evnt0:DE Evnt1:00 Evnt2:00
[17498.691] Port:22 Type:D Evnt0:DE Evnt1:01 Evnt2:00
[17498.691] Port:22 Type:D Evnt0:DE Evnt1:25 Evnt2:00
[17498.694] Port:22 Type:D Evnt0:DE Evnt1:01 Evnt2:00
[17498.694] Port:22 Type:D Evnt0:DE Evnt1:4B Evnt2:00
[17498.697] Port:22 Type:D Evnt0:DE Evnt1:01 Evnt2:00
[17498.698] Port:22 Type:D Evnt0:DE Evnt1:76 Evnt2:00
[17498.700] Port:22 Type:D Evnt0:DE Evnt1:01 Evnt2:00
[17498.705] Port:22 Type:C Evnt0:C8 Evnt1:01 Evnt2:00
[17498.707] Port:22 Type:E Evnt0:EA Evnt1:01 Evnt2:0A
[17498.709] Port:22 Type:E Evnt0:EA Evnt1:01 Evnt2:2A
[17498.711] Port:22 Type:E Evnt0:EA Evnt1:01 Evnt2:4E
[17498.713] Port:22 Type:E Evnt0:EA Evnt1:01 Evnt2:72
[17498.721] Port:22 Type:D Evnt0:DA Evnt1:01 Evnt2:00
[17498.721] Port:22 Type:D Evnt0:DA Evnt1:02 Evnt2:00
[17498.723] Port:22 Type:D Evnt0:DA Evnt1:01 Evnt2:00
[17498.723] Port:22 Type:D Evnt0:DA Evnt1:23 Evnt2:00
[17498.725] Port:22 Type:D Evnt0:DA Evnt1:01 Evnt2:00
[17498.725] Port:22 Type:D Evnt0:DA Evnt1:4E Evnt2:00
[17498.727] Port:22 Type:D Evnt0:DA Evnt1:01 Evnt2:00
[17498.727] Port:22 Type:D Evnt0:DA Evnt1:71 Evnt2:00
[17498.729] Port:22 Type:D Evnt0:DA Evnt1:01 Evnt2:00
[17498.735] Port:22 Type:E Evnt0:E1 Evnt1:01 Evnt2:0E
[17498.737] Port:22 Type:E Evnt0:E1 Evnt1:01 Evnt2:33
[17498.739] Port:22 Type:E Evnt0:E1 Evnt1:01 Evnt2:63
[17498.747] Port:22 Type:E Evnt0:E5 Evnt1:01 Evnt2:12
[17498.749] Port:22 Type:E Evnt0:E5 Evnt1:01 Evnt2:3E
[17498.751] Port:22 Type:E Evnt0:E5 Evnt1:01 Evnt2:6B
[17498.757] Port:22 Type:C Evnt0:C6 Evnt1:01 Evnt2:00
[17498.759] Port:22 Type:4 Evnt0:F0 Evnt1:01 Evnt2:1F
[17498.763] Port:22 Type:4 Evnt0:01 Evnt1:4A Evnt2:01
[17498.769] Port:22 Type:C Evnt0:C3 Evnt1:01 Evnt2:00
[17498.771] Port:22 Type:E Evnt0:EC Evnt1:01 Evnt2:17
[17498.773] Port:22 Type:E Evnt0:EC Evnt1:01 Evnt2:42
[17498.775] Port:22 Type:E Evnt0:EC Evnt1:01 Evnt2:66
[17498.783] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.783] Port:22 Type:D Evnt0:DB Evnt1:03 Evnt2:00
[17498.785] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.785] Port:22 Type:D Evnt0:DB Evnt1:2A Evnt2:00
[17498.787] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.787] Port:22 Type:D Evnt0:DB Evnt1:4B Evnt2:00
[17498.789] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.789] Port:22 Type:D Evnt0:DB Evnt1:73 Evnt2:00
[17498.791] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.797] Port:22 Type:D Evnt0:DE Evnt1:01 Evnt2:00
[17498.797] Port:22 Type:D Evnt0:DE Evnt1:03 Evnt2:00
[17498.800] Port:22 Type:D Evnt0:DE Evnt1:01 Evnt2:00
[17498.801] Port:22 Type:D Evnt0:DE Evnt1:32 Evnt2:00
[17498.803] Port:22 Type:D Evnt0:DE Evnt1:01 Evnt2:00
[17498.803] Port:22 Type:D Evnt0:DE Evnt1:62 Evnt2:00
[17498.805] Port:22 Type:D Evnt0:DE Evnt1:01 Evnt2:00
[17498.814] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.814] Port:22 Type:D Evnt0:DB Evnt1:02 Evnt2:00
[17498.817] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.817] Port:22 Type:D Evnt0:DB Evnt1:29 Evnt2:00
[17498.820] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.820] Port:22 Type:D Evnt0:DB Evnt1:4A Evnt2:00
[17498.823] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.823] Port:22 Type:D Evnt0:DB Evnt1:6E Evnt2:00
[17498.826] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.837] Port:22 Type:E Evnt0:E0 Evnt1:01 Evnt2:0A
[17498.841] Port:22 Type:E Evnt0:E0 Evnt1:01 Evnt2:2B
[17498.845] Port:22 Type:E Evnt0:E0 Evnt1:01 Evnt2:53
[17498.849] Port:22 Type:E Evnt0:E0 Evnt1:01 Evnt2:79
[17498.863] Port:22 Type:E Evnt0:E2 Evnt1:01 Evnt2:02
[17498.868] Port:22 Type:E Evnt0:E2 Evnt1:01 Evnt2:26
[17498.873] Port:22 Type:E Evnt0:E2 Evnt1:01 Evnt2:46
[17498.879] Port:22 Type:E Evnt0:E2 Evnt1:01 Evnt2:6F
[17498.904] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.904] Port:22 Type:F Evnt0:FB Evnt1:00 Evnt2:00
[17498.909] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.909] Port:22 Type:D Evnt0:DB Evnt1:20 Evnt2:00
[17498.915] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.915] Port:22 Type:D Evnt0:DB Evnt1:40 Evnt2:00
[17498.921] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.921] Port:22 Type:D Evnt0:DB Evnt1:66 Evnt2:00
[17498.927] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17498.944] Port:22 Type:D Evnt0:D2 Evnt1:01 Evnt2:00
[17498.949] Port:22 Type:3 Evnt0:F2 Evnt1:01 Evnt2:12
[17498.955] Port:22 Type:3 Evnt0:F2 Evnt1:01 Evnt2:33
[17498.961] Port:22 Type:3 Evnt0:F2 Evnt1:01 Evnt2:60
[17498.976] Port:22 Type:C Evnt0:C3 Evnt1:01 Evnt2:00
[17500.164] [MIOS32_MIDI_Receive_Handler] Timeout on port 0x22
[17502.248] Port:22 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17502.249] Port:22 Type:4 Evnt0:7E Evnt1:4E Evnt2:00
[17502.250] Port:22 Type:7 Evnt0:0F Evnt1:00 Evnt2:F7
[17505.241] Port:22 Type:F Evnt0:FF Evnt1:00 Evnt2:00
[17505.241] Port:22 Type:B Evnt0:B2 Evnt1:01 Evnt2:01
[17505.246] Port:22 Type:C Evnt0:CD Evnt1:01 Evnt2:00
[17505.246] Port:22 Type:F Evnt0:FF Evnt1:00 Evnt2:00
[17505.246] Port:22 Type:C Evnt0:CD Evnt1:01 Evnt2:00
[17505.250] Port:22 Type:C Evnt0:CA Evnt1:01 Evnt2:00
[17505.250] Port:22 Type:F Evnt0:FF Evnt1:00 Evnt2:00
[17505.250] Port:22 Type:C Evnt0:CA Evnt1:01 Evnt2:00
[17505.253] Port:22 Type:C Evnt0:CA Evnt1:01 Evnt2:00
[17505.253] Port:22 Type:F Evnt0:FF Evnt1:00 Evnt2:00
[17505.253] Port:22 Type:C Evnt0:CA Evnt1:01 Evnt2:00
[17505.255] Port:22 Type:C Evnt0:CA Evnt1:01 Evnt2:00
[17505.255] Port:22 Type:F Evnt0:FF Evnt1:00 Evnt2:00
[17505.522] Port:22 Type:C Evnt0:CA Evnt1:01 Evnt2:00
[17505.525] Port:22 Type:D Evnt0:D7 Evnt1:01 Evnt2:00
[17505.536] Port:22 Type:8 Evnt0:82 Evnt1:01 Evnt2:62
[17505.540] Port:22 Type:8 Evnt0:82 Evnt1:01 Evnt2:3A
[17505.545] Port:22 Type:8 Evnt0:82 Evnt1:01 Evnt2:13
[17505.552] Port:22 Type:2 Evnt0:F3 Evnt1:01 Evnt2:00
[17505.557] Port:22 Type:D Evnt0:D3 Evnt1:01 Evnt2:00
[17505.564] Port:22 Type:9 Evnt0:93 Evnt1:01 Evnt2:73
[17505.568] Port:22 Type:9 Evnt0:93 Evnt1:01 Evnt2:52
[17505.573] Port:22 Type:9 Evnt0:93 Evnt1:01 Evnt2:2A
[17505.578] Port:22 Type:9 Evnt0:93 Evnt1:01 Evnt2:05
[17505.594] Port:22 Type:C Evnt0:C2 Evnt1:01 Evnt2:00
[17505.601] Port:22 Type:9 Evnt0:9B Evnt1:01 Evnt2:7A
[17505.607] Port:22 Type:9 Evnt0:9B Evnt1:01 Evnt2:5A
[17505.612] Port:22 Type:9 Evnt0:9B Evnt1:01 Evnt2:36
[17505.618] Port:22 Type:9 Evnt0:9B Evnt1:01 Evnt2:13
[17505.637] Port:22 Type:D Evnt0:D2 Evnt1:01 Evnt2:00
[17505.653] Port:22 Type:8 Evnt0:89 Evnt1:01 Evnt2:69
[17505.659] Port:22 Type:8 Evnt0:89 Evnt1:01 Evnt2:48
[17505.666] Port:22 Type:8 Evnt0:89 Evnt1:01 Evnt2:22
[17505.673] Port:22 Type:8 Evnt0:89 Evnt1:01 Evnt2:02
[17505.698] Port:22 Type:9 Evnt0:99 Evnt1:01 Evnt2:73
[17505.705] Port:22 Type:9 Evnt0:99 Evnt1:01 Evnt2:53
[17505.714] Port:22 Type:9 Evnt0:99 Evnt1:01 Evnt2:2E
[17505.722] Port:22 Type:9 Evnt0:99 Evnt1:01 Evnt2:0B
[17505.748] Port:22 Type:C Evnt0:CA Evnt1:01 Evnt2:00
[17505.768] Port:22 Type:8 Evnt0:8A Evnt1:01 Evnt2:69
[17505.776] Port:22 Type:8 Evnt0:8A Evnt1:01 Evnt2:47
[17505.786] Port:22 Type:8 Evnt0:8A Evnt1:01 Evnt2:23
[17505.797] Port:22 Type:8 Evnt0:8A Evnt1:01 Evnt2:03
[17505.825] Port:22 Type:C Evnt0:C3 Evnt1:01 Evnt2:00
[17505.847] Port:22 Type:8 Evnt0:83 Evnt1:01 Evnt2:62
[17505.856] Port:22 Type:8 Evnt0:83 Evnt1:01 Evnt2:42
[17505.869] Port:22 Type:8 Evnt0:83 Evnt1:01 Evnt2:22
[17505.880] Port:22 Type:8 Evnt0:83 Evnt1:01 Evnt2:00
[17505.899] Port:22 Type:D Evnt0:DB Evnt1:01 Evnt2:00
[17505.919] Port:22 Type:9 Evnt0:9A Evnt1:01 Evnt2:77
[17505.928] Port:22 Type:9 Evnt0:9A Evnt1:01 Evnt2:57
[17505.938] Port:22 Type:9 Evnt0:9A Evnt1:01 Evnt2:36
[17505.947] Port:22 Type:9 Evnt0:9A Evnt1:01 Evnt2:16
[17505.955] Port:22 Type:5 Evnt0:F5 Evnt1:00 Evnt2:00
[17505.973] Port:22 Type:D Evnt0:D4 Evnt1:01 Evnt2:00
[17505.993] Port:22 Type:9 Evnt0:92 Evnt1:01 Evnt2:72
[17506.002] Port:22 Type:9 Evnt0:92 Evnt1:01 Evnt2:52
[17506.011] Port:22 Type:9 Evnt0:92 Evnt1:01 Evnt2:32
[17506.020] Port:22 Type:9 Evnt0:92 Evnt1:01 Evnt2:12
[17506.043] Port:22 Type:D Evnt0:D2 Evnt1:01 Evnt2:00
[17506.061] Port:22 Type:8 Evnt0:8E Evnt1:01 Evnt2:6B
[17506.070] Port:22 Type:8 Evnt0:8E Evnt1:01 Evnt2:4A
[17506.079] Port:22 Type:8 Evnt0:8E Evnt1:01 Evnt2:26
[17506.086] Port:22 Type:8 Evnt0:8E Evnt1:01 Evnt2:06
[17506.109] Port:22 Type:C Evnt0:C2 Evnt1:01 Evnt2:00
[17506.118] Port:22 Type:A Evnt0:A1 Evnt1:01 Evnt2:7A
[17506.129] Port:22 Type:A Evnt0:A1 Evnt1:01 Evnt2:5A
[17506.137] Port:22 Type:A Evnt0:A1 Evnt1:01 Evnt2:39
[17506.147] Port:22 Type:A Evnt0:A1 Evnt1:01 Evnt2:19
[17506.157] Port:22 Type:5 Evnt0:F6 Evnt1:00 Evnt2:00
[17506.177] Port:22 Type:D Evnt0:D6 Evnt1:01 Evnt2:00
[17506.199] Port:22 Type:9 Evnt0:92 Evnt1:01 Evnt2:72
[17506.207] Port:22 Type:9 Evnt0:92 Evnt1:01 Evnt2:52
[17506.217] Port:22 Type:9 Evnt0:92 Evnt1:01 Evnt2:30
[17506.227] Port:22 Type:9 Evnt0:92 Evnt1:01 Evnt2:0E
[17506.260] Port:22 Type:C Evnt0:CE Evnt1:01 Evnt2:00
[17506.286] Port:22 Type:8 Evnt0:8A Evnt1:01 Evnt2:6A
[17506.295] Port:22 Type:8 Evnt0:8A Evnt1:01 Evnt2:4A
[17506.307] Port:22 Type:8 Evnt0:8A Evnt1:01 Evnt2:2A
[17506.317] Port:22 Type:8 Evnt0:8A Evnt1:01 Evnt2:0A
[17506.355] Port:22 Type:C Evnt0:C9 Evnt1:01 Evnt2:00
[17506.378] Port:22 Type:8 Evnt0:86 Evnt1:01 Evnt2:66
[17506.390] Port:22 Type:8 Evnt0:86 Evnt1:01 Evnt2:42
[17506.401] Port:22 Type:8 Evnt0:86 Evnt1:01 Evnt2:22
[17506.411] Port:22 Type:8 Evnt0:86 Evnt1:01 Evnt2:00
[17506.429] Port:22 Type:D Evnt0:DE Evnt1:01 Evnt2:00
[17506.455] Port:22 Type:9 Evnt0:9E Evnt1:01 Evnt2:7E
[17506.465] Port:22 Type:9 Evnt0:9E Evnt1:01 Evnt2:5D
[17506.474] Port:22 Type:9 Evnt0:9E Evnt1:01 Evnt2:3C
[17506.485] Port:22 Type:9 Evnt0:9E Evnt1:01 Evnt2:1B
[17506.490] Port:22 Type:F Evnt0:FA Evnt1:00 Evnt2:00
[17506.501] Port:22 Type:9 Evnt0:9E Evnt1:01 Evnt2:01
[17506.506] Port:22 Type:D Evnt0:D6 Evnt1:01 Evnt2:00
[17506.523] Port:22 Type:9 Evnt0:96 Evnt1:01 Evnt2:76
[17506.530] Port:22 Type:9 Evnt0:96 Evnt1:01 Evnt2:56
[17506.544] Port:22 Type:9 Evnt0:96 Evnt1:01 Evnt2:36
[17506.597] Port:22 Type:9 Evnt0:96 Evnt1:01 Evnt2:16
[17507.249] Port:22 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17507.250] Port:22 Type:4 Evnt0:7E Evnt1:4E Evnt2:00
[17507.250] Port:22 Type:4 Evnt0:01 Evnt1:10 Evnt2:10
[17507.250] Port:22 Type:4 Evnt0:02 Evnt1:01 Evnt2:01
[17507.251] Port:22 Type:6 Evnt0:01 Evnt1:F7 Evnt2:00
[17507.256] Port:22 Type:4 Evnt0:F0 Evnt1:00 Evnt2:00
[17507.256] Port:22 Type:4 Evnt0:7E Evnt1:4E Evnt2:00
[17507.258] Port:22 Type:7 Evnt0:0F Evnt1:00 Evnt2:F7 -
to be exactly: when i connect the POWER off the first Host, and a few milliseconds later the BLM, then the BLM startup in a blank mode - all buttons then are deactivated
in any other case, the BLM start up vie this Green LEDS on Horizontal 0 4 8 12, and Vertical 0 1 2 3. and these "positions/fix-points" will not turn off - they change the color yes, but turning off...no way.
dont matter which BLM_SCALAR_MASTER_LED_Set i do...
how ever as attachment a example:
when pressing the left most horizontal EXTRA button, you load some Matrix content into the BLM... when pressing the 2nd EXTRA button the BLM get loadet with a empty array, however the first 7 horizontal extra buttons are loading 7 different Arrays into the Matrix
these 7 buttons are in Radio-Switch-Mode, which means, if you press one of them, the others change their color to e.g.blue, while the active should be shown...in theory...but when this green LEDs (on Step 1 5 9 13) are shown from startup, they dont go awayy,
my code in this case:
u8 extra[2][16] = {{}}; u8 MtxPartNr = 0; if(element_id == 1) {//x-extra-buttons if(button_depressed == 0) { //avoid double triggering, since we toggle... if(button_x <= 6) { int x; for(x=0; x<7; x ){extra[0][x] = 1;} //change all Songpart LEDs to e.g in my case blue extra[0][button_x] = 2; MtxPartNr = button_x; //activate one of the 7 songparts-indicators /now dumpout all extra X LEDs int x; for(x=0; x<16; x ) {BLM_SCALAR_MASTER_LED_Set(ID, 1, x, 0, extra[0][x]);} //(blm, element_id, button_x, button_y, new_colour); }}}
what i am wondering now is a. the Green LEDs thing... and b.why the LED that get the command LED-Color "2" why it then is turned off...
and a 2nd strange thing..
I have activated the 4 Faders on my BLM on the 5A board, I have bridged 5B hardware side.
when i move the onboard Faders: I get follwing informations via a LCD print message into static s32 APP_BLM_ButtonCallback(u8 blm, blm_scalar_master_element_t element_id, u8 button_x, u8 button_y, u8 button_depressed){
element_id = 0 (which should be the Matrix)
button_x=1
and over button_y i got 5, 9 15, and other stuff when moving one of the faders. ----and that in the ButtonCallback Function???? this of course cause some Matrix Blinking....these are Matrix informations x=1 =2nd vertical row, and y 5 7 1.... are the LEDs of the 2nd row...
do you have a idea? or better a 32bit blm to test the file?
-
ah understand...happy programming
-
nice
compact code.
i only ask, because, i thougt there is a optimized transfair-methode for the Matrix, by transfairing row-wise in some kind of pattern... and because i have to rewrite the code so or so. (what is good idea anyway)
by analyze?g existing code e.g. a monster like SEQ - - for that i am to much newbee, i feel/think i got everything i need to do my job from here with your tutorial/explaination/documentation that you have made - very cool.
-
GREAT!
DANKEx1000
when i want to transfair a Matrix, ís there a better way then this: ? (@ least it work on my machine)
if( element_id == BLM_SCALAR_MASTER_ELEMENT_SHIFT ) { u8 counter = 0; for(counter=0; counter<16; counter++){ BLM_SCALAR_MASTER_LED_Set(0, 0, 0, counter, MtxPart[0][0][counter]); //(blm, element_id, button_x, button_y, new_colour); BLM_SCALAR_MASTER_LED_Set(0, 0, 1, counter, MtxPart[0][1][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 2, counter, MtxPart[0][2][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 3, counter, MtxPart[0][3][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 4, counter, MtxPart[0][4][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 5, counter, MtxPart[0][5][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 6, counter, MtxPart[0][6][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 7, counter, MtxPart[0][7][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 8, counter, MtxPart[0][8][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 9, counter, MtxPart[0][9][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 10, counter, MtxPart[0][10][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 11, counter, MtxPart[0][11][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 12, counter, MtxPart[0][12][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 13, counter, MtxPart[0][13][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 14, counter, MtxPart[0][14][counter]); BLM_SCALAR_MASTER_LED_Set(0, 0, 15, counter, MtxPart[0][15][counter]);} }
-
yeaH!
-
I am not clear what the optimized LED-Pattern Transfair is, the Readme says:
host updates all LEDs by sending CC events (Bn ..)
CC messages? can you give me a example? Do i need sysex handshakes 4 that, or can i simple send a CC,
i have a Array of Variables, call it Matrix{16[[16], ok now i want to transfair the whole data from one Core32 to the BLM Core32 (via Midi.)
-ok, up to now I send single Note Events for every cell, like this:
u8 CCoutPort = 32; u8 counter = 0; u8 Matrix[16][16] = {{}} for(Counter=0; Counter<16; Counter ) { MIOS32_MIDI_SendNoteOn(CCoutPort,0, Counter, Matrix[0][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,1, Counter, Matrix[1][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,2, Counter, Matrix[2][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,3, Counter, Matrix[3][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,4, Counter, Matrix[4][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,5, Counter, Matrix[5][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,6, Counter, Matrix[6][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,7, Counter, Matrix[7][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,8, Counter, Matrix[8][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,9, Counter, Matrix[9][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,10, Counter, Matrix[10][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,11, Counter, Matrix[11][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,12, Counter, Matrix[12][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,13, Counter, Matrix[13][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,14, Counter, Matrix[14][Counter]); MIOS32_MIDI_SendNoteOn(CCoutPort,15, Counter, Matrix[15][Counter]); }
and with this i can see coming the LEDs from Left to right...
The Stripped Down Readme:
QuoteMIDI Protocol
~~~~~~~~~~~~~All numbers in hexadecimal format!
<row>: 0..F (coded into MIDI channel)
<column>: 00..0F (Note Number)
<button-state>: 00: depressed, 7F: pressed
<colour>: 00: off, 20: green colour only, 40: red colour only, 7F: all colours (Decimal 32, 64,127)
<fader>: 00..0F (coded into MIDI channel)
Received LED events (single access):
+---------------------------------------+-----------------------------+
| BLM16x16 LEDs | 9<row> <column> <colour> |
| Extra column LEDs | 9<row> <40+column> <colour> |
| Extra row LEDs | 90 <60+column> <colour> |
| Additional extra LEDs (e.g. Shift) | 9F <60+function> <colour> |
+---------------------------------------+-----------------------------+BLM16x16 optimized LED pattern transfer (prefered usage):
+-----------------------------------------------+---------------------+
| column LEDs 0..6, green colour, 8th LED off | B<row> 10 <pattern> |
| column LEDs 0..6, green colour, 8th LED on | B<row> 11 <pattern> |
| column LEDs 8..14, green colour, 16th LED off | B<row> 12 <pattern> |
| column LEDs 8..14, green colour, 16th LED on | B<row> 13 <pattern> |
+-----------------------------------------------+---------------------+
| column LEDs 0..6, red colour, 8th LED off | B<row> 20 <pattern> |
| column LEDs 0..6, red colour, 8th LED on | B<row> 21 <pattern> |
| column LEDs 8..14, red colour, 16th LED off | B<row> 22 <pattern> |
| column LEDs 8..14, red colour, 16th LED on | B<row> 23 <pattern> |
+-----------------------------------------------+---------------------+Communication
~~~~~~~~~~~~~
- host requests layout informations with F0 00 00 7E 4E 00 00 F7
- this application replies with F0 00 00 7E 4E 00 01 ... F7 to send back the
available number of buttons and LEDs
- host updates all LEDs by sending CC events (Bn ..)As long as no MIDI data has been received after startup, the BLM is in test mode.
The buttons cycle the colour of the corresponding LED:
- first button press: green colour
- second button press: red colour
- third button press: both colours
- fourth button press: all LEDs off
- period===============================================================================
From [16][16] Array to CC - whats the way?
thnx for tips, and explaination - phat.
-
SOLVED > it was IC20, i soldered a 165 instead of a 595.
STM32F4 Core with Orginal Software got from here: mios32/trunk/apps/controllers/blm_scalar
The UI-Hardware is from latigid
Problem is when Powering up, there are lighting following vertical extra LEDs: 1, 5, 9, 13, in green color which is my Color LED
when now sending notes from a other core via midi into the BLM with commandos like following, then the result is not ok...
u8 green = 70; u8 blue = 32; u8 cyan = 120; //the next pairs off Commandos, are isolated code snippeds, they should //only visualize the 2 states off the LED ///COMMAND///////////////////////////////////////IN REALITY///// MIOS32_MIDI_SendNoteOn(CCoutPort,0,96,cyan); //cyan MIOS32_MIDI_SendNoteOn(CCoutPort,0,96,green); //green MIOS32_MIDI_SendNoteOn(CCoutPort,0,97,green); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,97,blue); //blue MIOS32_MIDI_SendNoteOn(CCoutPort,0,98,green); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,98,blue); //blue MIOS32_MIDI_SendNoteOn(CCoutPort,0,99,green); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,99,blue); //blue MIOS32_MIDI_SendNoteOn(CCoutPort,0,100,green); //green MIOS32_MIDI_SendNoteOn(CCoutPort,0,100,blue); //cyan MIOS32_MIDI_SendNoteOn(CCoutPort,0,101,green); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,101,blue); //blue MIOS32_MIDI_SendNoteOn(CCoutPort,0,102,green); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,102,blue); //blue MIOS32_MIDI_SendNoteOn(CCoutPort,0,103,green); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,103,blue); //blue MIOS32_MIDI_SendNoteOn(CCoutPort,0,104,cyan); //cyan MIOS32_MIDI_SendNoteOn(CCoutPort,0,104,0); //green MIOS32_MIDI_SendNoteOn(CCoutPort,0,105,blue); //BLUE MIOS32_MIDI_SendNoteOff(CCoutPort,0,105,0); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,106,cyan); //BLUE MIOS32_MIDI_SendNoteOff(CCoutPort,0,106,0); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,107,green); //OFF MIOS32_MIDI_SendNoteOff(CCoutPort,0,107,0); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,108,cyan); //CYAN MIOS32_MIDI_SendNoteOff(CCoutPort,0,108,0); //GREEN //dont matter if i choose NoteOff or NoteON MIOS32_MIDI_SendNoteOn(CCoutPort,0,109,green); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,109,0); //OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,110,green); //Both LEDs OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,110,0); //Both LEDs OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,111,green);} //Both LEDs OFF MIOS32_MIDI_SendNoteOn(CCoutPort,0,111,0);}} //Both LEDs OFF
-
V01.0 is up and Running >>> 160117_TM4BLM_V01.0.zip
old versions:
BLM-Scalar-Communication: BLM-UI @ skelleton level.... no Midiprocessing @ all but some basic Matrix-Userinterface Code (for programmers only...stripped down a bit...) >>> 160110_blm_scalar_communication.zip
first a view vocables:
TM short for TriggerMatrix? >http://midibox.org/forums/topic/18839-trigger-matrix-note-processing/
BLM16x16x short for ButtonLedMatrix? > http://midibox.org/forums/topic/19736-blm-16x16x-build-guide
Usage? > http://midibox.org/forums/topic/19207-tekkstar-midification-of-a-tama-techstar-306/
The Trigger Matrix is the Midi-Center in my Live-Music-Equipment, it interconnect follwing Device-groups:
I will remote my Triggermatrix-Project via the BLM16x16x, they are comunicating together via Midi:
Programming-Equipment:
BLM Layout 4 the Perform-Mode, the 2nd Mode is the EDIT-Mode, where i can change the Trigger-Routing (not displayed here)
Melody Retrigger, take the incoming Melody Notes from the Keyboard and trigger it with the Incoming DrumTriggers
Drum-Trigs are simple Trigger-Routes
The 4 Pots on the BLM are not used (since i removed them)
2x 2x40LCD + 17 Encoders + 2 Buttons are the UI 4 the TM, the rest is controlled via BLM
thx to TK and his BLM-Driver... it works simple and fast as hell now... also code is reduced much....factor 50 or more...
work in process
-
1 hour ago, TK. said:
This is a protection for people who don't refresh the page to ensure that they won't download the wrong version...
I clearly stated that the new version is called blm_scalar_v1_1, you even quoted it!
-> if you see the version blm_scalar_v1_0whatever, you obviously haven't refreshed the webpage.Best Regards, Thorsten.
ok thanx, ok works.
still the same problem with the 8bit core..... ok so then lets check the backside of the PCB.
it was RN18 soldering problem---
a new BLM is born!
-
1
-
-
On 1.1.2016 at 7:07 PM, TK. said:
Some updates from my side:
1) a new firmware blm_scalar_v1_1 can be downloaded from http://www.ucapps.de/mios_download.html
i think the upload for the 8bit code is corrupt, blm_scalar_v1_0a.zip has 1,4Kb
-
5 hours ago, latigid on said:
- Check that all diodes and LEDs have the correct orientation OK
- Those middle 8 LED pairs have their cathodes sunk on the transistors nearby (Q37 and Q35) so check the soldering there, also the adjacent resistors. Transistors OK, 10K to ground OK.
- Do all sets of four cathodes show continuity? Are any shorted to ground? No Short2Ground. No active LED @ALL, No Midi-Output-Notes in MIOS-Studio on the input monitor, by pressing the one of the 8 Buttons, no Reaction by giving Note-On-Messages via the midiinput of the BLM. Maybe a software side?
- Bases of the transistors go to RN18 (not labelled on your PCB) pins 12 and 14 respectively-these are on the backside...dont want to desamble the device....for now
- RN outputs to IC18 pins 4 and 2 respectively-these are on the backside...dont want to desamble the device....for now
there is no action on the BLM-Midi-Output by pressing one of the 8 buttons.
there is no action on the Buttons-LEDs when receiving (the right) note on/offs via BLM-Midi-Input
its a bit tricky to desamble the 32Bit BLM ;)
-
1
-
-
yes paste the complete path is working e.g.: "/home/triggermatrix/c/BLM_V01/project.hex"
i work with that workaround.
thanks,
i had problems with ubuntu 14, that i cant get fixed, so i decided to install ubuntu 15... it took several month to do this because i know i have to install the mios32 toolchain again - in the past it was everytime a time consuming process.
-
nope it is a linux or mios-studio problem
since this also accours when i use already compiled hex files from the mios32/apps programes.
-
its all good now.
-
after get running the toolchain, and succesfull build a hex file
, i got problems with the mios studio, when i browse a hex file, then mios stuido says "Error file doesnt exist" "junk at end of value"exact:
QuoteReading (zenity:12907): Gtk-WARNING **: Theme parsing error: gtk.css:27:35: Junk at end of value
(zenity:12907): Gtk-WARNING **: Theme parsing error: gtk.css:40:48: Junk at end of value
(zenity:12907): Gtk-WARNING **: Theme parsing error: gtk.css:48:46: Junk at end of value
(zenity:12907): Gtk-WARNING **: Theme parsing error: gtk.css:59:58: Junk at end of value
(zenity:12907): Gtk-WARNING **: Theme parsing error: gtk.css:70:46: Junk at end of value
(zenity:12907): Gtk-WARNING **: Theme parsing error: gtk.css:81:58: Junk at end of value
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.(zenity:12907): GLib-CRITICAL **: g_strv_length: assertion 'str_array != NULL' failed
I have one of them hex files in attachment, can anyone try to open that file with mios, so i can know:
a. it is a problem with the studio (linux)
b. the toolchain dont made it right...
thx
-
it works great thank for your time and help!!!!!!!!!!!!!!!!!!!!!!
what exactly have changed except the path...this path i had already in my first post, what was the thing that has to be done the next time?
it works:
Quoteecho "Application successfully built for:"
Application successfully built for:
echo "Processor: STM32F407VG"
Processor: STM32F407VG
echo "Family: STM32F4xx"
Family: STM32F4xx
echo "Board: MBHP_CORE_STM32F4"
Board: MBHP_CORE_STM32F4
echo "LCD: universal"
LCD: universal
echo "-------------------------------------------------------------------------------"
-------------------------------------------------------------------------------
arm-none-eabi-size project_build/project.elf
text data bss dec hex filename
58672 104 16296 75072 12540 project_build/project.elf
grep -E '__ram_start|__ram_end' project_build/project.sym
20000000 D __ram_start
20004010 B __ram_end -
make --trace begin with:
Quotetriggermatrix@lap:~/mios32/trunk/apps/tutorials/020_lcd$ make --trace
/home/triggermatrix/mios32/trunk/include/makefile/common.mk:118: target 'dirs' does not exist
if [ ! -e project_build ]; then mkdir project_build; fi;
if [ ! -e project_build/./ ]; then mkdir -p project_build/./; fi; if [ ! -e project_build//home/triggermatrix/mios32/trunk/programming_models/traditional/ ]; then mkdir -p project_build//home/triggermatrix/mios32/trunk/programming_models/traditional/; fi; if [ ! -e project_build//home/triggermatrix/mios32/trunk/programming_models/traditional/ ]; then mkdir -p project_build//home/triggermatrix/mios32/trunk/programming_models/traditional/; fi; if [ ! -e project_build//hom..............................and ends with:
trunk/drivers/STM32F4xx/v1.1.0/CMSIS/ST/STM32F4xx/Include -I /home/triggermatrix/mios32/trunk/modules/app_lcd/universal -I /home/triggermatrix/mios32/trunk/modules/glcd_font -Wall -Wno-format -Wno-switch -Wno-strict-aliasing -mcpu=cortex-m4 -mlittle-endian -ffunction-sections -fdata-sections -fomit-frame-pointer -mthumb -c app.c -o project_build/app.o In file included from /home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/CMSIS/ST/STM32F4xx/Include/stm32f4xx.h:245:0, from /home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_adc.h:32, from /home/triggermatrix/mios32/trunk/programming_models/traditional/stm32f4xx_conf.h:34, from /home/triggermatrix/mios32/trunk/include/mios32/mios32.h:34, from app.c:19: /home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/CMSIS/Include/core_cm4.h:143:97: fatal error: stdint.h: No such file or directory compilation terminated. /home/triggermatrix/mios32/trunk/include/makefile/common.mk:160: recipe for target 'project_build/app.o' failed make: *** [project_build/app.o] Error 1
BLM 16x16+X build guide
in MIDIbox BLM
Posted
its fun to program that toy... blink blink
my 10K faders are jumping... especially in the low end (MidiValues under 20), they messing up the midistream, and my blm hang then up sometime....
new faders jumping, can be, shouldnt be? hmm are there any parts except the faders - which can cause such behavior? as far i know there are only +5V ground and a fader between it...
The crimped wires are about 4 cm long... short enough.
The J5B ports are Jumpered, and in mios32_config.h only J5A is activated...
anyhow I tend to deactivate them in mios32_config.h...and desolder them, because of not totalrecallable of fadersstates ;)