Jump to content

Recommended Posts

Posted

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

Posted

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!

Posted

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


MIOS32_MIDI_DebugPortSet(UART0);
[/code]

Best Regards, Thorsten.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...