Skip to content

USB transaction failed warnings with AKAI MPK Mini MIDI controller #340

Answered by rsta2
daparker26 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Daniel, this problem is caused by an unfavorable timing on the USB. These messages are not critical, but it is recommended to enable the system option REALTIME or even better USE_USB_FIQ by adding the following line to the file Config.mk in your project root:

DEFINE += -DREALTIME

or

DEFINE += -DUSE_USB_FIQ

Everything must be rebuild, after adding this.

REALTIME suppresses log messages from IRQ handlers. Because IRQ handlers cannot be interrupted by another IRQ, the system timing may be bad, when a log message is generated in an IRQ handler and for example, the screen has to be scrolled because of this. This happens all inside the IRQ handler and takes milliseconds. With REALTIME ena…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@daparker26
Comment options

Answer selected by daparker26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants