How to configure EEPROM for custom Teensy 3.1 PCB ?

Status
Not open for further replies.

zachtos

Well-known member
I am working on a custom Teensy 3.1 PCB. I am told that I may need to configure a blank MK20DX256 chip. The FlexNVM set is default set in D-Flash mode (32k flash same as program flash?). Does Teensyduino configure the chip for EEPROM mode or for D-flash mode each time I load an application?
 
AFAIK, there is nothing to configure or do, as long as you are using Teensyduino with the bootloader chip (at least in my experience of making multiple custom PCBs with Pauls Mini54 and the MK20xxxx).

FWIW, given that the bootloader chip and the details of its operation are the only things that stand between Paul's business model and off-shore cloners having a field day, I would not necessarily expect an answer to your question other than 'use the bootloader chip and all will be fine'.
 
Just take a look at the code for eeprom (eeprom.h, i think)
If there's nothing, the manual has all the info you need to set FlexRAM to eeprom-mode.
 
Status
Not open for further replies.
Back
Top