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

Search:

Type: Posts; User: shawn

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    25
    Views
    604

    I've seen two issues with the Catalina install...

    I've seen two issues with the Catalina install (running on Mojave):

    When I open the search box with cmd-F the first time after a fresh open, and I start typing, the first few characters in my...
  2. I'm going to add some new information because I...

    I'm going to add some new information because I think it might be useful to those using PlatformIO. I'm getting an "undefined reference to _write" linker error which turns out to be the same as...
  3. Yes, I agree that it is indeed a good idea detach...

    Yes, I agree that it is indeed a good idea detach the interrupt on the RX watch pin when it's triggered, so it's not triggered on all the other data transitions.

    Side question: You said: "Rx as a...
  4. Thank you all for the suggestions. I will report...

    Thank you all for the suggestions. I will report back if I know more. Hopefully this crashes again in a timely fashion. My plan is to try one thing at a time until crash or "timeout" of a few days....
  5. I will try this too. I'm likely to copy files...

    I will try this too. I'm likely to copy files over my PlatformIO install too. Let's see if this approach with PlatformIO is viable...

    I haven't switched to Catalina yet because of the 64-bit-only...
  6. I should add: I'm seeing this with Teensy 3's...

    I should add: I'm seeing this with Teensy 3's too, as of late. 3.2 and 3.5, so that probably narrows it down to my machine and nothing anything the Teensy is doing.
  7. @blackketter this is a good question. You mean...

    @blackketter this is a good question. You mean like cycling the power to the board or something and then loading up a serial monitor of some sort?
  8. Yep, this is a hard one because it's very...

    Yep, this is a hard one because it's very difficult to reproduce. I'll take your suggestions and do the best I can to figure out what the HEX file was, which step in the procedure was happening,...
  9. Thank you both for attempting to help me. ...

    Thank you both for attempting to help me.

    @defragster - I'm running tests using a development version of my TeensyDMX program, but I have seen some panics a couple of times when testing something...
  10. It turns out that a lot of decent timing...

    It turns out that a lot of decent timing information can be gleaned with just the UART signals. (Verified with a scope and comparing with ostensibly-measured values.) I was avoiding using a separate...
  11. I've been poking around the kernel panic logs,...

    I've been poking around the kernel panic logs, and the log says it crashes in a `teensy_serialmon` thread. In fact, every single one of the kernel panics that have happened recently says that it's in...
  12. Replies
    36
    Views
    379

    I don't have nearly the experience of Paul or...

    I don't have nearly the experience of Paul or KurtE, but I will say that it would be my best educated guess that GET_LINE_CODING is not called for every byte. That is, unless the USB driver on your...
  13. What this is for: Measuring where packets of data...

    What this is for: Measuring where packets of data start and end for my TeensyDMX library (see the latest `teensy4` branch for all the latest stuff). I'm trying to do accurate measurements for both...
  14. Ok, I got smarter about this and instead of...

    Ok, I got smarter about this and instead of special-casing `avail==1`, I'm comparing a positive value for `avail` with the watermark size. If it's smaller, then one character time is subtracted....
  15. Question about UART FIFO containing one byte and when RDRF gets set (one char behind)

    When I need to measure character timestamps from a UART (having a FIFO), I use the occurrence of RDRF as the time. This has been working well, but I noticed that when I receive only a single...
  16. Replies
    0
    Views
    73

    Updated TeensyDMX library for Teensy 4

    I've updated the TeensyDMX library to support Teensy 4.

    For now, please see the `teensy4` branch at: https://github.com/ssilverman/TeensyDMX/tree/teensy4
    I'll be merging it into the master branch...
  17. In reply to @blackketter: I've tried different...

    In reply to @blackketter:
    I've tried different cables and both with and without a powered USB hub (Amazon Basics 7-port USB 3.0 hub); all configurations so far have seen crashes. I'll be trying the...
  18. I'm going to continue playing and see if I can't...

    I'm going to continue playing and see if I can't narrow down when this happens. I'm willing to accept this may be specific to my setup. I'm also willing to bet this doesn't happen on newer computers....
  19. Anyone else seeing MacBook Air hard crash when using a Teensy 4?

    This is a report without much technical information. I figured I'd post anyway as a placeholder and as a place for others to note if they've experienced the same thing.

    Basically, when I...
  20. Replies
    14
    Views
    198

    For posterity, Iíll post the reason why R8 is...

    For posterity, Iíll post the reason why R8 is zero on a Teensy LC. Itís because thereís a 2-stop-but mode and the check is not necessary, as for Teensy 3.2 and below. Same for Teensy 3.5 and 3.6. The...
  21. Replies
    25
    Views
    7,832

    The reason that Teensy LC was returning zero for...

    The reason that Teensy LC was returning zero for R8 was because it has a 2-stop-bit mode and itís unnecessary to check that bit. Same goes for Teensy 3.5 and 3.6. This has been fixed in v3.2.2. The...
  22. Replies
    10
    Views
    2,316

    I just fixed the DMX receive problems in the...

    I just fixed the DMX receive problems in the TeensyDMX v3.2.0 release. There's a new v3.2.1 release that I've tested on a Teensy LC. Note that the Arduino Library Manager or PlatformIO might not...
  23. Replies
    25
    Views
    7,832

    I just released v3.2.1 that fixes the receive...

    I just released v3.2.1 that fixes the receive problems in v3.2.0. It's in a branch named `fix-dmx-receive-in-v3.2.0` and not `master`. I'm not sure if the Arduino Library Manager or PlatformIO will...
  24. Replies
    14
    Views
    198

    I think I found the problem. See the new...

    I think I found the problem. See the new v4.0.0-alpha.1 release for a fix.

    I'm using bit 9 (the R8 bit of UARTx_C3) to validate that the first stop bit is high, and if it's low, I accumulate one...
  25. Replies
    14
    Views
    198

    A few notes on your code: To confirm, you're...

    A few notes on your code:

    To confirm, you're making every 4 pixels the same?
    Move the `strip.Color` call outside the inner loop because it doesn't depend on `p`.
    Call `readPacket` just once....
  26. Replies
    14
    Views
    198

    I've released a new version, v4.0.0-alpha...

    I've released a new version, v4.0.0-alpha. Let me know if this fixes the problem.
  27. Replies
    14
    Views
    198

    Thank you for helping narrow that down. If v3.2.0...

    Thank you for helping narrow that down. If v3.2.0 is the culprit then clearly Iíve introduced a problem. Iíll dive in.
  28. Replies
    14
    Views
    198

    Curious, does release v3.1.1 work for you?

    Curious, does release v3.1.1 work for you?
  29. Replies
    14
    Views
    198

    Iím curious, what is pin 2 connected to? What...

    Iím curious, what is pin 2 connected to? What does setting it to HIGH do?
  30. Replies
    14
    Views
    198

    Hi, Gard! Iím going to have a look at and re-test...

    Hi, Gard! Iím going to have a look at and re-test Teensy LC support for TeensyDMX.

    Could you tell me more about your system? For example:

    How many channels are in each DMX frame?
    What is the...
  31. Replies
    31
    Views
    1,845

    Now if we could just get a WiFi module onto an SD...

    Now if we could just get a WiFi module onto an SD card... no idea how it would work (Eg. power requirements, API access, etc.), but Eye-Fi has a product with this.
  32. Replies
    25
    Views
    1,887

    Does anyone know if the OSH version comes with...

    Does anyone know if the OSH version comes with pins I can solder, or should I find extra elsewhere?
  33. Thread: DMXSimple Issues

    by shawn
    Replies
    9
    Views
    1,896

    Curious, when you say USB to DMX, do you mean USB...

    Curious, when you say USB to DMX, do you mean USB Pro Widget emulation or raw bytes over USB-serial?

    The TeensyDMX library works with Teensy LC and can send packets having less than 512 bytes....
  34. Replies
    3
    Views
    259

    Try this: namespace teensydmx =...

    Try this:



    namespace teensydmx = ::qindesign::teensydmx;

    // Create the DMX sender on Serial1.
    teensydmx::Sender dmxTx{Serial1};

    void OnNoteOn(byte channel, byte note, byte velocity) {
  35. Hi, Maru. I just noticed your post. You only need...

    Hi, Maru. I just noticed your post. You only need to use a TX-enable pin if your transceiver requires it. From your schematic, it looks like you don't need one. Your TX-enable pin is already driven...
  36. Replies
    25
    Views
    7,832

    I just released v3.1.1. It contains some bug...

    I just released v3.1.1. It contains some bug fixes and a better library description. It is my belief that the API is now complete enough to do most things you'd want to do with DMX. For example, RDM...
  37. Replies
    25
    Views
    7,832

    Thanks. Yes, Iíve dabbled in a few RDM responder...

    Thanks. Yes, Iíve dabbled in a few RDM responder implementations. One of them passes most of the OLA tests and another is a minimal implementation suitable as a .ino example. Havenít decided if, or...
  38. New (possibly yet another) SLIP framing library, a Stream decorator

    Framing (say over a serial port or over some streamed connection) is often necessary so that data doesn't become unsynchronized, and also for relaying packets with a known amount of data. I've been...
  39. Replies
    25
    Views
    7,832

    It's never going to be perfect, so I just went...

    It's never going to be perfect, so I just went ahead and released v3.0.0. There's a few minor fixes and improvements, but there aren't any major changes.
  40. Replies
    2
    Views
    606

    The RS-485 backpack also works pretty well for...

    The RS-485 backpack also works pretty well for this (search this forum for “teensy backpacks”). I soldered a 3-pin female JST connector to a 5-pin DMX connector and it works great. There’s no...
  41. Replies
    2
    Views
    254

    I frequently have to kill teensy_reboot because,...

    I frequently have to kill teensy_reboot because, according to Activity Monitor (Mac), it’s often at a constant 90+% CPU usage. Also my fans go strong until I kill it.

    I’m using the latest...
  42. Iím not saying FastLED necessarily does it this...

    Iím not saying FastLED necessarily does it this way. I was responding to your question about APA102 control. (I donít see mention of FastLED in your original question?)
  43. Have you tried setting that brightness field for...

    Have you tried setting that brightness field for each pixel? I have not tried it myself, but since each pixel in the protocol specifies 5 bits of brightness, I suspect it may work. A side note is...
  44. Thread: Teensy DMX / RDM

    by shawn
    Replies
    5
    Views
    416

    Yes, that sounds correct. Per the style of that...

    Yes, that sounds correct. Per the style of that file, calling functions at the appropriate spot in the appropriate switch statement seems like the way to go.
  45. Thread: Teensy DMX / RDM

    by shawn
    Replies
    5
    Views
    416

    In order to add new commands, you need to modify...

    In order to add new commands, you need to modify the processResponderRDM() function in TeensyDmx.cpp. Have you had a look at the E1.20 RDM specification?
  46. Replies
    10
    Views
    2,316

    Another library that works with the Teensy LC:...

    Another library that works with the Teensy LC: https://github.com/ssilverman/TeensyDMX
  47. Replies
    2
    Views
    1,290

    This library also supports the Teensy LC:...

    This library also supports the Teensy LC: https://github.com/ssilverman/TeensyDMX

    For hardware, search the forum for “Backpacks”. I bought a couple of the RS-485 modules, and they work great with...
  48. Thread: Teensy DMX / RDM

    by shawn
    Replies
    5
    Views
    416

    Could you point to the source code of the...

    Could you point to the source code of the example? Maybe I could give a few pointers. I have some RDM implementation experience.
  49. Replies
    25
    Views
    7,832

    I just released v3.0.0-beta. It's been tested on...

    I just released v3.0.0-beta. It's been tested on all the serial ports on 3.2, 3.5, 3.6, and LC, which the exception of Serial6 on 3.6.

    Serial6 on Teensy 3.6 "should" work, but I've never soldered...
  50. Awesome, that worked. Thanks for that. For...

    Awesome, that worked. Thanks for that.

    For posterity and for anyone that finds this thread needing the same information, here's the working version of the code. Note the change to the...
Results 1 to 50 of 121
Page 1 of 3 1 2 3