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...
Exciting moment here, using dankeboy36's suggestion, I was able to get a new window to open with code from a temporary folder! Arduino IDE is able to compile and upload it (unlike my failed attempt with vscode.TextDocumentContentProvider).
Now...
I'm going to try that suggestion from the github conversation. Looks promising...
Really wanted to try it late last night, but got distracted trying to get the forum responding.
It's really not a lot of total data transfer. The units are incorrect. Numbers at the last 2 lines are total bytes, not per second.
8.7 GB over 24 hours, if it repeated every day, would add up to only 1.3% of the server's 20TB monthly...
Difficult to tell if this is a malicious attack or a very badly designed bot. It's utilizing tens of thousands of distinct IP numbers, so sure seems like someone knows they're up to no good. The accesses keep coming, but the pace seems to have...
Looks like someone may be running a distributed denial of service attack. Or if there's some other nefarious purpose, difficult to know what it is.
I cobbled together a couple fail2ban filters which are lightening the load, but the server is...
Well, after spending all weekend learning Typescript, I started a VS code extension which can do the key generation for Lockable Teensy. Here's a screenshot.
In anyone's curious, here's the source code so far...
Hmm.... thinking about this a bit more, I wonder if there's a way to use Apache's mod_rewrite to "fix" these bad URLs?
Obviously we can't do anything about the human errors where Teensy's URL gets appended to some other URL, but these cases...
Also carefully check Settings for the URL format. If you have any other boards than Teensy, for the sake of troubleshooting copy the whole thing to clipboard and paste into a text file for safe keeping. Then delete it all, and starting with a...
Did you try this beta version?
I personally tested it on a M3 Macbook Air with MacOS 14.5 (Sonoma) which has Rosetta 2 installed, and also on a M2 Mac Mini with MacOS 15 (Sequoia) which lacks Rosetta. Everything worked fine on a M3 machine. It...
Use File > Preferences to edit the URL. This beta has its own URL separate from the normal one.
Most future betas will have their own URL, partly because it's the only way to test the port discovery and serial monitor utilities, partly because...
This message is supposed always appear when you upload with "Serial ports" and never appear when uploading with "teensy ports".
It was sometimes appearing even when "teensy ports" was used. There are many cases depending on which version of...
I updated my build machines for all platforms.
MacOS is the biggest change. If you have a Mac, and especially any older version of MacOS, please give this a try. In theory it should run on all MacOS versions Arduino IDE 2.3.3 supports. In...
I kinda doubt anyone outside NXP (formerly Freescale) could really answer anything other than #3.
For some speculation, reducing the clock speed should give you less internal heating. But it's probably only a small linear gain, because the MK64...