PaulStoffregen

Latest activity Postings About

    • PaulStoffregen
      Somehow this thread was on my list of issues to investigate. Looks like the Arduino developers updated Arduino CLI, so this is no longer a problem? I can confirm the code inside teensy_post_compile does indeed look for ARDUINO_USER_AGENT to...
    • PaulStoffregen
      Watchdog timers are difficult. Or said another way, they're easy to use ineffectively. If you're going to reset the watchdog inside a tight loop, at the very least you might consider adding a count variable to limit the number of times you're...
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensy 4.x Unique_ID.
      The flash memory chip also has a unique 64 bit number. It's documented on page 66 (67th page of the PDF) of this datasheet: https://www.pjrc.com/teensy/winbond_w25q16jvuxim.pdf Here's code to read it. void setup() { while (!Serial) ; //...
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #3.
      Exciting development (well, at least I'm excited...) dankeboy36 sent a pull request which brings the GUI into the IDE 2 sidebar.
      • 1728900558229.png
    • PaulStoffregen
      @joepasquariello deserves the credit on this one. Glad it's working now.
    • PaulStoffregen
      FWIW, I recently replaced the Pi 4 and Jetson TX2 which had been my build machines for the 32 and 64 bit ARM Linux software with a pair of Raspberry Pi 5s with this NVME SSD board and Samsung 990 Pro SSDs and this 2.5gb ethernet adapter rather...
    • PaulStoffregen
      IntervalTimer documentation is here: https://www.pjrc.com/teensy/td_timing_IntervalTimer.html
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #3.
      Is Serial Monitor open? A bug in Arduino CLI was recently found, where having the serial monitor open causes something to get stuck, stalling any downloads. Just closing serial monitor lets the downloads run again. We'll probably get IDE 2.3.4...
    • PaulStoffregen
      Or Larry Bank should. The vast majority of compiler warnings my verify all libraries script finds are from his excellent performing but warning filled libraries. Those warnings in msg #15 all look like Larry's doing...
    • PaulStoffregen
      PaulStoffregen replied to the thread USB extender?.
      There are a theoretically infinite number of ways, if you create them. I wonder if a library like SimpleFTPServer could be ported to use @shawn's QNEthernet library?
    • PaulStoffregen
      1.60-beta3 is probably a good place to be. It has a number of fixes for issues discovered in prior versions (those mostly came in 1.60-beta1), but so far most new work has focused on updating the PC side software (MacOS version in particular)...
    • PaulStoffregen
      Haven't seen an issue like that with any Teensy boards.
    • PaulStoffregen
      PaulStoffregen replied to the thread USB extender?.
      Maybe you could buy the CH315 chip here, if you only need small quantity. https://www.lcsc.com/product-detail/USB-Converters_WCH-Jiangsu-Qin-Heng-CH315G_C92287.html Looks like you can get English documentation here...
    • PaulStoffregen
      I tried it on Teensy 3.2 using Arduino IDE 2.3.3 and latest 1.60 beta 3, running on Linux x86-64. Also prints 7.
      • 1728706458926.png
    • PaulStoffregen
      Try running teensy_discovery in a terminal or command prompt window. Find it in the package Arduino IDE installed (~/Libraries/Arduino15 on MacOS, .aduino15 on Linux, {AppData}/Local/Arduino15 on Windows). Once it's running, type START_SYNC...
    • PaulStoffregen
      Which Teensy are you using? Which pins is the chip connected to? And which library or code are you using to run this test?
    • PaulStoffregen
      That is very odd, because the fuse write sketch generated by teensy_secure doesn't attempt to include EEPROM.h. In fact, it has no #include lines at all. Maybe try creating a fresh copy of the fuse write sketch. You would need to use Arduino...
    • PaulStoffregen
      Hi, I am just bumping this thread to let you know that I updated the library (by merging the "improved-drawing-primitives" branch)... There are a bunch of new features: Rewrote most of the 2D drawing methods (implying some API breaking...
    • PaulStoffregen
      If "possible" means any software exists to do so, then the answer is no. Or at least as far as I know, nobody has written such software. I definitely have not. Maybe it could theoretically be done with a lot of programming work, using the USB...
    • PaulStoffregen
      Good, you got Terminal running. In Terminal, type these commands: cd Downloads ls -l chmod 755 TeensyduinoInstall.linuxaarch64 ./TeensyduinoInstall.linuxaarch64 If the last command gives an error about wrong file type or file not found, then...
    • PaulStoffregen
      Not using Teensy?
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #3.
      Try selecting Teensy from the drop-down list of detected boards. Does that make it start to work?
    • PaulStoffregen
      Do you know how to open the Terminal application?
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #3.
      When I tested, after installing 0.60.3 and restarting the IDE, first attempt to use the Ctrl-Shift-P immediately after restart IDE to run the security commands gives errors about Teensy not installed. But if I select Teensy from the drop-down...
    • PaulStoffregen
      As with any 2 program running on any operating system, your ability to save a file in the first program and successfully use it from another depends on observing where the first program saved the file and being able to instruct the second program...
      • 1728504907544.png
    • PaulStoffregen
      PaulStoffregen replied to the thread RGBW and Teensy 4.1.
      Both OctoWS2811 and WS2812Serial support RGBW, and are non-blocking.
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #3.
      Sadly, the Arduino developers have not (yet) given a way for plugins to appear in the Tools menu in IDE 2. It needs to be run using Ctrl-Shift-P. Instructions here: https://github.com/PaulStoffregen/secure_plugin_vscode/blob/main/README.md
    • PaulStoffregen
      The I2S hardware is very configurable, and so is the PLL which generates the main audio clock. You'll need to read the reference manual and probably do some fiddling to get the bitrate you want. But the I2S hardware definitely can do 11.3...
    • PaulStoffregen
      Don't go down the bitbang path. At nearly 3 MHz, you'll consume the CPU, especially if entering and exiting an interrupt at that rate. You will need as much CPU time as you can get for 3 filters! Your best path is to use the I2S hardware...
    • PaulStoffregen
      On the Teensy 4.1 page, scroll down to Technical Information and look for the RoHS and REACH documents.
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #2.
      Looking for feedback from MacOS users, especially if using Big Sur or Catalina. Here's the file. It's not Apple Notarized, so hold Control while clicking and click Open to run it. https://www.pjrc.com/tmp/teensy_toolbar_test.zip Which of...
      • teensy_toolbar_test.png
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #2.
      Not pretty, but probably the best I can do on MacOS without a major rewrite of Teensy Loader. For now I'm going to go with this toolbar if GetOSMajorVersion() >= 14. Hopefully we can find someone with Ventura (version 13) willing to test...
      • 1728386230238.png
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #2.
      I'm working on a solution for the missing toolbar on newer MacOS. It's working in a mock-up. Not pretty, but working. @shawn Any idea which version of MacOS introduced this toolbar change? Looks like wxPlatformInfo::GetOSMajorVersion() works...
    • PaulStoffregen
      The DMA hardware uses a 15 bit number for total count, where 0 actually means zero. So the maximum number of bits is 32767. To transmit to 1024 RGBW LEDs requiring 32 bits each, you would need to configure for 32768.
    • PaulStoffregen
      That feature is definitely not supported. The way it would work, if we supported it, is your key would be stored in special RAM which requires continuous power from VBAT. If the battery dies or becomes disconnected, the key is lost. Likewise...
    • PaulStoffregen
      If you distribute unlocked hardware programmed with encrypted code, there are multiple ways an attacker could capture a decrypted copy of your code, without needing your key to do so. Lockable Teensy is only secure when locked. Capturing your...
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #2.
      I found a fix for the toolbar icons on Windows. But the missing toolbar on MacOS is a hard problem. Looks like Apple wants toolbars to appear on the right side of the title bar in new versions of MacOS. That's just not going to work for the...
      • 1728298741776.png
    • PaulStoffregen
      Look, I know you've had a rough and frustrating experience, and right now you're probably not feeling very confident in the tools and compiler. But it really is working properly.
    • PaulStoffregen
      To explain what went wrong with the code in msg #19, is also a simple mistake in your code. Arduino IDE and the compiler are working exactly as they should. The problem is the close bracket that ends your setup() function went away. This is...
      • 1728075370464.png
    • PaulStoffregen
      It is indeed something very simple, exactly has jmarsh explained. Your variables "velocity" and "note" are local to only the setup() function. Using them in the loop function is an error. You need to create the code like this: int velocity =...
      • 1728074788785.png
    • PaulStoffregen
      In Arduino IDE, click Ctrl-A to select all code, and Ctrl-V to copy to clipboard. Then in the forum on your browser, click this button. In the popup box, press Ctrl-C to copy your code. Arduino IDE can open more than 1 file. If you have...
      • 1728063396284.png
    • PaulStoffregen
      That is very strange. We don't have any "Blink.cc" file in the core library code, which would be installed at AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\cores\teensy4/Blink.cc. Are you using Arduino IDE 2.3.3? Or another...
    • PaulStoffregen
      I'm going to go with answers: no and probably not, but maybe. First, no, chips added to the bottom of Teensy 4.1 aren't ever accessed as EEPROM. They are used with LittleFS as a filesystem. Maybe that can be useful, but if you're expecting it...
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensy.exe icon.
      Just to add a bit more info, Teensy Loader is built using wxwidgets for all the GUI stuff. Internally these buttons are created from PNG files that get built into the code and converted to a wxwidgets abstraction class for images, and then used...
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensy.exe icon.
      It's on my list. So is missing toolbar on MacOS, also mentioned the the beta test thread. Probably not technically the same issue, but both likely to be addressed looking into the toolbar details (which really haven't changed since the very...
    • PaulStoffregen
      These section type conflict errors happen for a couple reasons. Can't see enough of your code to say why. Briefly, #1 use of PROGMEM on functions (it's meant for data) or FLASHMEM on data (it's meant for functions). It's kind of a silly...
    • PaulStoffregen
      SDA and SCL are supposed to connect directly. The resistors are each supposed to connect between 1 of the signals and +3.3V. This photo looks like the resistors are connected between the display and Teensy, not connected as pullup resistors.
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #2.
      Sorry, didn't see this question earlier. I mostly started from the conversation on issue #58, especially this message from Sep 20, 2023. which explains Arduino IDE 2.x is based on Theia is really just VS code internally. These are the links...
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensy and Raspberry pi 5.
      What does "console" mean? Are you talking about a gaming machine like Microsoft Xbox or Sony Playstation or Nintendo Switch?
    • PaulStoffregen
      PaulStoffregen replied to the thread Teensyduino 1.60 Beta #2.
      Another exciting moment on my 4th day of Typescript programming! Actually generated the fuse write code in IDE 2.3.2.
      • 1727858038118.png
  • Loading…
  • Loading…
Back
Top