Coder Social home page Coder Social logo

usb-midi-key's Introduction

usb-midi-key

STM32F103 board based USB MIDI key device.

USB-MIDI

Device generate MIDI messages for host. Send to host: MIDI CC channel 0 num 16 - value of potentiometer. Pot connected: GND - A0 - 3.3V

Send to host: MIDI note on/off when pressed button. Button connected to GPIOB - GPIO0.

Device receive MIDI messages from host. Midi note on/off. When any key pressed - PC13 is on.

Build normal

git clone [email protected]:UA3MQJ/usb-midi-key.git
cd usb-midi-key
git submodule update --init --recursive
cd libopencm3
PATH="/usr/local/gcc-arm-none-eabi-5_4-2016q2/bin/:${PATH}"
make
cd ..
cd src
make bin

Flash normal

Flash by st-utils

st-flash write usbmidi.bin 0x8000000

After flash, device detected on name as USB-MIDI VitaSound.Controller-01

Flash without ST-Link (DFU Mode)

Make DFU bootloader and flash via ST-Link:

cd usb_dfu
make bin
st-flash write usbmidi.bin 0x8000000

Short A10 to 3V3 for enable DFU mode. Short A10 to GND for normal working.

Change LD for change memory map. In usb-midi-key/src/makefile comment standart ld file, uncomment stm32f103x8_DFU.ld

Rebuild usbmidi.bin in patch usb-midi-key/src

make clean
make bin

Flash via DFU

dfu-util -v -a 0 -s 0x08002000 -D cdcacm.bin

2018

usb-midi-key's People

Contributors

ua3mqj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

usb-midi-key's Issues

Doesn't work

Thanks for your project~ :)

But it's doesn't work on my STM32F103C8T6 / Mac OS.

Can not be found in DAW. Just found a device named "DFU Demo" in Device Viewer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.