Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: yeahtuna

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. It wouldn't be plug and play for the developer,...

    It wouldn't be plug and play for the developer, but it could be for the users. It's not trivial to implement, but what you would do is use a rawHID interface (which can be combined with MIDI). Your...
  2. Replies
    7
    Views
    522

    If you're stubborn and really want to find the...

    If you're stubborn and really want to find the source of your problem, then you might want to check out the troubleshooting section of the following page.

    https://www.pjrc.com/store/ic_mkl02.html
  3. Replies
    7
    Views
    522

    Maybe ESD killed on of the IC? Maybe the program...

    Maybe ESD killed on of the IC? Maybe the program button is has failed? Maybe the connector has failed. Who knows?

    The last thing I would try before tossing it in the garbage is the following:
    ...
  4. Replies
    7
    Views
    522

    There are other things you could check. If I was...

    There are other things you could check. If I was working with a prototype board, I would take the time to investigate. That might take several hours and special equipment to diagnose the problem, ...
  5. Replies
    41
    Views
    3,249

    Furthermore, it looks like the problem with...

    Furthermore, it looks like the problem with calling send_now() from user code can be resolved by changing the usb_flush_output() slightly.

    Basically, I'm just using the tx_noautoflush as a sort of...
  6. Replies
    41
    Views
    3,249

    Okay. I feel stupid. Here's a lesson. Don't...

    Okay. I feel stupid. Here's a lesson. Don't ever take a screenshot while the window is repainting its view. So the timestamp wierdness is a red herring.

    Anyways, I think I've solved the...
  7. You've increased the size of the descriptor...

    You've increased the size of the descriptor buffer in enumeration.cpp?



    static uint8_t enumbuf[2048] __attribute__ ((aligned(16)));
  8. Replies
    41
    Views
    3,249

    1ms of jitter is not remarkable, but when it goes...

    1ms of jitter is not remarkable, but when it goes backwards in time, it certainly is. Here's a clearer image.
    26575
  9. Replies
    41
    Views
    3,249

    Perhaps I should start a new thread because the...

    Perhaps I should start a new thread because the title of this one is unrelated to this particular issue.
  10. Replies
    41
    Views
    3,249

    I think the issue is with the way MIDI drivers...

    I think the issue is with the way MIDI drivers work. I'm thinking the best solution is to add some sort of timer or check to prevent calling usb_midi_flush_output multiple times between between usb...
  11. Replies
    41
    Views
    3,249

    Something very strange is going on. I modified...

    Something very strange is going on. I modified the sketch to send 3 notes at a time. Look at the timestamps. I'm having a hard time explaining that one.
    26558
  12. And here are the results when 'double' is changed...

    And here are the results when 'double' is changed to 'float'
    T3.6 Samples/sec: 384568.03 Process Time (us): 11959 P-P noise: 10 St.Dev: 0.759
    T4.1 Samples/sec: 176675.33 Process Time (us): 4333 P-P...
  13. I modified JBeale's code to separate the...

    I modified JBeale's code to separate the AnalogRead from the double precision floating point calculations. I connected the A0 to an opAmp buffer to get a nice stable voltage.

    Here's what I got:...
  14. My pure analogRead test shows that T3.6 reads...

    My pure analogRead test shows that T3.6 reads over twice as fast as the T4.1.



    #define NUM_READS 100000.f

    elapsedMicros testTime;

    bool testComplete = false;
  15. Replies
    41
    Views
    3,249

    I noticed that for my issue, if I increase the...

    I noticed that for my issue, if I increase the length of notes and the time between them to 2000us, both issues seem to go away (provided I don't call send_now()).


    unsigned long ClockInterval
    ...
  16. Replies
    41
    Views
    3,249

    I did another test for the second issue using a...

    I did another test for the second issue using a Teensy 3.2 device that forwards USB MIDI packets to its MIDI Din Out and was not able to reproduce issue #2, which leads me to believe that might be an...
  17. Replies
    41
    Views
    3,249

    So I performed several tests today using a fresh...

    So I performed several tests today using a fresh download of TeensyDuino 1.55 testing on Windows 10 using MIDIOX and macOS (Catalina). I found a couple of issues.

    All my tests are using the...
  18. Replies
    41
    Views
    3,249

    In case it give you an 'aha' moment, this works...

    In case it give you an 'aha' moment, this works fine if a MIDI device is connected directly to the T3.6 host port, but fails if the MIDI device is connected to the T3.6 via a USB hub. I will make a...
  19. Replies
    41
    Views
    3,249

    Fair enough. I'll first try to confirm if there...

    Fair enough. I'll first try to confirm if there was initially anything wrong performance-wise with the original code (which I don't believe there was for T3.6 devices), and if there is, I'll send...
  20. Replies
    41
    Views
    3,249

    USBHS_USBCMD = USBHS_USBCMD_ITC(1) |...

    USBHS_USBCMD = USBHS_USBCMD_ITC(1) | USBHS_USBCMD_RS |
    I hadn't seen this change. Setting this to 1 improved reliability somewhat, but ultimately my device still hangs after sending a couple...
  21. Replies
    41
    Views
    3,249

    Hi Paul, I tested these changes on my eDRUMin...

    Hi Paul,

    I tested these changes on my eDRUMin devices (T3.6 based) and it can cause the host to hang, so I reverted back.
  22. I think you should make sure you are using the...

    I think you should make sure you are using the big buffer midi driver for usbHost_36 and I highly recommend increasing the size of the device descriptor buffer. I don't know why Paul doesn't make...
  23. I might be tempted to use HID to interface with...

    I might be tempted to use HID to interface with the plugin.
    1.You could eliminate any sort of MIDI setup, giving you a plug and plug experience.
    2. You could use higher than 7bit resolution.

    The...
  24. Replies
    3
    Views
    365

    Doesn't capacitive touch depend on the grounding....

    Doesn't capacitive touch depend on the grounding. A device connected of a battery powered laptop might perform different to one that is connected to a well grounded PC. Humidity might also be a...
  25. Replies
    0
    Views
    315

    mk66fx1m0 availability

    This series of processor is out of stock everywhere. Paul, I assume you have some inside information as to when it might be available again. Can you share some insight?

    I would redesign using...
  26. The iConnectMIDI+ is plugged into the T3.6 host...

    The iConnectMIDI+ is plugged into the T3.6 host port.

    The issue goes away when removing the changes described in that commit.
  27. Change to improve MIDI Transmit time in USBhost_t36 causes device to hang

    I tried implementing the following changes and my T36 devices hangs after sending about 30 messages or so to my connected iConnectMIDI+. Interestingly, it only hangs if I'm actually reading the MIDI...
  28. Actaully, with a little more effort, I was able...

    Actaully, with a little more effort, I was able to reproduce the issue. The problem seems to be with usbMIDI.send_now(). If I remove that call, there are no issues. Here's the simplest sketch to...
  29. I wasn't able to reproduce the issue with the...

    I wasn't able to reproduce the issue with the simplest example. Must be something in my code.
  30. Here's the code I use to ensure that my code is...

    Here's the code I use to ensure that my code is called usbMIDI.sendNoteOff() for every usbMIDI.sendNoteOn(). If a double NoteOn message is sent from within my code, the device should stop sending...
  31. I think what's actually happening, is that two...

    I think what's actually happening, is that two NoteOn messages are being sent. Here's a look at the data recorded by Cubase:
    26485

    And then if I move the overlapped MIDI events, you can see that...
  32. In most applications you certainly would hear a...

    In most applications you certainly would hear a stuck note. In my application it's a drum trigger to MIDI interface, so you don't hear the problem because of the relatively short decay of drum...
  33. Is it possible for usbMIDI.sendNoteOff() to fail?

    When recording lots of MIDI data (1 packet / 5 ms or so) in Cubase, occasionally a NoteOff message will be missing which results in very long notes that never end until recording stops.

    I've been...
  34. Probable bug related to enumerating USB Keyboard

    Since iOS 14, I've been seeing problems when connecting my rawHID/MIDI/keyboard composite devices to iOS devices.

    It looks like adding a call to enpoint0_stall() in the usb_setup(void) method of...
  35. Replies
    22
    Views
    3,129

    Neverminded. I see the fix on GitHub. Thanks...

    Neverminded. I see the fix on GitHub. Thanks Paul.

    https://github.com/PaulStoffregen/cores/commit/638b7ac4f96047eddcbc9643a63e70c5fbb7e93b
  36. Replies
    22
    Views
    3,129

    Excellent news. I would like to incorporate the...

    Excellent news. I would like to incorporate the fix into my current installation. Is there a particular file I should be looking at?
  37. Replies
    13
    Views
    2,113

    Hi Paul, Are these changes specific for T4? ...

    Hi Paul,

    Are these changes specific for T4? If I'm using the host port with a T36, am I advised to update as well?
  38. Replies
    13
    Views
    2,113

    My best guess is that you need to increase the...

    My best guess is that you need to increase the size of the buffer that the USB host uses to enumerate connected devices. It uses a single buffer for an entire descriptor, and it's simply not large...
  39. Replies
    22
    Views
    3,129

    From the testing I've done this evening, I'm...

    From the testing I've done this evening, I'm confident that it you are in the process of saving when the device looses power, parts of the memory get reset to zero.
  40. Replies
    22
    Views
    3,129

    For me the issue is that after programing the...

    For me the issue is that after programing the device, sometimes reading a value from EEPROM is being returned as zero, even though a previously non zero value was stored. I need to do some more...
  41. Replies
    22
    Views
    3,129

    I'm seeing this issue too. I can't believe that...

    I'm seeing this issue too. I can't believe that no serious action has taken place yet to resolve it yet. I have some time next week, so I'll be investigating.

    Is the issue that the Teensy LC's...
  42. Replies
    9
    Views
    1,415

    On Teensy 2.0, 3.2, and 3.6 I'm able to...

    On Teensy 2.0, 3.2, and 3.6 I'm able to reconfigure my devices, but it involves a bit of hacking. I'm not going to give you all the details, but the reason it's possible is because the EEPROM can...
  43. Virgin programming adapter. Sits on top of the...

    Virgin programming adapter. Sits on top of the MK20.
    23935
  44. And I have a workaround, albeit not pretty. If I...

    And I have a workaround, albeit not pretty. If I also connect pin 26 to VCC through a 3K resistor, it can be programmed again. Will have to design a jig of sorts... WTF.
  45. Hopefully someone can explain this one. It looks...

    Hopefully someone can explain this one. It looks like if pin 26 on a virgin MK20DX256VLH is connected to ground (in my case through a 10K resistor), the RESET line gets held at 3.2V and it can't be...
  46. I just put together a minimal build of the...

    I just put together a minimal build of the prototype and the MK20 is acting as expected. I'll slowly build it up and keep testing.
  47. I guess I'll make another prototype with the just...

    I guess I'll make another prototype with the just the essentials to get that watchdog firing. Thanks Paul.
  48. I'm very certain it's not a soldering issue. I...

    I'm very certain it's not a soldering issue. I have multiple boards and several virgin chips.

    I took the bootloader out of the board, and I'm still getting 3.2 volts on the RESET line. The MCU is...
  49. Issue programming a virgin MK20DX256VLH on custom T3.2

    My custom T3.2 device is unable to boot / get programmed using a virgin MK20DX256VLH. If I swap out the MK20 for a preprogramed one, then there are no issues. The device boots perfectly fine, and...
  50. Replies
    0
    Views
    248

    MIDI Feedback Loop Detection

    I got MIDI moving in and out of my device over DIN, USB, and USB host port connections. I want to implement some sort of way to detect MIDI feedback. Has anyone done anything like this? Any...
Results 1 to 50 of 430
Page 1 of 9 1 2 3 4