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

Search:

Type: Posts; User: brtaylor

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    456

    So, I just tried clang-tidy on your code snippet...

    So, I just tried clang-tidy on your code snippet and it does produce a warning that the code will result in a dangling reference.
  2. Replies
    10
    Views
    456

    Note, I haven't tried either of these, but...

    Note, I haven't tried either of these, but there's a couple options that I see on Stack Overflow:
    1. Remove the _sbrk() function:...
  3. Replies
    1
    Views
    102

    The TJA1051AT/3/0Z‎ looks like a drop-in...

    The TJA1051AT/3/0Z‎ looks like a drop-in replacement.
  4. Replies
    1
    Views
    102

    CAN-FD MCP2562 Alternatives

    I'm designing a project and used the MCP2562FD-H/SN for prototyping. Of course, it's a victim of the chip shortage and I'm looking for good alternatives that are roughly the same footprint. Any...
  5. Replies
    10
    Views
    456

    The most rigorous standards I know of typically...

    The most rigorous standards I know of typically require at least two separate coding teams, one writing the code and the other independently reviewing it against the requirements.

    You can also set...
  6. I've seen a lot of blogs on modifying ovens, but...

    I've seen a lot of blogs on modifying ovens, but I just manually turn the knob while timing with a phone - works well enough with leaded paste and my temperature profile is so simple that I haven't...
  7. Replies
    19
    Views
    625

    Well, if someone is searching for this in the...

    Well, if someone is searching for this in the future and stumbles across the thread, they’ll have some solutions to use.
  8. Replies
    19
    Views
    625

    Frank B had an interrupt chain for Teensy 3.x -...

    Frank B had an interrupt chain for Teensy 3.x - I'm assuming that this would still work on Teensy 4.x.



    class interruptChain {
    public:
    void chainInterrupt(int intNumber, void...
  9. I do prototyping down to 0603 with a toaster...

    I do prototyping down to 0603 with a toaster over, solder paste, and a stencil. I've done some stuff down to 0402, but typically require rework when I get to that size. Recommend getting a good pair...
  10. Replies
    0
    Views
    138

    MK66FX1M0 Availability

    Hi Paul,

    I saw this question answered regarding other chips in the PJRC product range, would PJRC have some limited stock of MK66FX1M0 available to sell for custom boards?

    Thanks much!
    Brian
  11. Replies
    6
    Views
    642

    I don't have a ton of experience with Vagrant,...

    I don't have a ton of experience with Vagrant, but it's a way of automating the setup of a virtual machine, in this case a Virtual Box. So in a sense, it's kind of like a Dockerfile. Once the VM is...
  12. Replies
    6
    Views
    642

    About as you would expect. The first build takes...

    About as you would expect. The first build takes several minutes with a template-heavy code base. With CMake's caching, subsequent builds are fast. I think Docker would likely be a little faster.
  13. Replies
    6
    Views
    642

    Neat! Nice to see more CMake love. I've been...

    Neat! Nice to see more CMake love.

    I've been using Vagrant / VirtualBox as a multi-platform build environment with CMake:
    https://github.com/bolderflight/build-tools

    On Linux or WSL, I just...
  14. Replies
    6
    Views
    517

    For what it's worth, Mouser is showing about 900...

    For what it's worth, Mouser is showing about 900 in stock. Digi-key is out of stock.
  15. Replies
    8
    Views
    944

    Not Paul, so I can't speak for PJRC, but the...

    Not Paul, so I can't speak for PJRC, but the IMXRT seems to be on a 26 week lead from most distributors. Frankly, I'm just happy that it's not 52 weeks given the state of the industry right now. NXP...
  16. Replies
    8
    Views
    944

    Will do, thanks!

    Will do, thanks!
  17. Replies
    8
    Views
    944

    Now that the MKL02 has compatibility with the...

    Now that the MKL02 has compatibility with the IMXRT chips, would the MIMXRT1062CVJ5B or the MIMXRT1062CVL5B have the highest likelihood of working with the MKL02 designed for the MIMXRT1062DVJ6A/B...
  18. FYI, I did a pretty major update to the MAVLink...

    FYI, I did a pretty major update to the MAVLink library:
    https://github.com/bolderflight/mavlink

    It now supports:
    1. The heartbeat protocol
    2. Sending status messages to the ground station
    3....
  19. Replies
    5
    Views
    284

    For custom boards, the MKL02 needs to be...

    For custom boards, the MKL02 needs to be purchased from PJRC. Same limitation of the USB based firmware upload. The nice thing is that if you spin your own Teensy board and use a Raspberry Pi compute...
  20. Replies
    5
    Views
    284

    The only official way to upload code is via the...

    The only official way to upload code is via the Teensy USB port. If you have the Teensy USB plugged into the Raspberry Pi, that seems like it would be the most straightforward approach, use the hex...
  21. Hi, I wrote an SBUS library for Arduino,...

    Hi, I wrote an SBUS library for Arduino, including Teensy 4.x, maybe that will help?
    https://github.com/bolderflight/sbus-arduino/
  22. Thanks, that works for me on Teensy 4.1: ...

    Thanks, that works for me on Teensy 4.1:


    Teensy Loader, Command Line, Version 2.2
    Read "spi_example.hex": 18396 bytes, 0.9% usage
    Soft reboot performed
    Waiting for Teensy device...
    (hint:...
  23. Oh nevermind, I was testing with a Teensy 3.6,...

    Oh nevermind, I was testing with a Teensy 3.6, since that was what I happened to be working on. Tried again with the Teensy 4.1 and I can repeat the issue - no soft reboot working for me either.
    ...
  24. I just checked my use case again. If I don't have...

    I just checked my use case again. If I don't have the Teensy plugged in and powered on, my readout is:


    Teensy Loader, Command Line, Version 2.1
    Read "spi_example.hex": 15572 bytes, 1.5% usage...
  25. We'll need more details - is it hanging on ...

    We'll need more details - is it hanging on


    Waiting for Teensy device...
    (hint: press the reset button)


    Or is there some other problem? Have you installed udev rules? Is the teensy...
  26. Yes, use the teensy_loader_cli with the '-s'...

    Yes, use the teensy_loader_cli with the '-s' option.

    See:
    https://www.pjrc.com/teensy/loader_cli.html
  27. Replies
    1
    Views
    162

    Hi Robert, Check out this thread:...

    Hi Robert,

    Check out this thread:
    https://forum.pjrc.com/threads/54114-Extended-Pin-Numbering

    It's about a custom 3.6 and using the additional pins. In short, you may need to update...
  28. Replies
    19
    Views
    815

    Thanks! I actually meant air pressure as a...

    Thanks! I actually meant air pressure as a replacement for the BME280.

    Regarding staging, when I was working as a researcher at NASA AFRC, we had a close-call where the Flight Termination System...
  29. Replies
    19
    Views
    815

    Also, if you have good experiences with a...

    Also, if you have good experiences with a different static pressure transducer, please let me know.
  30. Replies
    19
    Views
    815

    So far our Flight Control Systems have only used...

    So far our Flight Control Systems have only used the Teensy 3.6. I do see noise on the BME280 if there is any sort of transmitter on the vehicle. Haven't had any issues with SD or any of the buses....
  31. I could be wrong, it's been a few years since I...

    I could be wrong, it's been a few years since I messed around with the Teensy 3.6 startup code, just one of the things that is sticking out at me on a quick glance.
  32. I don't see a crystal on the RTC. On Teensy 3.5 /...

    I don't see a crystal on the RTC. On Teensy 3.5 / 3.6 it's included on the board - I wonder if the startup code should be edited for it?
  33. Replies
    888
    Views
    30,316

    Paul, is the board designed to a temperature...

    Paul, is the board designed to a temperature range (i.e. -40 to +80)? Thinking that this could be cost effective for a commercial product I'll be developing later this year.
  34. I use CMake for Teensy 3.x, 4.x, and LC:...

    I use CMake for Teensy 3.x, 4.x, and LC:
    https://github.com/bolderflight/core/

    Has 'hex' and 'upload' targets and uses the command line uploader for uploading to the Teensy. It's modified from...
  35. Thread: uBlox Library

    by brtaylor
    Replies
    127
    Views
    30,843

    My library works fine at receiving the high...

    My library works fine at receiving the high accuracy GNSS data that you'll get from applying CORS or RTK corrections. Be sure to download the latest from:...
  36. Replies
    1
    Views
    165

    You'll need the ground wire, only the power...

    You'll need the ground wire, only the power should be cut. Otherwise you can cut the trace on Teensy to separate VIN from VUSB and use a standard USB cable.
  37. Replies
    524
    Views
    67,530

    Ideal world we would have 3 layouts of each...

    Ideal world we would have 3 layouts of each teensy:
    1. Current Teensy breakout for solderless breadboarding
    2. MM for compact product integrations
    3. DDR2 SODIMM (i.e. Raspberry Pi Compute Module...
  38. Replies
    6
    Views
    349

    Not from PJRC and not my work, but this Teensy...

    Not from PJRC and not my work, but this Teensy 3.2 reference board clone has a BOM:
    https://github.com/thewknd/teensy-boards/tree/master/Teensy%203.2%20reference%20board%20clone

    I built it years...
  39. Is there a good definition of the protocol? All...

    Is there a good definition of the protocol? All I've found is forum and github discussions - enough to understand the approach, but not enough to write a driver.
  40. Thanks! It seems pretty daunting and I'm not sure...

    Thanks! It seems pretty daunting and I'm not sure if it'll be successful. Probably faster to just make another GCS from scratch.
  41. I just thought I would add that looking at the...

    I just thought I would add that looking at the bits/second isn't the best measure because they aren't spread evenly over the time interval. I'm running this on a control system running at 50 Hz. If...
  42. I send the heartbeat at 1 Hz, the GNSS data as I...

    I send the heartbeat at 1 Hz, the GNSS data as I get new data from the receiver at 5 Hz, and the attitude, speed and heading, and battery voltage at 25 Hz.

    The packet sizes are:
    * Heartbeat: 9...
  43. It's a very small piece of code, but I wonder if...

    It's a very small piece of code, but I wonder if this would help:
    https://gitlab.com/bolderflight/software/mavlink

    I wrapped a class around a few of the mavlink packets I use for our flight...
  44. Replies
    76
    Views
    2,983

    Works great Paul.

    Works great Paul.
  45. Yes, it can be done. I use the -s option on my...

    Yes, it can be done. I use the -s option on my linux boxes that only have one Teensy connected, that often means that I don't need to press the program button or use a GPIO to "press" it.
  46. Replies
    76
    Views
    2,983

    Hi Paul, Can confirm the sha1sum and Teensy...

    Hi Paul,

    Can confirm the sha1sum and Teensy Loader 1.54-beta6b

    23737
  47. Replies
    76
    Views
    2,983

    Ditto, it doesn't fix it on my Ubuntu 20.04...

    Ditto, it doesn't fix it on my Ubuntu 20.04 either.
  48. Replies
    10
    Views
    528

    Just to be clear, IMUs don't measure angles, they...

    Just to be clear, IMUs don't measure angles, they measure angular rates (i.e. deg/s), acceleration (m/s/s) and sometimes magnetic field (uT). You'll need a filter to estimate the attitude from those...
  49. Replies
    10
    Views
    528

    MPU9250 is way faster on SPI than I2C. It's been...

    MPU9250 is way faster on SPI than I2C. It's been several years since I tested the performance, but if I recall correctly it's something around 22 us to get data from one IMU on SPI and around 200 us...
  50. Replies
    10
    Views
    528

    Which IMUs? EDIT: nevermind, saw the code...

    Which IMUs?

    EDIT: nevermind, saw the code snippet of LSM9DS1.

    I haven't worked with that IMU, but just based off the fact that SPI is available, my initial reaction would be to go with SPI....
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4