Hi,
TeensyTransfer grows, and i open this thread for further discussion and as a reference or "howto". I'll edit this inital post when changes or updates are made.
TeensyTransfer is a utility which runs on Linux, Windows, and MAC. There is no graphical user interface, and it works on the commandline.
Currently, it is able to access the Teensy-internal EEPROM, a serial connected SPI-FLASH, or a parallel connected SPI-Flash.
https://github.com/FrankBoesing/TeensyTransfer
Please switch to "Raw Hid" usb Mode (Arduino Menu) and run the example-code on the Teensy.
The "extras" folder contains executables for Windows, Linux and MAC.
- Version for Windows is inside *.zip
- Version for Linux is inside *.gz
- Version for MAC is inside *.mac.zip
1. Teensy
Print some info:
Example:
Model : Teensy 3.1/3.2 (MK20DX256)
Serial: 156351
MAC : 04:E9:E5:02:62:BF
EEPROM: 2048 Bytes
F_CPU : 96000000 Hz
F_PLL : 96000000 Hz
F_BUS : 48000000 Hz
F_MEM : 24000000 Hz
2. Teensy internal EEPROM
There are two available commands:
Write file to internal eeprom:
The contents of the file with the name "filename" are stored to the Teensy eeprom
Read file from internal eeprom :
The contents of the eeprom are stroed to the file "file"
3. SPI Flash (Prop Shield, Audio Shield,....)
List files of serial flash:
Write file to serial flash :
Read file from serial flash :
Delete file from serial flash :
Erase chip :
Info:
Example:
ID : EF 40 17
Serial: D1 65 38 25 47 2C 19 2F
Size : 8388608 Bytes
4. Parallel connected SPI-Flash (Winbond only)
This requires a special connection to the Teensy.
Furthermore, you need the additional ParallelFlash library:
https://github.com/FrankBoesing/ParallelFlash
The connections are shown in the readme.
Then, enable this line in TeensyTransfer.h:
//#define _HAVE_PARFLASH //Parallel Flash
List files:
Write file to parallel connected spi-flash :
Read file from parallel connected spi-flash :
Delete file from parallel connected spi-flash :
Erase chip :
Info:
5. ... ? SD? (not implemented, todo)
TeensyTransfer grows, and i open this thread for further discussion and as a reference or "howto". I'll edit this inital post when changes or updates are made.
TeensyTransfer is a utility which runs on Linux, Windows, and MAC. There is no graphical user interface, and it works on the commandline.
Currently, it is able to access the Teensy-internal EEPROM, a serial connected SPI-FLASH, or a parallel connected SPI-Flash.
https://github.com/FrankBoesing/TeensyTransfer
Please switch to "Raw Hid" usb Mode (Arduino Menu) and run the example-code on the Teensy.
The "extras" folder contains executables for Windows, Linux and MAC.
- Version for Windows is inside *.zip
- Version for Linux is inside *.gz
- Version for MAC is inside *.mac.zip
1. Teensy
Print some info:
Code:
teensytransfer -i teensy
Example:
Model : Teensy 3.1/3.2 (MK20DX256)
Serial: 156351
MAC : 04:E9:E5:02:62:BF
EEPROM: 2048 Bytes
F_CPU : 96000000 Hz
F_PLL : 96000000 Hz
F_BUS : 48000000 Hz
F_MEM : 24000000 Hz
2. Teensy internal EEPROM
There are two available commands:
Write file to internal eeprom:
Code:
teensytransfer -w eeprom filename
Read file from internal eeprom :
Code:
teensytransfer -r eeprom > file
3. SPI Flash (Prop Shield, Audio Shield,....)
List files of serial flash:
Code:
teensytransfer -l
Write file to serial flash :
Code:
teensytransfer -w filename
Read file from serial flash :
Code:
teensytransfer -r filename > file
Delete file from serial flash :
Code:
teensytransfer -d filename
Erase chip :
Code:
teensytransfer -e
Info:
Code:
teensytransfer -i
Example:
ID : EF 40 17
Serial: D1 65 38 25 47 2C 19 2F
Size : 8388608 Bytes
4. Parallel connected SPI-Flash (Winbond only)
This requires a special connection to the Teensy.
Furthermore, you need the additional ParallelFlash library:
https://github.com/FrankBoesing/ParallelFlash
The connections are shown in the readme.
Then, enable this line in TeensyTransfer.h:
//#define _HAVE_PARFLASH //Parallel Flash
List files:
Code:
teensytransfer -l parflash
Write file to parallel connected spi-flash :
Code:
teensytransfer -w parflash filename
Read file from parallel connected spi-flash :
Code:
teensytransfer -r parflash filename > file
Delete file from parallel connected spi-flash :
Code:
teensytransfer -d parflash filename
Erase chip :
Code:
teensytransfer -e parflash
Info:
Code:
teensytransfer -i parflash
5. ... ? SD? (not implemented, todo)
Last edited: