Code security on Teensy 4.0

clivets

Member
I am using Visual Micro on Arduino 2 IDE.
I have a lockable Teensy 4.0.
I have generated a key and verified it.
At this point my program runs ok.
When I select Fuse Sketch and build it I get an error on the line
#include <EEPROM.h> saying it cannot open the source file EEPROM.h, Why would that be?
 
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 1.8.19 with Teensyduino 1.59, or on Arduino 2.3.3 you can do it with 1.60-beta3 with Ctrl-Shift-P and select "Teensy Secure: Step 1 - Fuse Write Sketch" from the long list of commands.
 
Back
Top