Using Console i/o over different midi port

3 posts in this topic

Posted · Report post

I'm doing stuff with SD Card and mass storage driver.

Unfortunately this means losing the midi usb driver with the PC (when ever mass storage gets activated).

When mass storage functionality is activated on the core32, MIOS Studio loses its connection (and needs to be restarted). My solution? Use MIOS Studio with a dedicated USB to midi interface and use uart midi for flashing the program and console debug.

Problem is MIOS Studio finds the core and flashes it, but debug i/o console is not connected. Where do I define which midi port gets used for console i/o?

thanks

Share this post


Link to post
Share on other sites

Posted · Report post

well, duh.

change the default:

#define MIOS32_MIDI_DEBUG_PORT USB0

to

#define MIOS32_MIDI_DEBUG_PORT UART0

in mios32_config.h does the trick!

Share this post


Link to post
Share on other sites

Posted · Report post

It's better to change the debug port during runtime (e.g. in APP_Init()):


MIOS32_MIDI_DebugPortSet(UART0);
[/code]

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now