Jump to content

Recommended Posts

Posted

Hello,

i have download this software:

ActivePerl-5.8.8.819-MSWin32-x86-267479.msi

gputils-0.13.4-1.exe

sdcc-2.6.0-setup.exe

and:

MIOSStudio_beta7_4.jar

sdcc_skeleton_v1_9a.zip

When i make the main.c (skeleton example file) the SDCC create a project.hex  :)

I load this file in MIOS Studio (MIOS Hex File Upload 1 -> Hex File)

When i press the start button, in the Midi monitor Out write:  ???

timestamp [unknown] | Sysex message: F0 00 00 7E 40 00 02 0C 00 00

20 43 7B 63 1F 04 37 5E 19 78 24 7D 71 4F 42 45 6F 0C 7C 14 3E 78

67 61 29 77 46 3E 0E 2F 3C 33 70 7A 3B 63 1F 06 57 5E 19 78 37 3D

71 4F 40 07 6F 0D 3C 19 5E 78 67 61 47 77 46 3E 0A 7F 3C 33 70 5D

3B 63 1F 04 03 5E 19 78 20 3D 71 4F 42 05 6F 0C 7C 10 3E 78 67 61

54 77 46 3E 0D 1F 3C 33 70 42 3B 63 1F 04 17 5E 19 78 21 5D 71 4F

40 24 00 00 00 02 20 00 00 00 12 00 00 00 01 10 00 00 00 09 00 00

00 00 48 00 00 00 04 40 00 00 00 24 00 00 00 1F 7F 7F 7F 7F 7F 7F

7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F

7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F

7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F

7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F

7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F

7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F

7F 7F 7F 7F 7F 7F 7F 78 20 F7

Is correct this condition ?  ???

You can help me for send the "C note" ON and OFF (for example) ?  8)

Thanks

xoooox

Posted

// NOTE ON

  MIOS_MIDI_TxBufferPut(0x90); // Note Event at channel #1

  MIOS_MIDI_TxBufferPut(48);  // Note number (0..127)

  MIOS_MIDI_TxBufferPut(0x7f); // Velocity = (0..127)

// NOTE OFF

  MIOS_MIDI_TxBufferPut(0x90); // Note Event at channel #1

  MIOS_MIDI_TxBufferPut(48);  // Note number (0..127)

  MIOS_MIDI_TxBufferPut(0x00); // Velocity = (0..127)

Posted

Hi,

if i write "MIOS_MIDI_TxBufferPut... (NOTE ON)" in the function "Init(void)" and press Start Button (MIOS Hex File Upload)

In the "Midi monitor out" is alike at previous post (Posted on: Today at 09:18)  :'(

Why ???  :-[

Where i error ?  :-\

Thanks

xoooox

Posted

Hello xoooox,

it is quite normal, that you see your program when you upload it.

I mean, I'm no binary talking computer, but this looks like a small MIOS-application.

Now wait until MIOS restarts the box and your Init() function should be processed.

If not, then check if you're uploading the right file.

Maybe connect also an LCD. With MIOS_Print_...() you can see what's going on and don't have to peek in the Midi Monitor.

If you're looking for more examples, see this page:

http://www.ucapps.de/mios_c.html

(scroll down to the bottom of this page and you'll find a bunch of C-Examples!)

regards,

AC

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...