Search results

  1. B

    Changing interface order in USB descriptor

    All right, I believe I've found the right order for things now. The MIDI interface, if I want it to be first, needs to be before the IAD, because the purpose of the IAD (??) is to simply group the two following interfaces of function class CDC. The device enumerates with things in the order...
  2. B

    Changing interface order in USB descriptor

    After double-checking, I found that either a) I've introduced a copy/paste error, or some other error, when moving the MIDI_INTERFACE block above CDC_DATA_INTERFACE in the config_descriptor declaration in usb_desc.c, or b) there's still something that needs to be modified that I'm missing, or c)...
  3. B

    Potential USB descriptor issue #2: Values in IAD reported as errors by USBView.exe

    When I dump our device's USB descriptor via USBView.exe, I see the following somewhat ominous messages: ===>Device Descriptor<=== ... bDeviceClass: 0x00 *!*ERROR: device class should be Multi-interface Function 0xEF When IAD descriptor is used...
  4. B

    Changing interface order in USB descriptor

    Hello, I'm working with some folks on getting Windows MIDI APIs to correctly recognize/distinguish when two of our same devices are connected. Included in the initial feedback was this: We are using USB_MIDI16_SERIAL, with one tweak (we only support 12 virtual cables, so MIDI_NUM_CABLES is...
  5. B

    Can't load .hex file produced by PlatformIO

    Gah! Got the blink sample working, just unfamiliar with the tools. Noticed that my main file was _not_ named `main.cpp`, turns out PlatformIO threw a `main.cpp` of its own in when I created the project, and apparently didn't add my .cpp file to the project (even though it showed up in the...
  6. B

    Can't load .hex file produced by PlatformIO

    Hmmm, the PlatformIO output didn't look quite right to me, like didn't seem to show the actual compilation of `main.cpp`, so I did a clean and build, here's the full output: * Executing task in folder SerialBox: C:\Users\ekalb\.platformio\penv\Scripts\platformio.exe run --verbose...
  7. B

    Can't load .hex file produced by PlatformIO

    Forgot to mention - Arduino IDE says it says v1.59.0 of Teensy 3.6, PlatformIO says 1.159.0 but build output shows this: - framework-arduinoteensy @ 1.159.0 (1.59) So it looks like I have the same core in both cases. Here's verbose build output from PlatformIO Processing teensy36...
  8. B

    Can't load .hex file produced by PlatformIO

    Hello, I'm trying to update a Teensy 3.6 project I've been away from for quite a while, and PlatformIO is producing .hex files that, AFAICT, won't run on my device. I went back to basics and grabbed the "blink" sample, and can upload and run it from the Arduino IDE just fine. Build it under...
  9. B

    General help understanding memory management on Teensy

    Thanks, I'll see what I can do with a simple app for a repro. I'm afraid it's not practical to attempt to move my entire project back to the Arduino IDE and give you a copy of the whole thing, because it's proprietary code for a prototype device, but if I really get stumped after staring at Git...
  10. B

    General help understanding memory management on Teensy

    Cool, will look into it further. I don't have a ton of experience with GCC toolchain, most of my work over the years has been MS tools and, for the past several years, Clang on MacOS.
  11. B

    General help understanding memory management on Teensy

    @defragster Thanks a bunch, I'll look at these and see what I can learn!
  12. B

    General help understanding memory management on Teensy

    100% concur, neither the variable rename nor the swapping of the boolean make any sense, unless there's some secondary effect as you mention. If they're there, though, I can't find 'em, or at least haven't yet :/. Device is a Teensy 3.6, FWIW. I didn't think the size of the object should...
  13. B

    General help understanding memory management on Teensy

    Can someone point me to an explanation of how memory is managed on the Teensy device? I'm working on a decent-sized project and feel like I'm just fumbling around in the dark with this stuff, and continue to get stuck on trivial dumb (some might even say spooky) stuff that feels like I could...
Back
Top