S
Reaction score
92

Latest activity Postings About

    • S
      Yes. See https://github.com/ssilverman/QNEthernet/blob/master/README.md#ip-header-values-1.
    • S
      shawn replied to the thread GPIO IRQ Priority on Teensy 4.1.
      You’d need to change that core file if you want the built-in pin access functions to work correctly. Or, if you didn’t want to modify the core at all, you could just copy the functionality from the pin functions you need into your own functions...
    • S
      shawn replied to the thread GPIO IRQ Priority on Teensy 4.1.
      I believe you don’t need to change startup.c; just write the registers yourself, say, in setup(). Then there’s no reliance on a modified SDK.
    • S
      shawn replied to the thread Ethernet 2.0.2 and flush().
      Which headers are you including? I’m asking because your capitalization of “Native Ethernet” suggests to me that you’re also trying to use the NativeEthernet library, and your mention of the Ethernet library suggests you’re trying to use that as...
    • S
      shawn replied to the thread Ethernet 2.0.2 and flush().
      Is this a Teensy 4 or 3 or…? I tested the QNEthernet library to work with the W5500 chip, if you’d like to give that a try instead of the “Ethernet” library. You’ll need to change the driver in qnethernet_opts.h by uncommenting the...
    • S
      I pushed a new QNEthernet branch, "teensymm", that contains a driver for the hardware Paul mentioned in this thread. I consider it still experimental until the hardware design is more decided-upon. It should just work out of the box with all the...
    • S
      shawn reacted to PaulStoffregen's post in the thread Leftover Teensy Stuff Sale with Like Like.
      Next week PJRC will have a Leftover Teensy Stuff sale, now that SparkFun is manufacturing all Teensy boards. Teensy 4.0 with pins soldered crooked (but fully functional) at half price will come with a free grab bag of other leftover stuff. USA...
    • S
      Couple of points: 1. You don’t need the code that uses the kTXPin; you can remove or comment it out. That’s meant for enabling the transmitter if the hardware needs that. It looks like there’s no “enable transmitter” pin on the Grove device; it’s...
    • S
      shawn replied to the thread t4.1 detect reboot type.
      One of my current projects does logging over Serial, but if you connect via TCP to a specific port, it redirects stdout to the TCP connection until disconnect, at which point stdout goes back to Serial. Just some thoughts. I also use web pages...
    • S
      shawn replied to the thread t4.1 detect reboot type.
      What about sending some logging data over Ethernet? I’m responding to the fact that you don’t want your laptop nearby. The same restrictions apply about sending data over a transport during an ISR. (I.e. don’t — buffer it somehow and send it in a...
    • S
      shawn reacted to clinker8's post in the thread t4.1 detect reboot type with Like Like.
      Even if my logic is faulty, I may have stumbled on an answer. When I searched the objdump file, I see that the closest human readable descriptor indicates it may be related to _svfprintf_r. Whether that is true or not, it triggered a thought...
    • S
      shawn replied to the thread SparkFun To Manufacture Teensy.
      Thanks, Ken; I just ordered some. I'm still interested in learning how to obtain more of these, or if they were made custom for PJRC. (@PaulStoffregen)
    • S
      shawn replied to the thread SparkFun To Manufacture Teensy.
      @PaulStoffregen do you know of a place online where I can buy those double-insulator pins? Or were those custom made for you or something?
    • S
      shawn replied to the thread SparkFun To Manufacture Teensy.
      I like the double insulator pins too. I hope they become available again.
    • S
      shawn reacted to phillxfx's post in the thread SparkFun To Manufacture Teensy with Like Like.
      Hi Paul, I'm planning to buy a Teensy 4.1 and OctoWS2811 Adapter. I've noticed that the double insulator header pins are out of stock on your website, and not available from Sparkfun. They seem to be unique to PJRC (I've searched on Google and...
    • S
      shawn reacted to CeKl's post in the thread NativeEthernet with x.509 cert with Like Like.
      Hi @shawn and @defragster Thank you very much! I reinstalled QNEthernet from the tlsclient branch and MbedTLS in 3.6.3. With the config from the MbedTLS Demo, it now works perfectly fine for me.
    • S
      shawn replied to the thread NativeEthernet with x.509 cert.
      I updated the Mbed TLS install section of the Readme (tlsclient QNEthernet branch). You need branch v3.6.3 of mbedtls. There's no config.h; it's mbedtls_config.h.
    • S
      shawn replied to the thread NativeEthernet with x.509 cert.
      Hmm. Let me come up with a set of instructions as if I was doing this from scratch. Perhaps there’s a step I don’t realize is missing. It won’t be right away, however. Next time I’m near my computational instruments. I might be incorrect, but...
    • S
      shawn replied to the thread NativeEthernet with x.509 cert.
      Did you copy the config from the MbedTLS example into your MbedTLS install?
    • S
      shawn replied to the thread NativeEthernet with x.509 cert.
      To use MbedTLSClient, you need to use the tlsclient branch of the QNEthernet library. Is this the version you’re using?
    • S
      The Teensy’s MCU has four built-in quadrature encoders/decoders that may be useful to you. That could take some interrupt load off.
    • S
      shawn reacted to Dogbone06's post in the thread SparkFun To Manufacture Teensy with Like Like.
      if this is true or not is something I have to stay out of. But I’ll tell you this: SparkFun founder Nathan Seidle is a great dude. I’ve had a lot of direct contact with him. Trust me when I say that he’s invested directly in electronic design...
    • S
      shawn reacted to ariesboy571's post in the thread SparkFun To Manufacture Teensy with Angry Angry.
      It is with dismay that I see this news, just as I was about to launch a product line, based on the Teensy hardware! My relationship with SparkFun is extremely negative, to say the least; five years ago, my (crooked) business partner, without my...
    • S
      Just to be a bit more specific, the bootloader looks at the flash chip's response to the JEDEC ID (0x9F) command. Both the flash memory size and which Teensy model is learned based upon that response. I need to make a few other edits to those...
    • S
      Id probably add a new section right under "Supported Chips" titled "Determination of Teensy Variant" or something that states that the bootloader is responsible for reporting the variant of the Teensy and it does so by an introspection of the...
    • S
      I believe all custom Teensys are lockable-capable.
    • S
      Thanks, yeah, I noticed. At work, I have been testing QNEthernet, and we are planning on dumping WebSockets (sort of the wrong option to begin with) for our robot, and switching to a UDP protocol. But when I see bugs, it's hard for me not to...
    • S
      shawn reacted to BriComp's post in the thread NativeEthernet and WebSocket with Like Like.
      No, but you can install it via the Arduino IDE Library Manager or alternatively from GitHub here.
    • S
      I’m curious how this does step debugging. Does it use that software debugging library by @ftrias? Update: I noticed the “breakpoints” link and discovered more information via that location.
    • S
      I’m glad you got it working! :) I don’t love much of the Arduino-style coding (eg. badly-initialized global objects, and global variables in general) and Arduino-provided functionality. I personally do my best to avoid it if I can, and only use...
    • S
      What happens if you use read(buf, size) instead of readBytes() — and also managing when to repeat the read() call if it reads less than expected (or timeout)? Also, what happens when you check the value returned from readBytes()? That would...
    • S
      You could also use the EthernetFrame interface if you just want to work with raw frames. No need to dive into the driver code for this.
    • S
      shawn replied to the thread C++ 20 support on the Teensy.
      Did you change to use -std=c++20 or -std=gnu++20? If the former, try the latter. I’m able to compile Teensy projects just fine as C++20 projects.
    • S
      shawn reacted to snowsh's post in the thread The Machine with Love Love.
      Today I ordered the first batch of PCBs for my project "The Machine". It is a sequencer unlike any other. Until I have proper videos made to explain it, I have just made public my development videos. Take a look...
    • S
      @theboot900 I have posted a link to a video of it in this post: https://forum.pjrc.com/index.php?threads/roguelike-roguelite-dungeon-crawler-using-the-teensy-4-1.76690/
    • S
      A few months ago, I started on making a project that I wanted to have near-infinite replayability. This project has turned into a sort of roguelike dungeon crawler that has real-time combat and an inventory/items system. The hardware so far is...
    • S
      Update on this: It turns out it is certainly possible to create a rougelite/roguelike dungeon crawler on a teensy 4.1! I have been making some really good progress on this project- I'm pretty sure it's gonna turn out great. For anyone who's...
    • S
      Of course you can. Back in the day graphical adventure games used to run on 8mhz machines, sometimes taking well over 10 clock cycles per instruction. A teensy 4 runs at 600mhz! It can execute 2 instructions per clock cycles I love seeing...
    • S
      shawn reacted to PaulStoffregen's post in the thread SparkFun To Manufacture Teensy with Like Like.
      Yes, that's my hope... especially coding time! I'm not ready to think about any new products until Sparkfun has been shipping Teensy 4.0 and Teensy 4.1 for a while. We've been pouring a lot of work into this transition for the last few months...
    • S
      This is to announce a new instrumentation board for Teensy 4.x (and other Arduino type boards with SPI interfaces). This is an instrumentation amplifier input board that can provide high bandwidth measurements for a high impedance source. The...
    • S
      This is why it's always wise explain the context of your questions. If you just ask a narrowly focused question about speed, you'll (probably) miss out regarding answers like hardware serial simply not being meant for many Mbit/sec speed data...
    • S
      To add more details, in the QNEthernet library, there are 5 frame buffers for RX and TX, and each buffer is 1536 bytes. I haven’t done any tuning for that number (5).
    • S
      I looked into the folder where all the platformio libraries are located for teensy boards, and replaced it with the one from github, things are working now, thanks for the insight @shawn. Now this is working for all my projects.
    • S
      I think you are right, If I paste the FASTCRC library, downloading directly from github, to the lib folder in the platformio project, it works fine and the function parameters seems to match -
    • S
      My first guess is that they’re probably using different libraries.
    • S
      Where are you seeing size_t being equivalent to a uint16_t?
    • S
      I’d like to see your platformio.ini file. Size_t does not resolve to uint16_t with PIO’s Teensyduino.
    • S
      shawn replied to the thread IPv6 with Teensy 4.1.
      I’ve got a build of the QNEthernet library that works with IPv6, but I haven’t released it publicly; I consider the API still experimental. But, in short, yes, it’s possible.
    • S
      shawn replied to the thread Fast debounce needed.
      This is my favourite approach (parts 1 & 2): https://hackaday.com/2015/12/09/embed-with-elliot-debounce-your-noisy-buttons-part-i/ https://hackaday.com/2015/12/10/embed-with-elliot-debounce-your-noisy-buttons-part-ii/
    • S
      shawn reacted to kevin42's post in the thread CAN/Ethernet Conflicts with Like Like.
      Yes, thank you. It is working well with QNEthernet. I appreciate the help!
  • Loading…
  • Loading…
Back
Top