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

Search:

Type: Posts; User: hubbe

Search: Search took 0.00 seconds.

  1. Apologies for commenting on the rather old post,...

    Apologies for commenting on the rather old post, but this gave me an idea:

    How about making a board with castellated edges specifically for bridging the bottom pads to another board?
    The board...
  2. Replies
    183
    Views
    51,055

    How a high-density flat-cable connector at the...

    How a high-density flat-cable connector at the end of the board which can connect to a breakout board for all the rest of the signals?
    This could also work as a solder-free way to attach prop...
  3. Replies
    29
    Views
    20,494

    So this might not be the greatest solution to the...

    So this might not be the greatest solution to the permission problems, but I added this to my udev rules to make the relevant /dev/hidraw* file accessible:



    SUBSYSTEM=="hidraw",...
  4. Replies
    29
    Views
    20,494

    So I had a much older version of the udev rules...

    So I had a much older version of the udev rules installed at home.
    Unfortunately updating the rules didn't seem to help.
    However, running as root does for some reason. I don't understand how this...
  5. Replies
    77
    Views
    28,162

    It should work on any of the 3.x. I wrote it...

    It should work on any of the 3.x. I wrote it using a 3.2.
  6. Replies
    29
    Views
    20,494

    I don't seem to have an udev rule file at all....

    I don't seem to have an udev rule file at all. (Neither at home nor at work.)
    Installing the udev file makes things works a lot better at work. CDC works, and I don't need to run as root anymore.
    I...
  7. Replies
    29
    Views
    20,494

    I don't think so, I checked and it says the...

    I don't think so, I checked and it says the teensy_gateway was started yesterday.
    I'm going to reboot my machine later to see if there something else that's stuck somehow.

    I also took my T3.6 to...
  8. Replies
    29
    Views
    20,494

    So I went back and tried the HelloSerialMonitor...

    So I went back and tried the HelloSerialMonitor example again.

    First, I tried it on a mac, and that worked just fine.
    Then I went back to my linux machine and tried all the usb type settings,...
  9. Replies
    36
    Views
    24,227

    The difference is the drive strength. The...

    The difference is the drive strength.

    The difference is in SPI.begin(), the old code says:


    SPCR.enable_pins(); // pins managed by SPCRemulation in avr_emulation.h


    The...
  10. Replies
    36
    Views
    24,227

    Well, yes. SD.begin(0) returns zero. It gets to...

    Well, yes. SD.begin(0) returns zero.
    It gets to this line: if (vol->u16[255] != 0xAA55) return false; but the value in that location is 0xd503, not 0xAA55.
    I think this is what happened last time...
  11. Replies
    36
    Views
    24,227

    Tried it on a Teensy 3.6, with the same result....

    Tried it on a Teensy 3.6, with the same result.
    Also tried a different USB hub, and I tried killing gvfs-mtp-volume-monitor, but it seems to make no difference.
    I should be able to try it on mac &...
  12. Replies
    36
    Views
    24,227

    So I tried the git revisions: This is the last...

    So I tried the git revisions:
    This is the last one that works for me: b2dd72f634ec0fff3d8c00d222a28b13e0ead8a9
    The next check-in is "Single SPIClass for Teensy 3.x".

    I tried commenting out some...
  13. Replies
    36
    Views
    24,227

    Hmm, I don't know what version of teensyduino I...

    Hmm, I don't know what version of teensyduino I had before. How do I find out? (Paul, would it be possible to put version number in the installer filenames?)
    However, I compared the working SPI...
  14. Replies
    36
    Views
    24,227

    I'm using a Teensy 3.2 on Ubuntu 16.04.02 64-bit....

    I'm using a Teensy 3.2 on Ubuntu 16.04.02 64-bit.
    I can try it on a teensy 3.6 after work.
  15. Replies
    36
    Views
    24,227

    I'm still having a problem with the SPI library....

    I'm still having a problem with the SPI library. It's causing freezes in my lightsaber code. (https://github.com/profezzorn/TeensySaber)
    I know it's related to the SPI code, because if I copy an...
  16. Replies
    36
    Views
    24,227

    If I load the HelloSerialMonitor example and...

    If I load the HelloSerialMonitor example and select "MTP Disk (experimental)" I get no printouts in the TeensyMonitor.
    (It works if I select "Serial" or "MIDI".)
  17. Replies
    77
    Views
    28,162

    No need to bother Paul. The "emulated serial" is...

    No need to bother Paul.
    The "emulated serial" is a simpler and non-standard (I think) usb serial port implementation. It still works with the serial monitor, but will not show up as a CDC device....
  18. Replies
    28
    Views
    20,635

    I have narrowed down the freezing problem to the...

    I have narrowed down the freezing problem to the SPI library.
    If I replace the new SPI code with the old SPI code, the freezing problem goes away.
    Also, when the freezing occurs, the SD card is...
  19. Replies
    77
    Views
    28,162

    No, it should be using the "emulated serial"...

    No, it should be using the "emulated serial" automatically.
  20. Replies
    28
    Views
    20,635

    I'm getting random freezing in my code while...

    I'm getting random freezing in my code while playing wav files from sd cards with this beta. (I did not get them with before.)
    My code is available here: https://github.com/profezzorn/TeensySaber...
  21. Replies
    77
    Views
    28,162

    Sorry for the delay. I'm trying this out, and...

    Sorry for the delay.
    I'm trying this out, and the MTP part seems to work, but the serial monitor seems to stop working.
    I don't think the problem is on my side, because even if I don't enable the...
  22. Replies
    10
    Views
    5,879

    In case anybody is interested, I've actually made...

    In case anybody is interested, I've actually made my own prop-like shield: http://fredrik.hubbe.net/lightsaber/v2/
    Right now I have a few for sale here:...
  23. Replies
    77
    Views
    28,162

    The best way to run something else is to put it...

    The best way to run something else is to put it in mtp_yield();
  24. Replies
    77
    Views
    28,162

    If I'm reading the standard right, this is still...

    If I'm reading the standard right, this is still undefined behavior, the compiler just doesn't complain about it anymore.
    As far as I can tell, casting to a struct and then using is no longer...
  25. Replies
    77
    Views
    28,162

    Can you explain why this is better than just...

    Can you explain why this is better than just using a define? Or is it just hiding the aliasing so that the compiler can't see it?
  26. Replies
    77
    Views
    28,162

    Nice, I'll have to take a look at SdFat.h, seems...

    Nice, I'll have to take a look at SdFat.h, seems better than SD.h.
  27. Replies
    77
    Views
    28,162

    1. I'm not sure what the right way to work around...

    1. I'm not sure what the right way to work around those warnings is.
    2. The SD library doesn't expose the size and free space of the SD card, so currently the code always says the card is 1Gb with...
  28. Replies
    77
    Views
    28,162

    It's intended to be a library. Not sure how you...

    It's intended to be a library. Not sure how you make one though.
    Also not sure if makes sense for me to do it or someone else (Paul?) as I'm probably not going to put a lot of effort into this in...
  29. Replies
    49
    Views
    13,775

    This is in fact the primary reason I recommend...

    This is in fact the primary reason I recommend 5v-tolerant chips whenever possible. 5v-tolerant chips are generally more robust. (Especially if you don't use 5 volts in your circuit.)
  30. Replies
    77
    Views
    28,162

    Oh, I forgot: To try it out you also need to add...

    Oh, I forgot: To try it out you also need to add entries to your boards.txt file to make "MTP Disk" show up in the "USB Type" menu.
    The entries you need looks like this:

    teensy36.menu.usb.mtp=MTP...
  31. Replies
    77
    Views
    28,162

    MTP Responder Contribution

    While working on TeensySaber, I felt a need to access the storage without having to to pull out the sd card and put it in an sd card reader.
    Since the promised MTP responder seems to be taking a...
  32. Replies
    10
    Views
    5,879

    I would get rid of the flash serial chip, the...

    I would get rid of the flash serial chip, the screw holes, and some of the useless headers near "Audio In". Then I'd move the audio output from the left to the right side, and remove the GND/5v from...
  33. Replies
    10
    Views
    5,879

    I'm actually stacking the old SD adapter, it only...

    I'm actually stacking the old SD adapter, it only needs three wires to make it work, but three PCBs stacked on top of each other is getting fairly big for what I'm trying to do.
  34. Replies
    10
    Views
    5,879

    Suggestions for Prop Shield V2

    I've been working with the prop shield to build a lightsaber, and I love it. (Details here)
    However, there are a two quirks that I've had to work around, which would be awesome to address in...
  35. Replies
    7
    Views
    2,171

    Love this! (going to try it out later today) Can...

    Love this! (going to try it out later today)
    Can I ask though: What pins can't use PWM with this? What pins can still control the frequency?
  36. Replies
    6
    Views
    3,166

    I too have this problem, because I want to use...

    I too have this problem, because I want to use DMA to write to an LED string, while at the same time using the totally awesome prop shield AND possibly an sdcard as well. (The Wiz8xx+sdcard shield.)...
Results 1 to 36 of 37