In searching and reading the old thread it wasn't clearly noted the same works - except in ref to a T_3.5.
In spite of the name : cores\teensy3\mk20dx128.c
That file has code and #ifdef for all the kinetis ( T_3.x ) family of MCU's and that applies to them all as KINETISK and even the T_LC as KINETISL
The T_3.6 in that file is for example :: #if defined(__MK66FX1M0__)
If that is indeed the case as it seems then an update to this comment block would be appropriate:
Code:
// Flash Security Setting. On Teensy 3.2, you can lock the MK20 chip to prevent
// anyone from reading your code. You CAN still reprogram your Teensy while
// security is set, but the bootloader will be unable to respond to auto-reboot
// requests from Arduino. Pressing the program button will cause a full chip
// erase to gain access, because the bootloader chip is locked out. Normally,
// erase occurs when uploading begins, so if you press the Program button
// accidentally, simply power cycling will run your program again. When
// security is locked, any Program button press causes immediate full erase.
// Special care must be used with the Program button, because it must be made
// accessible to initiate reprogramming, but it must not be accidentally
// pressed when Teensy Loader is not being used to reprogram. To set lock the
// security change this to 0xDC. Teensy 3.0 and 3.1 do not support security lock.
#define FSEC 0xDE