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...
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...
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) ; //...
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...
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...
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...
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?
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)...
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...
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...
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...
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...
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...
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...
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...
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...
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
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...
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...
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...
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...
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...
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.
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...
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...
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...
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.
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...
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 =...
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...
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...
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...
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...
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...
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...
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.
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...